public class ToolStripItemTextRenderEventArgs extends ToolStripItemRenderEventArgs
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripItemTextRenderEventArgs
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.ToolStripItemTextRenderEventArgs
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripItemTextRenderEventArgs() |
ToolStripItemTextRenderEventArgs(Graphics g,
ToolStripItem item,
java.lang.String text,
Rectangle textRectangle,
Color textColor,
Font textFont,
ContentAlignment textAlign) |
ToolStripItemTextRenderEventArgs(Graphics g,
ToolStripItem item,
java.lang.String text,
Rectangle textRectangle,
Color textColor,
Font textFont,
TextFormatFlags format) |
ToolStripItemTextRenderEventArgs(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ToolStripItemTextRenderEventArgs |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripItemTextRenderEventArgs, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getText() |
Color |
getTextColor() |
ToolStripTextDirection |
getTextDirection() |
Font |
getTextFont() |
TextFormatFlags |
getTextFormat() |
Rectangle |
getTextRectangle() |
void |
setJCOInstance(JCObject instance) |
void |
setText(java.lang.String Text) |
void |
setTextColor(Color TextColor) |
void |
setTextDirection(ToolStripTextDirection TextDirection) |
void |
setTextFont(Font TextFont) |
void |
setTextFormat(TextFormatFlags TextFormat) |
void |
setTextRectangle(Rectangle TextRectangle) |
getGraphics, getItem, getToolStrippublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolStripItemTextRenderEventArgs()
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, java.lang.String text, Rectangle textRectangle, Color textColor, Font textFont, ContentAlignment textAlign) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, java.lang.String text, Rectangle textRectangle, Color textColor, Font textFont, TextFormatFlags format) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic ToolStripItemTextRenderEventArgs(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ToolStripItemTextRenderEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripItemTextRenderEventArgs, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripItemTextRenderEventArgs instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ToolStripItemRenderEventArgsString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ToolStripItemRenderEventArgsString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ToolStripItemRenderEventArgsObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ToolStripItemRenderEventArgsString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ToolStripItemRenderEventArgsJCType representing the CLR Type of the instantiated Classpublic java.lang.String getText()
throws java.lang.Throwable
java.lang.Throwablepublic Color getTextColor() throws java.lang.Throwable
java.lang.Throwablepublic ToolStripTextDirection getTextDirection() throws java.lang.Throwable
java.lang.Throwablepublic Font getTextFont() throws java.lang.Throwable
java.lang.Throwablepublic TextFormatFlags getTextFormat() throws java.lang.Throwable
java.lang.Throwablepublic Rectangle getTextRectangle() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ToolStripItemRenderEventArgspublic void setText(java.lang.String Text)
throws java.lang.Throwable
java.lang.Throwablepublic void setTextColor(Color TextColor) throws java.lang.Throwable
java.lang.Throwablepublic void setTextDirection(ToolStripTextDirection TextDirection) throws java.lang.Throwable
java.lang.Throwablepublic void setTextFont(Font TextFont) throws java.lang.Throwable
java.lang.Throwablepublic void setTextFormat(TextFormatFlags TextFormat) throws java.lang.Throwable
java.lang.Throwablepublic void setTextRectangle(Rectangle TextRectangle) throws java.lang.Throwable
java.lang.Throwable