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=9.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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ButtonBasestatic JCTypeclassTypeThe 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, InvokeAsync, 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=9.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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classControl- 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 classControl- 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 classControl- 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 classControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ButtonBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoButtonBase, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ButtonBaseinstance- 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, InvalidCastException
- Overrides:
GetPreferredSizein classControl- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastException
-
getAutoEllipsis
public boolean getAutoEllipsis() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoEllipsis
public void setAutoEllipsis(boolean AutoEllipsis) throws java.lang.Throwable, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, FormatException
-
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, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
getUseMnemonic
public boolean getUseMnemonic() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseMnemonic
public void setUseMnemonic(boolean UseMnemonic) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
-
getUseVisualStyleBackColor
public boolean getUseVisualStyleBackColor() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException
-
setUseVisualStyleBackColor
public void setUseVisualStyleBackColor(boolean UseVisualStyleBackColor) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NotSupportedException, RankException, ArrayTypeMismatchException
-
getImageIndex
public int getImageIndex() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
setImageIndex
public void setImageIndex(int ImageIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getImageAlign
public ContentAlignment getImageAlign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageAlign
public void setImageAlign(ContentAlignment ImageAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedException
-
getTextAlign
public ContentAlignment getTextAlign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTextAlign
public void setTextAlign(ContentAlignment TextAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, OutOfMemoryException, Win32Exception, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionObjectDisposedException
-
getImage
public Image getImage() throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, FormatException, OverflowException
-
setImage
public void setImage(Image Image) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, FormatException, OverflowException, ArgumentNullException, OutOfMemoryException, AbandonedMutexException, InvalidAsynchronousStateException, ArrayTypeMismatchException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionFormatExceptionOverflowExceptionArgumentNullExceptionOutOfMemoryExceptionAbandonedMutexExceptionInvalidAsynchronousStateExceptionArrayTypeMismatchExceptionMulticastNotSupportedException
-
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, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, 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, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, ObjectDisposedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryException
-
getImageList
public ImageList getImageList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageList
public void setImageList(ImageList ImageList) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, MulticastNotSupportedException
-
getImeMode
public ImeMode getImeMode() throws java.lang.Throwable
- Overrides:
getImeModein classControl- Throws:
java.lang.Throwable
-
setImeMode
public void setImeMode(ImeMode ImeMode) throws java.lang.Throwable, PlatformNotSupportedException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, ObjectDisposedException, Win32Exception, NotSupportedException, OutOfMemoryException
- Overrides:
setImeModein classControl- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryException
-
getTextImageRelation
public TextImageRelation getTextImageRelation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTextImageRelation
public void setTextImageRelation(TextImageRelation TextImageRelation) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedException
-
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.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
addAutoSizeChanged
public void addAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addAutoSizeChangedin classControl- Throws:
java.lang.Throwable
-
removeAutoSizeChanged
public void removeAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeAutoSizeChangedin 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:
addImeModeChangedin classControl- Throws:
java.lang.Throwable
-
removeImeModeChanged
public void removeImeModeChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeImeModeChangedin classControl- Throws:
java.lang.Throwable
-
-