public class CheckBox extends ButtonBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.CheckBox
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.CheckBox
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CheckBox()
Initializes a new instance by invoking the .NET constructor.
|
CheckBox(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAppearanceChanged(EventHandler handler)
Invokes the .NET member addAppearanceChanged.
|
void |
addCheckedChanged(EventHandler handler)
Invokes the .NET member addCheckedChanged.
|
void |
addCheckStateChanged(EventHandler handler)
Invokes the .NET member addCheckStateChanged.
|
void |
addDoubleClick(EventHandler handler)
Invokes the .NET member addDoubleClick.
|
void |
addMouseDoubleClick(MouseEventHandler handler)
Invokes the .NET member addMouseDoubleClick.
|
static CheckBox |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CheckBox, a cast assert is made to check if types are compatible. |
Appearance |
getAppearance()
Gets the value of the .NET property Appearance.
|
boolean |
getAutoCheck()
Gets the value of the .NET property AutoCheck.
|
ContentAlignment |
getCheckAlign()
Gets the value of the .NET property CheckAlign.
|
boolean |
getChecked()
Gets the value of the .NET property Checked.
|
CheckState |
getCheckState()
Gets the value of the .NET property CheckState.
|
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. |
boolean |
getThreeState()
Gets the value of the .NET property ThreeState.
|
void |
removeAppearanceChanged(EventHandler handler)
Invokes the .NET member removeAppearanceChanged.
|
void |
removeCheckedChanged(EventHandler handler)
Invokes the .NET member removeCheckedChanged.
|
void |
removeCheckStateChanged(EventHandler handler)
Invokes the .NET member removeCheckStateChanged.
|
void |
removeDoubleClick(EventHandler handler)
Invokes the .NET member removeDoubleClick.
|
void |
removeMouseDoubleClick(MouseEventHandler handler)
Invokes the .NET member removeMouseDoubleClick.
|
void |
setAppearance(Appearance Appearance)
Sets the value of the .NET property Appearance.
|
void |
setAutoCheck(boolean AutoCheck)
Sets the value of the .NET property AutoCheck.
|
void |
setCheckAlign(ContentAlignment CheckAlign)
Sets the value of the .NET property CheckAlign.
|
void |
setChecked(boolean Checked)
Sets the value of the .NET property Checked.
|
void |
setCheckState(CheckState CheckState)
Sets the value of the .NET property CheckState.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setThreeState(boolean ThreeState)
Sets the value of the .NET property ThreeState.
|
addAutoSizeChanged, addCommandCanExecuteChanged, addCommandChanged, addCommandParameterChanged, addImeModeChanged, getAutoEllipsis, getCommand, getCommandParameter, getFlatAppearance, getFlatStyle, getImage, getImageAlign, getImageIndex, getImageKey, getImageList, getImeMode, GetPreferredSize, getTextAlign, getTextImageRelation, getUseCompatibleTextRendering, getUseMnemonic, getUseVisualStyleBackColor, removeAutoSizeChanged, removeCommandCanExecuteChanged, removeCommandChanged, removeCommandParameterChanged, removeImeModeChanged, setAutoEllipsis, setCommand, setCommandParameter, setFlatStyle, setImage, setImageAlign, setImageIndex, setImageKey, setImageList, setImeMode, setTextAlign, setTextImageRelation, setUseCompatibleTextRendering, setUseMnemonic, setUseVisualStyleBackColoraddBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, 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, getPadding, getParent, getPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, 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, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, 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, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, 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 CheckBox()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
RankException,
ArgumentException,
ArrayTypeMismatchException,
OutOfMemoryException,
ObjectDisposedException,
InvalidOperationException,
Win32Exception,
NotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic CheckBox(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 void addAppearanceChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addCheckedChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addCheckStateChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addDoubleClick(EventHandler handler) throws java.lang.Throwable
addDoubleClick in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
addMouseDoubleClick in class Controlhandler - the argument of type MouseEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CheckBox cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CheckBox, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCheckBox instancejava.lang.Throwable - in case of error during cast operationpublic Appearance getAppearance() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAutoCheck()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ContentAlignment getCheckAlign() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getChecked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CheckState getCheckState() 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 ButtonBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ButtonBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ButtonBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ButtonBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ButtonBasepublic boolean getThreeState()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeAppearanceChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeCheckedChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeCheckStateChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeDoubleClick(EventHandler handler) throws java.lang.Throwable
removeDoubleClick in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
removeMouseDoubleClick in class Controlhandler - the argument of type MouseEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAppearance(Appearance Appearance) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException, Win32Exception, ObjectDisposedException
Appearance - 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setAutoCheck(boolean AutoCheck)
throws java.lang.Throwable
AutoCheck - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCheckAlign(ContentAlignment CheckAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException, Win32Exception, ObjectDisposedException
CheckAlign - 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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setChecked(boolean Checked)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
NotSupportedException
Checked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setCheckState(CheckState CheckState) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, RankException, ArrayTypeMismatchException, NotSupportedException
CheckState - 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 itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ButtonBaseinstance - the new underlying objectpublic void setThreeState(boolean ThreeState)
throws java.lang.Throwable
ThreeState - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR