Package system.windows.forms
Class ButtonBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.Control
-
- system.windows.forms.ButtonBase
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDropTarget
- Direct Known Subclasses:
Button
,CheckBox
,RadioButton
public class ButtonBase extends Control
The base .NET class managing System.Windows.Forms.ButtonBase, 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.ButtonBase
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.ButtonBasestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ButtonBase()
ButtonBase(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, 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, addKeyDown, addKeyPress, addKeyUp, 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, 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, removeDoubleClick, 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, removeMouseDoubleClick, 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, 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.ButtonBase- See Also:
- Constant Field Values
-
-
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 classControl
- 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 classControl
- 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 classControl
- 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 classControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classControl
-
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 classControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ButtonBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoButtonBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ButtonBase
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetPreferredSize
public Size GetPreferredSize(Size proposedSize) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException
- Overrides:
GetPreferredSize
in classControl
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
-
getAutoEllipsis
public boolean getAutoEllipsis() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutoEllipsis
public void setAutoEllipsis(boolean AutoEllipsis) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException
-
getUseCompatibleTextRendering
public boolean getUseCompatibleTextRendering() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseCompatibleTextRendering
public void setUseCompatibleTextRendering(boolean UseCompatibleTextRendering) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException
-
getUseMnemonic
public boolean getUseMnemonic() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseMnemonic
public void setUseMnemonic(boolean UseMnemonic) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, FormatException
-
getUseVisualStyleBackColor
public boolean getUseVisualStyleBackColor() throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
setUseVisualStyleBackColor
public void setUseVisualStyleBackColor(boolean UseVisualStyleBackColor) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, RankException, ArrayTypeMismatchException
-
getImageIndex
public int getImageIndex() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
setImageIndex
public void setImageIndex(int ImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, RankException, ArrayTypeMismatchException
-
getImageAlign
public ContentAlignment getImageAlign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageAlign
public void setImageAlign(ContentAlignment ImageAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException
-
getTextAlign
public ContentAlignment getTextAlign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTextAlign
public void setTextAlign(ContentAlignment TextAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
RankException
ArrayTypeMismatchException
NotSupportedException
OutOfMemoryException
Win32Exception
ObjectDisposedException
-
getImage
public Image getImage() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, FormatException, OverflowException, NotSupportedException, IndexOutOfRangeException
-
setImage
public void setImage(Image Image) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ObjectDisposedException, OverflowException, NotSupportedException, OutOfMemoryException, AbandonedMutexException, InvalidAsynchronousStateException, IndexOutOfRangeException, FormatException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ArgumentException
PlatformNotSupportedException
ArgumentNullException
ObjectDisposedException
OverflowException
NotSupportedException
OutOfMemoryException
AbandonedMutexException
InvalidAsynchronousStateException
IndexOutOfRangeException
FormatException
MulticastNotSupportedException
-
getCommandParameter
public NetObject getCommandParameter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCommandParameter
public void setCommandParameter(NetObject CommandParameter) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getImageKey
public java.lang.String getImageKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageKey
public void setImageKey(java.lang.String ImageKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
getFlatAppearance
public FlatButtonAppearance getFlatAppearance() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFlatStyle
public FlatStyle getFlatStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFlatStyle
public void setFlatStyle(FlatStyle FlatStyle) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
RankException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
Win32Exception
OutOfMemoryException
-
getImageList
public ImageList getImageList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageList
public void setImageList(ImageList ImageList) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, MulticastNotSupportedException
-
getImeMode
public ImeMode getImeMode() throws java.lang.Throwable
- Overrides:
getImeMode
in classControl
- Throws:
java.lang.Throwable
-
setImeMode
public void setImeMode(ImeMode ImeMode) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, InvalidEnumArgumentException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException
- Overrides:
setImeMode
in classControl
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
InvalidEnumArgumentException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
ObjectDisposedException
Win32Exception
NotSupportedException
OutOfMemoryException
-
getTextImageRelation
public TextImageRelation getTextImageRelation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTextImageRelation
public void setTextImageRelation(TextImageRelation TextImageRelation) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, NotSupportedException
-
getCommand
public ICommand getCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCommand
public void setCommand(ICommand Command) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
addAutoSizeChanged
public void addAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addAutoSizeChanged
in classControl
- Throws:
java.lang.Throwable
-
removeAutoSizeChanged
public void removeAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeAutoSizeChanged
in classControl
- Throws:
java.lang.Throwable
-
addCommandCanExecuteChanged
public void addCommandCanExecuteChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommandCanExecuteChanged
public void removeCommandCanExecuteChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCommandChanged
public void addCommandChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommandChanged
public void removeCommandChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCommandParameterChanged
public void addCommandParameterChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommandParameterChanged
public void removeCommandParameterChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addImeModeChanged
public void addImeModeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addImeModeChanged
in classControl
- Throws:
java.lang.Throwable
-
removeImeModeChanged
public void removeImeModeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeImeModeChanged
in classControl
- Throws:
java.lang.Throwable
-
-