Package system.windows.forms
Class LinkLabel
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class LinkLabel extends Label
The base .NET class managing System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.LinkLabel
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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.LinkLabelstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLinkClicked(LinkLabelLinkClickedEventHandler handler)
void
addTabStopChanged(EventHandler handler)
static LinkLabel
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoLinkLabel
, a cast assert is made to check if types are compatible.Color
getActiveLinkColor()
Color
getDisabledLinkColor()
FlatStyle
getFlatStyle()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeLinkArea
getLinkArea()
LinkBehavior
getLinkBehavior()
Color
getLinkColor()
boolean
getLinkVisited()
Padding
getPadding()
boolean
getTabStop()
boolean
getUseCompatibleTextRendering()
Color
getVisitedLinkColor()
void
removeLinkClicked(LinkLabelLinkClickedEventHandler handler)
void
removeTabStopChanged(EventHandler handler)
void
setActiveLinkColor(Color ActiveLinkColor)
void
setDisabledLinkColor(Color DisabledLinkColor)
void
setFlatStyle(FlatStyle FlatStyle)
void
setJCOInstance(JCObject instance)
void
setLinkArea(LinkArea LinkArea)
void
setLinkBehavior(LinkBehavior LinkBehavior)
void
setLinkColor(Color LinkColor)
void
setLinkVisited(boolean LinkVisited)
void
setPadding(Padding Padding)
void
setTabStop(boolean TabStop)
void
setUseCompatibleTextRendering(boolean UseCompatibleTextRendering)
void
setVisitedLinkColor(Color VisitedLinkColor)
-
Methods inherited from class system.windows.forms.Label
addAutoSizeChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addImeModeChanged, addKeyDown, addKeyPress, addKeyUp, addTextAlignChanged, getAutoEllipsis, getBorderStyle, getImage, getImageAlign, getImageIndex, getImageKey, getImageList, getImeMode, getLiveSetting, getPreferredHeight, GetPreferredSize, getPreferredWidth, getTextAlign, getUseMnemonic, removeAutoSizeChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeImeModeChanged, removeKeyDown, removeKeyPress, removeKeyUp, removeTextAlignChanged, setAutoEllipsis, setBorderStyle, setImage, setImageAlign, setImageIndex, setImageKey, setImageList, setImeMode, setLiveSetting, setTextAlign, setUseMnemonic
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addInvalidated, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTextChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getParent, getPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeInvalidated, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTextChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, setBounds, SetBounds, SetBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, Update
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
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=8.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.LinkLabel- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LinkLabel
public LinkLabel(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
LinkLabel
public LinkLabel() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, FormatException, Win32Exception, ObjectDisposedException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 classLabel
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.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 classLabel
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.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 classLabel
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classLabel
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classLabel
-
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 classLabel
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static LinkLabel cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoLinkLabel
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
LinkLabel
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getLinkVisited
public boolean getLinkVisited() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
setLinkVisited
public void setLinkVisited(boolean LinkVisited) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, RankException, ArrayTypeMismatchException
-
getTabStop
public boolean getTabStop() throws java.lang.Throwable
- Overrides:
getTabStop
in classLabel
- Throws:
java.lang.Throwable
-
setTabStop
public void setTabStop(boolean TabStop) throws java.lang.Throwable
- Overrides:
setTabStop
in classLabel
- Throws:
java.lang.Throwable
-
getUseCompatibleTextRendering
public boolean getUseCompatibleTextRendering() throws java.lang.Throwable
- Overrides:
getUseCompatibleTextRendering
in classLabel
- Throws:
java.lang.Throwable
-
setUseCompatibleTextRendering
public void setUseCompatibleTextRendering(boolean UseCompatibleTextRendering) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, Win32Exception
- Overrides:
setUseCompatibleTextRendering
in classLabel
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
NotSupportedException
InvalidOperationException
Win32Exception
-
getActiveLinkColor
public Color getActiveLinkColor() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
SecurityException
InvalidOperationException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
NotSupportedException
ExternalException
CultureNotFoundException
-
setActiveLinkColor
public void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, ObjectDisposedException, Win32Exception, OutOfMemoryException
-
getDisabledLinkColor
public Color getDisabledLinkColor() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, NotSupportedException, ArgumentNullException, RankException, ArrayTypeMismatchException
-
setDisabledLinkColor
public void setDisabledLinkColor(Color DisabledLinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, ObjectDisposedException, Win32Exception, OutOfMemoryException
-
getLinkColor
public Color getLinkColor() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, WaitHandleCannotBeOpenedException, InvalidOperationException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ExternalException, KeyNotFoundException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
WaitHandleCannotBeOpenedException
InvalidOperationException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ExternalException
KeyNotFoundException
PlatformNotSupportedException
FormatException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
SecurityException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
NotSupportedException
CultureNotFoundException
-
setLinkColor
public void setLinkColor(Color LinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, ObjectDisposedException, Win32Exception, OutOfMemoryException
-
getVisitedLinkColor
public Color getVisitedLinkColor() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, WaitHandleCannotBeOpenedException, InvalidOperationException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ExternalException, KeyNotFoundException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
WaitHandleCannotBeOpenedException
InvalidOperationException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ExternalException
KeyNotFoundException
PlatformNotSupportedException
FormatException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
SecurityException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
NotSupportedException
CultureNotFoundException
-
setVisitedLinkColor
public void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, ObjectDisposedException, Win32Exception, OutOfMemoryException
-
getFlatStyle
public FlatStyle getFlatStyle() throws java.lang.Throwable
- Overrides:
getFlatStyle
in classLabel
- Throws:
java.lang.Throwable
-
setFlatStyle
public void setFlatStyle(FlatStyle FlatStyle) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, Win32Exception, NotSupportedException
- Overrides:
setFlatStyle
in classLabel
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
Win32Exception
NotSupportedException
-
getLinkArea
public LinkArea getLinkArea() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
setLinkArea
public void setLinkArea(LinkArea LinkArea) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, RankException, ArrayTypeMismatchException
-
getLinkBehavior
public LinkBehavior getLinkBehavior() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLinkBehavior
public void setLinkBehavior(LinkBehavior LinkBehavior) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, ObjectDisposedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
NotSupportedException
ObjectDisposedException
Win32Exception
OutOfMemoryException
-
getPadding
public Padding getPadding() throws java.lang.Throwable
- Overrides:
getPadding
in classControl
- Throws:
java.lang.Throwable
-
setPadding
public void setPadding(Padding Padding) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException
- Overrides:
setPadding
in classControl
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
NotSupportedException
-
addTabStopChanged
public void addTabStopChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addTabStopChanged
in classLabel
- Throws:
java.lang.Throwable
-
removeTabStopChanged
public void removeTabStopChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeTabStopChanged
in classLabel
- Throws:
java.lang.Throwable
-
addLinkClicked
public void addLinkClicked(LinkLabelLinkClickedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLinkClicked
public void removeLinkClicked(LinkLabelLinkClickedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-