public class ToolStripButton extends ToolStripItem
.NET documentation at https://docs.microsoft.com/en-us/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=4.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() |
ToolStripButton(Image image) |
ToolStripButton(java.lang.Object instance)
Internal constructor.
|
ToolStripButton(java.lang.String text) |
ToolStripButton(java.lang.String text,
Image image) |
ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick) |
ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckedChanged(EventHandler handler) |
void |
addCheckStateChanged(EventHandler handler) |
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() |
boolean |
getChecked() |
boolean |
getCheckOnClick() |
CheckState |
getCheckState() |
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
|
Size |
GetPreferredSize(Size constrainingSize) |
void |
removeCheckedChanged(EventHandler handler) |
void |
removeCheckStateChanged(EventHandler handler) |
void |
setAutoToolTip(boolean AutoToolTip) |
void |
setChecked(boolean Checked) |
void |
setCheckOnClick(boolean CheckOnClick) |
void |
setCheckState(CheckState CheckState) |
void |
setJCOInstance(JCObject instance) |
addAvailableChanged, addBackColorChanged, addClick, addDisplayStyleChanged, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addTextChanged, addVisibleChanged, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, 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, removeDisplayStyleChanged, removeDoubleClick, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeForeColorChanged, removeGiveFeedback, removeLocationChanged, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeOwnerChanged, removePaint, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRightToLeftChanged, removeTextChanged, removeVisibleChanged, ResetBackColor, ResetDisplayStyle, ResetFont, ResetForeColor, ResetImage, ResetMargin, ResetPadding, ResetRightToLeft, ResetTextDirection, Select, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAlignment, setAllowDrop, setAnchor, setAutoSize, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, 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, setWidthaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, 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 ToolStripButton()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ConfigurationErrorsException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException,
SecurityException,
InvalidEnumArgumentException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionpublic ToolStripButton(Image image) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException, InvalidAsynchronousStateException, NullReferenceException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripButton(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripButton(java.lang.String text)
throws java.lang.Throwable,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
OverflowException,
InvalidAsynchronousStateException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripButton(java.lang.String text,
Image image)
throws java.lang.Throwable,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
OverflowException,
InvalidAsynchronousStateException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick)
throws java.lang.Throwable,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
OverflowException,
InvalidAsynchronousStateException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripButton(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
SecurityException,
InvalidEnumArgumentException,
OverflowException,
InvalidAsynchronousStateException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic void addCheckedChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCheckStateChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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.Throwablepublic boolean getChecked()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getCheckOnClick()
throws java.lang.Throwable
java.lang.Throwablepublic CheckState getCheckState() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ToolStripItemString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ToolStripItemString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ToolStripItemObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ToolStripItemString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ToolStripItemJCType representing the CLR Type of the instantiated Classpublic Size GetPreferredSize(Size constrainingSize) throws java.lang.Throwable, ArgumentNullException
GetPreferredSize in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionpublic void removeCheckedChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCheckStateChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setAutoToolTip(boolean AutoToolTip)
throws java.lang.Throwable
setAutoToolTip in class ToolStripItemjava.lang.Throwablepublic void setChecked(boolean Checked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
ArgumentOutOfRangeException,
NotImplementedException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException,
NullReferenceException,
OutOfMemoryException,
RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionRankExceptionpublic void setCheckOnClick(boolean CheckOnClick)
throws java.lang.Throwable
java.lang.Throwablepublic 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, RankException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionRankExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ToolStripItem