public class Button extends ButtonBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Button
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=10.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.Button
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Button() |
Button(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDoubleClick(EventHandler handler) |
void |
addMouseDoubleClick(MouseEventHandler handler) |
static Button |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Button, a cast assert is made to check if types are compatible. |
AutoSizeMode |
getAutoSizeMode() |
DialogResult |
getDialogResult() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
NotifyDefault(boolean value) |
void |
PerformClick() |
void |
removeDoubleClick(EventHandler handler) |
void |
removeMouseDoubleClick(MouseEventHandler handler) |
void |
setAutoSizeMode(AutoSizeMode AutoSizeMode) |
void |
setDialogResult(DialogResult DialogResult) |
void |
setJCOInstance(JCObject instance) |
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, addContextMenuChanged, 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, getContextMenu, 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, InvokeAsync, 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, 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, setContextMenu, 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, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringOnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, ToIDropTargetpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Button()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
InvalidCastException,
ObjectDisposedException,
FormatException,
Win32Exception,
OutOfMemoryException,
NotSupportedException
public Button(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addDoubleClick(EventHandler handler) throws java.lang.Throwable
addDoubleClick in class Controljava.lang.Throwablepublic void addMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
addMouseDoubleClick in class Controljava.lang.Throwablepublic static Button cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Button, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedButton instancejava.lang.Throwable - in case of error during cast operationpublic AutoSizeMode getAutoSizeMode() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, InvalidCastException
public DialogResult getDialogResult() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ButtonBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ButtonBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ButtonBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ButtonBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ButtonBaseJCType representing the CLR Type of the instantiated Classpublic void NotifyDefault(boolean value)
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
Win32Exception,
ObjectDisposedException
public void PerformClick()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
InvalidOperationException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void removeDoubleClick(EventHandler handler) throws java.lang.Throwable
removeDoubleClick in class Controljava.lang.Throwablepublic void removeMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
removeMouseDoubleClick in class Controljava.lang.Throwablepublic void setAutoSizeMode(AutoSizeMode AutoSizeMode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, NotSupportedException, OutOfMemoryException, InvalidCastException
public void setDialogResult(DialogResult DialogResult) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ButtonBase