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:
java.lang.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..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripLabel
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ToolStripLabelstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripLabel()ToolStripLabel(java.lang.Object instance)Internal constructor.ToolStripLabel(java.lang.String text)ToolStripLabel(java.lang.String text, Image image)ToolStripLabel(java.lang.String text, Image image, boolean isLink)ToolStripLabel(java.lang.String text, Image image, boolean isLink, EventHandler onClick)ToolStripLabel(java.lang.String text, Image image, boolean isLink, EventHandler onClick, java.lang.String name)ToolStripLabel(Image image)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolStripLabelcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoToolStripLabel, a cast assert is made to check if types are compatible.ColorgetActiveLinkColor()booleangetIsLink()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeLinkBehaviorgetLinkBehavior()ColorgetLinkColor()booleangetLinkVisited()ColorgetVisitedLinkColor()voidsetActiveLinkColor(Color ActiveLinkColor)voidsetIsLink(boolean IsLink)voidsetJCOInstance(JCObject instance)voidsetLinkBehavior(LinkBehavior LinkBehavior)voidsetLinkColor(Color LinkColor)voidsetLinkVisited(boolean LinkVisited)voidsetVisitedLinkColor(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, 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, toString, ToString
-
Methods inherited from interface system.windows.forms.IDropTarget
OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.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 java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.ToolStripLabel- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripLabel
public ToolStripLabel(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolStripLabel
public ToolStripLabel() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationErrorsException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, ObjectDisposedException, Win32Exception, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryException
-
ToolStripLabel
public ToolStripLabel(Image image) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(java.lang.String text, Image image) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(java.lang.String text, Image image, boolean isLink) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(java.lang.String text, Image image, boolean isLink, EventHandler onClick) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedException
-
ToolStripLabel
public ToolStripLabel(java.lang.String text, Image image, boolean isLink, EventHandler onClick, java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, SecurityException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classToolStripItem- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDropTarget- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classToolStripItem- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDropTarget- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classToolStripItem- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDropTarget- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classToolStripItem- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classToolStripItem
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classToolStripItem- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ToolStripLabel cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoToolStripLabel, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ToolStripLabelinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getIsLink
public boolean getIsLink() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsLink
public void setIsLink(boolean IsLink) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
getLinkVisited
public boolean getLinkVisited() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLinkVisited
public void setLinkVisited(boolean LinkVisited) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
getActiveLinkColor
public Color getActiveLinkColor() throws java.lang.Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setActiveLinkColor
public void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionOutOfMemoryException
-
getLinkColor
public Color getLinkColor() throws java.lang.Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setLinkColor
public void setLinkColor(Color LinkColor) throws java.lang.Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionOutOfMemoryException
-
getVisitedLinkColor
public Color getVisitedLinkColor() throws java.lang.Throwable, ArgumentException, SecurityException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, InvalidOperationException, MissingManifestResourceException, NotSupportedException
-
setVisitedLinkColor
public void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, NullReferenceException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionOutOfMemoryException
-
getLinkBehavior
public LinkBehavior getLinkBehavior() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLinkBehavior
public void setLinkBehavior(LinkBehavior LinkBehavior) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
-