Package system.windows.forms
Class ToolStripLabel
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.ToolStripItem
-
- system.windows.forms.ToolStripLabel
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDropTarget
- Direct Known Subclasses:
ToolStripStatusLabel
public class ToolStripLabel extends ToolStripItem
The base .NET class managing System.Windows.Forms.ToolStripLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripLabel
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.ToolStripLabelstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripLabel()
ToolStripLabel(Object instance)
Internal constructor.ToolStripLabel(String text)
ToolStripLabel(String text, Image image)
ToolStripLabel(String text, Image image, boolean isLink)
ToolStripLabel(String text, Image image, boolean isLink, EventHandler onClick)
ToolStripLabel(String text, Image image, boolean isLink, EventHandler onClick, String name)
ToolStripLabel(Image image)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolStripLabel
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolStripLabel
, a cast assert is made to check if types are compatible.Color
getActiveLinkColor()
boolean
getIsLink()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeLinkBehavior
getLinkBehavior()
Color
getLinkColor()
boolean
getLinkVisited()
Color
getVisitedLinkColor()
void
setActiveLinkColor(Color ActiveLinkColor)
void
setIsLink(boolean IsLink)
void
setJCOInstance(JCObject instance)
void
setLinkBehavior(LinkBehavior LinkBehavior)
void
setLinkColor(Color LinkColor)
void
setLinkVisited(boolean LinkVisited)
void
setVisitedLinkColor(Color VisitedLinkColor)
-
Methods inherited from class system.windows.forms.ToolStripItem
addAvailableChanged, addBackColorChanged, addClick, addDisplayStyleChanged, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addTextChanged, addVisibleChanged, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAutoToolTip, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, 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, OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, PerformClick, removeAvailableChanged, removeBackColorChanged, removeClick, 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, 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, setWidth
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Forms.ToolStripLabel- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripLabel
public ToolStripLabel(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ToolStripLabel
public ToolStripLabel() throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationErrorsException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, ObjectDisposedException, Win32Exception, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationErrorsException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
SecurityException
InvalidEnumArgumentException
ObjectDisposedException
Win32Exception
OutOfMemoryException
-
ToolStripLabel
public ToolStripLabel(Image image) throws Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentNullException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
SecurityException
IndexOutOfRangeException
InvalidEnumArgumentException
OverflowException
InvalidAsynchronousStateException
NullReferenceException
MulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(String text) throws Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentNullException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
SecurityException
IndexOutOfRangeException
InvalidEnumArgumentException
OverflowException
InvalidAsynchronousStateException
NullReferenceException
MulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(String text, Image image) throws Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentNullException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
SecurityException
IndexOutOfRangeException
InvalidEnumArgumentException
OverflowException
InvalidAsynchronousStateException
NullReferenceException
MulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(String text, Image image, boolean isLink) throws Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentNullException
MissingManifestResourceException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
SecurityException
IndexOutOfRangeException
InvalidEnumArgumentException
NullReferenceException
MulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(String text, Image image, boolean isLink, EventHandler onClick) throws Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentNullException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
SecurityException
IndexOutOfRangeException
InvalidEnumArgumentException
OverflowException
InvalidAsynchronousStateException
NullReferenceException
MulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(String text, Image image, boolean isLink, EventHandler onClick, String name) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, SecurityException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentNullException
ConfigurationErrorsException
ArgumentException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
SecurityException
InvalidEnumArgumentException
OverflowException
InvalidAsynchronousStateException
NullReferenceException
MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDropTarget
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classToolStripItem
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDropTarget
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classToolStripItem
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDropTarget
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classToolStripItem
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classToolStripItem
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classToolStripItem
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDropTarget
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classToolStripItem
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolStripLabel cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoToolStripLabel
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolStripLabel
instance- Throws:
Throwable
- in case of error during cast operation
-
setIsLink
public void setIsLink(boolean IsLink) throws Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
setLinkVisited
public void setLinkVisited(boolean LinkVisited) throws Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
getActiveLinkColor
public Color getActiveLinkColor() throws Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setActiveLinkColor
public void setActiveLinkColor(Color ActiveLinkColor) throws Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
Throwable
NullReferenceException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
OutOfMemoryException
-
getLinkColor
public Color getLinkColor() throws Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setLinkColor
public void setLinkColor(Color LinkColor) throws Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
Throwable
NullReferenceException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
OutOfMemoryException
-
getVisitedLinkColor
public Color getVisitedLinkColor() throws Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setVisitedLinkColor
public void setVisitedLinkColor(Color VisitedLinkColor) throws Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
Throwable
NullReferenceException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
OutOfMemoryException
-
getLinkBehavior
public LinkBehavior getLinkBehavior() throws Throwable
- Throws:
Throwable
-
setLinkBehavior
public void setLinkBehavior(LinkBehavior LinkBehavior) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
Win32Exception
SecurityException
NullReferenceException
OutOfMemoryException
-
-