public class ToolStripLabel extends ToolStripItem
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolStripLabel
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=8.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.ToolStripLabel
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripLabel()
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(Image image)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(java.lang.Object instance)
Internal constructor.
|
ToolStripLabel(java.lang.String text)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(java.lang.String text,
Image image)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(java.lang.String text,
Image image,
boolean isLink)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(java.lang.String text,
Image image,
boolean isLink,
EventHandler onClick)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripLabel(java.lang.String text,
Image image,
boolean isLink,
EventHandler onClick,
java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ToolStripLabel |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripLabel, a cast assert is made to check if types are compatible. |
Color |
getActiveLinkColor()
Gets the value of the .NET property ActiveLinkColor.
|
boolean |
getIsLink()
Gets the value of the .NET property IsLink.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
LinkBehavior |
getLinkBehavior()
Gets the value of the .NET property LinkBehavior.
|
Color |
getLinkColor()
Gets the value of the .NET property LinkColor.
|
boolean |
getLinkVisited()
Gets the value of the .NET property LinkVisited.
|
Color |
getVisitedLinkColor()
Gets the value of the .NET property VisitedLinkColor.
|
void |
setActiveLinkColor(Color ActiveLinkColor)
Sets the value of the .NET property ActiveLinkColor.
|
void |
setIsLink(boolean IsLink)
Sets the value of the .NET property IsLink.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLinkBehavior(LinkBehavior LinkBehavior)
Sets the value of the .NET property LinkBehavior.
|
void |
setLinkColor(Color LinkColor)
Sets the value of the .NET property LinkColor.
|
void |
setLinkVisited(boolean LinkVisited)
Sets the value of the .NET property LinkVisited.
|
void |
setVisitedLinkColor(Color VisitedLinkColor)
Sets the value of the .NET property VisitedLinkColor.
|
addAvailableChanged, addBackColorChanged, addClick, addCommandCanExecuteChanged, addCommandChanged, addCommandParameterChanged, addDisplayStyleChanged, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addTextChanged, addVisibleChanged, DoDragDrop, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAutoToolTip, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, getCommand, getCommandParameter, getContentRectangle, GetCurrentParent, getDisplayStyle, getDock, getDoubleClickEnabled, getEnabled, getFont, getForeColor, getHeight, getImage, getImageAlign, getImageIndex, getImageKey, getImageScaling, getImageTransparentColor, getIsDisposed, getIsOnDropDown, getIsOnOverflow, getMargin, getMergeAction, getMergeIndex, getName, getOverflow, getOwner, getOwnerItem, getPadding, getPlacement, GetPreferredSize, getPressed, getRightToLeft, getRightToLeftAutoMirrorImage, getSelected, getSize, getTag, getText, getTextAlign, getTextDirection, getTextImageRelation, getToolTipText, getVisible, getWidth, Invalidate, Invalidate, PerformClick, removeAvailableChanged, removeBackColorChanged, removeClick, removeCommandCanExecuteChanged, removeCommandChanged, removeCommandParameterChanged, removeDisplayStyleChanged, removeDoubleClick, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeForeColorChanged, removeGiveFeedback, removeLocationChanged, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeOwnerChanged, removePaint, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRightToLeftChanged, removeTextChanged, removeVisibleChanged, ResetBackColor, ResetDisplayStyle, ResetFont, ResetForeColor, ResetImage, ResetMargin, ResetPadding, ResetRightToLeft, ResetTextDirection, Select, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAlignment, setAllowDrop, setAnchor, setAutoSize, setAutoToolTip, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, setCommand, setCommandParameter, setDisplayStyle, setDock, setDoubleClickEnabled, setEnabled, setFont, setForeColor, setHeight, setImage, setImageAlign, setImageIndex, setImageKey, setImageScaling, setImageTransparentColor, setMargin, setMergeAction, setMergeIndex, setName, setOverflow, setOwner, setPadding, setRightToLeft, setRightToLeftAutoMirrorImage, setSize, setTag, setText, setTextAlign, setTextDirection, setTextImageRelation, setToolTipText, setVisible, setWidthaddBindingContextChanged, getBindingContext, getDataBindings, removeBindingContextChanged, setBindingContextaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolStripLabel()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException
java.lang.Throwable - if the .NET constructor failsInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic ToolStripLabel(Image image) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NotSupportedException, InvalidEnumArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException, InvalidAsynchronousStateException, MulticastNotSupportedException
image - the argument of type Imagejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripLabel(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic ToolStripLabel(java.lang.String text)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
OverflowException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripLabel(java.lang.String text,
Image image)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
OverflowException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type Imagejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripLabel(java.lang.String text,
Image image,
boolean isLink)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
OverflowException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type ImageisLink - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripLabel(java.lang.String text,
Image image,
boolean isLink,
EventHandler onClick)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
OverflowException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type ImageisLink - the argument of type booleanonClick - the argument of type EventHandlerjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripLabel(java.lang.String text,
Image image,
boolean isLink,
EventHandler onClick,
java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type ImageisLink - the argument of type booleanonClick - the argument of type EventHandlername - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic static ToolStripLabel cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripLabel, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripLabel instancejava.lang.Throwable - in case of error during cast operationpublic Color getActiveLinkColor() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, ExternalException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic boolean getIsLink()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ToolStripItempublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ToolStripItempublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ToolStripItemnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ToolStripItempublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ToolStripItempublic LinkBehavior getLinkBehavior() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getLinkColor() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, ExternalException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic boolean getLinkVisited()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getVisitedLinkColor() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, ExternalException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException
ActiveLinkColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setIsLink(boolean IsLink)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
NotSupportedException
IsLink - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ToolStripIteminstance - the new underlying objectpublic void setLinkBehavior(LinkBehavior LinkBehavior) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException
LinkBehavior - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setLinkColor(Color LinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException
LinkColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setLinkVisited(boolean LinkVisited)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
NotSupportedException
LinkVisited - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException
VisitedLinkColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it