Package system.windows.forms
Class CheckBox
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDropTarget
public class CheckBox extends ButtonBase
The base .NET class managing System.Windows.Forms.CheckBox, 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.CheckBox
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.CheckBoxstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAppearanceChanged(EventHandler handler)voidaddCheckedChanged(EventHandler handler)voidaddCheckStateChanged(EventHandler handler)voidaddDoubleClick(EventHandler handler)voidaddMouseDoubleClick(MouseEventHandler handler)static CheckBoxcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCheckBox, a cast assert is made to check if types are compatible.AppearancegetAppearance()booleangetAutoCheck()ContentAlignmentgetCheckAlign()booleangetChecked()CheckStategetCheckState()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 TypebooleangetThreeState()voidremoveAppearanceChanged(EventHandler handler)voidremoveCheckedChanged(EventHandler handler)voidremoveCheckStateChanged(EventHandler handler)voidremoveDoubleClick(EventHandler handler)voidremoveMouseDoubleClick(MouseEventHandler handler)voidsetAppearance(Appearance Appearance)voidsetAutoCheck(boolean AutoCheck)voidsetCheckAlign(ContentAlignment CheckAlign)voidsetChecked(boolean Checked)voidsetCheckState(CheckState CheckState)voidsetJCOInstance(JCObject instance)voidsetThreeState(boolean ThreeState)-
Methods inherited from class system.windows.forms.ButtonBase
addAutoSizeChanged, addImeModeChanged, getAutoEllipsis, getFlatAppearance, getFlatStyle, getImage, getImageAlign, getImageIndex, getImageKey, getImageList, getImeMode, GetPreferredSize, getTextAlign, getTextImageRelation, getUseCompatibleTextRendering, getUseMnemonic, getUseVisualStyleBackColor, removeAutoSizeChanged, removeImeModeChanged, setAutoEllipsis, setFlatStyle, setImage, setImageAlign, setImageIndex, setImageKey, setImageList, setImeMode, setTextAlign, setTextImageRelation, setUseCompatibleTextRendering, setUseMnemonic, setUseVisualStyleBackColor
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, 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, BringToFront, Contains, CreateControl, CreateGraphics, 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, getContextMenu, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getInvokeRequired, getIsAccessible, 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, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, 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, setContextMenu, setContextMenuStrip, setCursor, 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, Update
-
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.CheckBox- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckBox
public CheckBox(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CheckBox
public CheckBox() throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, ObjectDisposedException, OutOfMemoryException, SecurityException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionObjectDisposedExceptionOutOfMemoryExceptionSecurityExceptionInvalidEnumArgumentException
-
-
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 classButtonBase- 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 classButtonBase- 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 classButtonBase- 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 classButtonBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classButtonBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classButtonBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CheckBox cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCheckBox, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CheckBoxinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getAutoCheck
public boolean getAutoCheck() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoCheck
public void setAutoCheck(boolean AutoCheck) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getChecked
public boolean getChecked() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setChecked
public void setChecked(boolean Checked) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionOutOfMemoryException
-
getThreeState
public boolean getThreeState() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setThreeState
public void setThreeState(boolean ThreeState) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCheckAlign
public ContentAlignment getCheckAlign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCheckAlign
public void setCheckAlign(ContentAlignment CheckAlign) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, SecurityException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionSecurityExceptionOutOfMemoryException
-
getAppearance
public Appearance getAppearance() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAppearance
public void setAppearance(Appearance Appearance) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryException
-
getCheckState
public CheckState getCheckState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCheckState
public void setCheckState(CheckState CheckState) 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
-
addAppearanceChanged
public void addAppearanceChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAppearanceChanged
public void removeAppearanceChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCheckedChanged
public void addCheckedChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCheckedChanged
public void removeCheckedChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCheckStateChanged
public void addCheckStateChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCheckStateChanged
public void removeCheckStateChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDoubleClick
public void addDoubleClick(EventHandler handler) throws java.lang.Throwable
- Overrides:
addDoubleClickin classControl- Throws:
java.lang.Throwable
-
removeDoubleClick
public void removeDoubleClick(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeDoubleClickin classControl- Throws:
java.lang.Throwable
-
addMouseDoubleClick
public void addMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
- Overrides:
addMouseDoubleClickin classControl- Throws:
java.lang.Throwable
-
removeMouseDoubleClick
public void removeMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
- Overrides:
removeMouseDoubleClickin classControl- Throws:
java.lang.Throwable
-
-