public class ToolStripButton extends ToolStripItem
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolStripButton
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=9.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.ToolStripButton
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripButton()
Initializes a new instance by invoking the .NET constructor.
|
ToolStripButton(Image image)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripButton(java.lang.Object instance)
Internal constructor.
|
ToolStripButton(java.lang.String text)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripButton(java.lang.String text,
Image image)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick)
Initializes a new instance by invoking the .NET constructor.
|
ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckedChanged(EventHandler handler)
Invokes the .NET member addCheckedChanged.
|
void |
addCheckStateChanged(EventHandler handler)
Invokes the .NET member addCheckStateChanged.
|
static ToolStripButton |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripButton, a cast assert is made to check if types are compatible. |
boolean |
getAutoToolTip()
Gets the value of the .NET property AutoToolTip.
|
boolean |
getChecked()
Gets the value of the .NET property Checked.
|
boolean |
getCheckOnClick()
Gets the value of the .NET property CheckOnClick.
|
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. |
Size |
GetPreferredSize(Size constrainingSize)
Invokes the .NET member GetPreferredSize.
|
void |
removeCheckedChanged(EventHandler handler)
Invokes the .NET member removeCheckedChanged.
|
void |
removeCheckStateChanged(EventHandler handler)
Invokes the .NET member removeCheckStateChanged.
|
void |
setAutoToolTip(boolean AutoToolTip)
Sets the value of the .NET property AutoToolTip.
|
void |
setChecked(boolean Checked)
Sets the value of the .NET property Checked.
|
void |
setCheckOnClick(boolean CheckOnClick)
Sets the value of the .NET property CheckOnClick.
|
void |
setCheckState(CheckState CheckState)
Sets the value of the .NET property CheckState.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
addAvailableChanged, addBackColorChanged, addClick, addCommandCanExecuteChanged, addCommandChanged, addCommandParameterChanged, addDisplayStyleChanged, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addSelectedChanged, addTextChanged, addVisibleChanged, DoDragDrop, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, getCommand, getCommandParameter, getContentRectangle, GetCurrentParent, getDisplayStyle, getDock, getDoubleClickEnabled, getEnabled, getFont, getForeColor, getHeight, getImage, getImageAlign, getImageIndex, getImageKey, getImageScaling, getImageTransparentColor, getIsDisposed, getIsOnDropDown, getIsOnOverflow, getMargin, getMergeAction, getMergeIndex, getName, getOverflow, getOwner, getOwnerItem, getPadding, getPlacement, getPressed, getRightToLeft, getRightToLeftAutoMirrorImage, getSelected, getSize, getTag, getText, getTextAlign, getTextDirection, getTextImageRelation, getToolTipText, getVisible, getWidth, Invalidate, Invalidate, PerformClick, removeAvailableChanged, removeBackColorChanged, removeClick, removeCommandCanExecuteChanged, removeCommandChanged, removeCommandParameterChanged, removeDisplayStyleChanged, removeDoubleClick, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeForeColorChanged, removeGiveFeedback, removeLocationChanged, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeOwnerChanged, removePaint, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRightToLeftChanged, removeSelectedChanged, removeTextChanged, removeVisibleChanged, ResetBackColor, ResetDisplayStyle, ResetFont, ResetForeColor, ResetImage, ResetMargin, ResetPadding, ResetRightToLeft, ResetTextDirection, Select, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAlignment, setAllowDrop, setAnchor, setAutoSize, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, setCommand, setCommandParameter, setDisplayStyle, setDock, setDoubleClickEnabled, setEnabled, setFont, setForeColor, setHeight, setImage, setImageAlign, setImageIndex, setImageKey, setImageScaling, setImageTransparentColor, setMargin, setMergeAction, setMergeIndex, setName, setOverflow, setOwner, setPadding, setRightToLeft, setRightToLeftAutoMirrorImage, setSize, setTag, setText, setTextAlign, setTextDirection, setTextImageRelation, setToolTipText, setVisible, setWidthaddBindingContextChanged, getBindingContext, getDataBindings, removeBindingContextChanged, setBindingContextaddDisposed, 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 ToolStripButton()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
LockRecursionException,
OutOfMemoryException,
ObjectDisposedException,
AbandonedMutexException,
SynchronizationLockException,
InvalidEnumArgumentException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itLockRecursionException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic ToolStripButton(Image image) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, OverflowException, InvalidOperationException, InvalidAsynchronousStateException, MulticastNotSupportedException
image - the argument of type Imagejava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itLockRecursionException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripButton(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 ToolStripButton(java.lang.String text)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
OverflowException,
InvalidOperationException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itLockRecursionException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripButton(java.lang.String text,
Image image)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
OverflowException,
InvalidOperationException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type Imagejava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itLockRecursionException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
OverflowException,
InvalidOperationException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type ImageonClick - the argument of type EventHandlerjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itLockRecursionException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
LockRecursionException,
NotSupportedException,
OutOfMemoryException,
AbandonedMutexException,
SynchronizationLockException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
OverflowException,
InvalidOperationException,
InvalidAsynchronousStateException,
MulticastNotSupportedException
text - the argument of type java.lang.Stringimage - the argument of type ImageonClick - the argument of type EventHandlername - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itLockRecursionException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic 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 static ToolStripButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripButton, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripButton instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAutoToolTip()
throws java.lang.Throwable
getAutoToolTip in class ToolStripItemjava.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 boolean getCheckOnClick()
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 ToolStripItempublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ToolStripItempublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ToolStripItemnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ToolStripItempublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ToolStripItempublic Size GetPreferredSize(Size constrainingSize) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException
GetPreferredSize in class ToolStripItemconstrainingSize - the argument of type Sizejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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 setAutoToolTip(boolean AutoToolTip)
throws java.lang.Throwable
setAutoToolTip in class ToolStripItemAutoToolTip - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setChecked(boolean Checked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException
Checked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setCheckOnClick(boolean CheckOnClick)
throws java.lang.Throwable
CheckOnClick - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCheckState(CheckState CheckState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
CheckState - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ToolStripIteminstance - the new underlying object