public class ToolStripDropDownItem extends ToolStripItem
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolStripDropDownItem
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=8.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.ToolStripDropDownItem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripDropDownItem() |
ToolStripDropDownItem(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDropDownClosed(EventHandler handler)
Invokes the .NET member addDropDownClosed.
|
void |
addDropDownItemClicked(ToolStripItemClickedEventHandler handler)
Invokes the .NET member addDropDownItemClicked.
|
void |
addDropDownOpened(EventHandler handler)
Invokes the .NET member addDropDownOpened.
|
void |
addDropDownOpening(EventHandler handler)
Invokes the .NET member addDropDownOpening.
|
static ToolStripDropDownItem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripDropDownItem, a cast assert is made to check if types are compatible. |
ToolStripDropDown |
getDropDown()
Gets the value of the .NET property DropDown.
|
ToolStripDropDownDirection |
getDropDownDirection()
Gets the value of the .NET property DropDownDirection.
|
ToolStripItemCollection |
getDropDownItems()
Gets the value of the .NET property DropDownItems.
|
boolean |
getHasDropDown()
Gets the value of the .NET property HasDropDown.
|
boolean |
getHasDropDownItems()
Gets the value of the .NET property HasDropDownItems.
|
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. |
void |
HideDropDown()
Invokes the .NET member HideDropDown.
|
void |
removeDropDownClosed(EventHandler handler)
Invokes the .NET member removeDropDownClosed.
|
void |
removeDropDownItemClicked(ToolStripItemClickedEventHandler handler)
Invokes the .NET member removeDropDownItemClicked.
|
void |
removeDropDownOpened(EventHandler handler)
Invokes the .NET member removeDropDownOpened.
|
void |
removeDropDownOpening(EventHandler handler)
Invokes the .NET member removeDropDownOpening.
|
void |
setDropDown(ToolStripDropDown DropDown)
Sets the value of the .NET property DropDown.
|
void |
setDropDownDirection(ToolStripDropDownDirection DropDownDirection)
Sets the value of the .NET property DropDownDirection.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
ShowDropDown()
Invokes the .NET member ShowDropDown.
|
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, addTextChanged, addVisibleChanged, DoDragDrop, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAutoToolTip, 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, GetPreferredSize, 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, 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, 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 ToolStripDropDownItem()
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripDropDownItem(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 void addDropDownClosed(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 addDropDownItemClicked(ToolStripItemClickedEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolStripItemClickedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addDropDownOpened(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 addDropDownOpening(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 ToolStripDropDownItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripDropDownItem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripDropDownItem instancejava.lang.Throwable - in case of error during cast operationpublic ToolStripDropDown getDropDown() throws java.lang.Throwable, ArgumentOutOfRangeException, Win32Exception, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ToolStripDropDownDirection getDropDownDirection() throws java.lang.Throwable, ArgumentNullException, InvalidEnumArgumentException, ArgumentOutOfRangeException, ArgumentException, Win32Exception, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, MulticastNotSupportedException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ToolStripItemCollection getDropDownItems() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, Win32Exception, PlatformNotSupportedException, NotSupportedException, MulticastNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic boolean getHasDropDown()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasDropDownItems()
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itpublic 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 void HideDropDown()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException,
Win32Exception,
MulticastNotSupportedException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void removeDropDownClosed(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 removeDropDownItemClicked(ToolStripItemClickedEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolStripItemClickedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeDropDownOpened(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 removeDropDownOpening(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 setDropDown(ToolStripDropDown DropDown) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, MulticastNotSupportedException
DropDown - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic void setDropDownDirection(ToolStripDropDownDirection DropDownDirection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException
DropDownDirection - 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 itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ToolStripIteminstance - the new underlying objectpublic void ShowDropDown()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
MulticastNotSupportedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
NotSupportedException,
OutOfMemoryException,
ArrayTypeMismatchException,
FormatException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises it