public class ToolStripMenuItem extends ToolStripDropDownItem
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripMenuItem
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.ToolStripMenuItem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripMenuItem() |
ToolStripMenuItem(Image image) |
ToolStripMenuItem(java.lang.Object instance)
Internal constructor.
|
ToolStripMenuItem(java.lang.String text) |
ToolStripMenuItem(java.lang.String text,
Image image) |
ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick) |
ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick,
Keys shortcutKeys) |
ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name) |
ToolStripMenuItem(java.lang.String text,
Image image,
ToolStripItem... dropDownItems) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckedChanged(EventHandler handler) |
void |
addCheckStateChanged(EventHandler handler) |
static ToolStripMenuItem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripMenuItem, a cast assert is made to check if types are compatible. |
boolean |
getChecked() |
boolean |
getCheckOnClick() |
CheckState |
getCheckState() |
boolean |
getIsMdiWindowListEntry() |
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
|
ToolStripItemOverflow |
getOverflow() |
java.lang.String |
getShortcutKeyDisplayString() |
Keys |
getShortcutKeys() |
boolean |
getShowShortcutKeys() |
void |
removeCheckedChanged(EventHandler handler) |
void |
removeCheckStateChanged(EventHandler handler) |
void |
setChecked(boolean Checked) |
void |
setCheckOnClick(boolean CheckOnClick) |
void |
setCheckState(CheckState CheckState) |
void |
setJCOInstance(JCObject instance) |
void |
setOverflow(ToolStripItemOverflow Overflow) |
void |
setShortcutKeyDisplayString(java.lang.String ShortcutKeyDisplayString) |
void |
setShortcutKeys(Keys ShortcutKeys) |
void |
setShowShortcutKeys(boolean ShowShortcutKeys) |
addDropDownClosed, addDropDownItemClicked, addDropDownOpened, addDropDownOpening, getDropDown, getDropDownDirection, getDropDownItems, getHasDropDown, getHasDropDownItems, HideDropDown, removeDropDownClosed, removeDropDownItemClicked, removeDropDownOpened, removeDropDownOpening, setDropDown, setDropDownDirection, ShowDropDownaddAvailableChanged, 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, getAutoToolTip, 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, getOwner, getOwnerItem, getPadding, getPlacement, GetPreferredSize, 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, setAutoToolTip, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, setDisplayStyle, setDock, setDoubleClickEnabled, setEnabled, setFont, setForeColor, setHeight, setImage, setImageAlign, setImageIndex, setImageKey, setImageScaling, setImageTransparentColor, setMargin, setMergeAction, setMergeIndex, setName, 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 ToolStripMenuItem()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
SecurityException,
InvalidEnumArgumentException
public ToolStripMenuItem(Image image) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripMenuItem(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripMenuItem(java.lang.String text)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripMenuItem(java.lang.String text,
Image image)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick,
Keys shortcutKeys)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
NullReferenceException,
MulticastNotSupportedException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionWin32Exceptionpublic ToolStripMenuItem(java.lang.String text,
Image image,
EventHandler onClick,
java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
SecurityException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
OverflowException,
InvalidAsynchronousStateException,
NullReferenceException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowExceptionInvalidAsynchronousStateExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic ToolStripMenuItem(java.lang.String text,
Image image,
ToolStripItem... dropDownItems)
throws java.lang.Throwable,
ConfigurationErrorsException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidEnumArgumentException,
NullReferenceException,
MulticastNotSupportedException,
NotSupportedException,
RankException
public void addCheckedChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCheckStateChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static ToolStripMenuItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripMenuItem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripMenuItem instancejava.lang.Throwable - in case of error during cast operationpublic 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 boolean getIsMdiWindowListEntry()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ToolStripDropDownItemString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ToolStripDropDownItemString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ToolStripDropDownItemObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ToolStripDropDownItemString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ToolStripDropDownItemJCType representing the CLR Type of the instantiated Classpublic ToolStripItemOverflow getOverflow() throws java.lang.Throwable
getOverflow in class ToolStripItemjava.lang.Throwablepublic java.lang.String getShortcutKeyDisplayString()
throws java.lang.Throwable
java.lang.Throwablepublic Keys getShortcutKeys() throws java.lang.Throwable
java.lang.Throwablepublic boolean getShowShortcutKeys()
throws java.lang.Throwable
java.lang.Throwablepublic void removeCheckedChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCheckStateChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setChecked(boolean Checked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
ArgumentOutOfRangeException,
NotImplementedException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException,
RankException,
Win32Exception,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionWin32ExceptionOutOfMemoryExceptionpublic 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, RankException, Win32Exception, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionWin32ExceptionNullReferenceExceptionOutOfMemoryExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ToolStripDropDownItempublic void setOverflow(ToolStripItemOverflow Overflow) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
setOverflow in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setShortcutKeyDisplayString(java.lang.String ShortcutKeyDisplayString)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
NotSupportedException
public void setShortcutKeys(Keys ShortcutKeys) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionpublic void setShowShortcutKeys(boolean ShowShortcutKeys)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
NotSupportedException