public class MenuStrip extends ToolStrip
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.MenuStrip
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.MenuStrip
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MenuStrip()
Initializes a new instance by invoking the .NET constructor.
|
MenuStrip(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuActivate(EventHandler handler)
Invokes the .NET member addMenuActivate.
|
void |
addMenuDeactivate(EventHandler handler)
Invokes the .NET member addMenuDeactivate.
|
static MenuStrip |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MenuStrip, a cast assert is made to check if types are compatible. |
boolean |
getCanOverflow()
Gets the value of the .NET property CanOverflow.
|
ToolStripGripStyle |
getGripStyle()
Gets the value of the .NET property GripStyle.
|
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. |
ToolStripMenuItem |
getMdiWindowListItem()
Gets the value of the .NET property MdiWindowListItem.
|
boolean |
getShowItemToolTips()
Gets the value of the .NET property ShowItemToolTips.
|
boolean |
getStretch()
Gets the value of the .NET property Stretch.
|
void |
removeMenuActivate(EventHandler handler)
Invokes the .NET member removeMenuActivate.
|
void |
removeMenuDeactivate(EventHandler handler)
Invokes the .NET member removeMenuDeactivate.
|
void |
setCanOverflow(boolean CanOverflow)
Sets the value of the .NET property CanOverflow.
|
void |
setGripStyle(ToolStripGripStyle GripStyle)
Sets the value of the .NET property GripStyle.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMdiWindowListItem(ToolStripMenuItem MdiWindowListItem)
Sets the value of the .NET property MdiWindowListItem.
|
void |
setShowItemToolTips(boolean ShowItemToolTips)
Sets the value of the .NET property ShowItemToolTips.
|
void |
setStretch(boolean Stretch)
Sets the value of the .NET property Stretch.
|
addAutoSizeChanged, addBeginDrag, addCausesValidationChanged, addControlAdded, addControlRemoved, addCursorChanged, addEndDrag, addForeColorChanged, addItemAdded, addItemClicked, addItemRemoved, addLayoutCompleted, addLayoutStyleChanged, addPaintGrip, addRendererChanged, getAllowItemReorder, getAllowMerge, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getBackColor, getCausesValidation, GetChildAtPointNewToolStrip, GetChildAtPointNewToolStrip, getDefaultDropDownDirection, getForeColor, getGripDisplayStyle, getGripMargin, getGripRectangle, getHasChildren, getHorizontalScroll, getImageList, getImageScalingSize, getIsCurrentlyDragging, getIsDropDown, GetItemAt, GetItemAt, getItems, getLayoutSettings, getLayoutStyle, GetNextItem, getOrientation, getOverflowButton, getRenderer, getRenderMode, getTabStop, getTextDirection, getVerticalScroll, removeAutoSizeChanged, removeBeginDrag, removeCausesValidationChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeEndDrag, removeForeColorChanged, removeItemAdded, removeItemClicked, removeItemRemoved, removeLayoutCompleted, removeLayoutStyleChanged, removePaintGrip, removeRendererChanged, ResetMinimumSizeNewToolStrip, setAllowItemReorder, setAllowMerge, setAutoScrollMargin, SetAutoScrollMarginNewToolStrip, setAutoScrollMinSize, setAutoScrollPosition, setBackColor, setCausesValidation, setDefaultDropDownDirection, setForeColor, setGripMargin, setImageList, setImageScalingSize, setLayoutSettings, setLayoutStyle, setOrientation, setRenderer, setRenderMode, setTabStop, setTextDirectionaddScroll, getAutoScroll, removeScroll, ScrollControlIntoView, setAutoScroll, SetAutoScrollMarginaddBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, 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, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, 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, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, 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 MenuStrip()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
FormatException,
Win32Exception,
OutOfMemoryException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
ThreadStateException
java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itpublic MenuStrip(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 addMenuActivate(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 addMenuDeactivate(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 MenuStrip cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MenuStrip, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMenuStrip instancejava.lang.Throwable - in case of error during cast operationpublic boolean getCanOverflow()
throws java.lang.Throwable
getCanOverflow in class ToolStripjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ToolStripGripStyle getGripStyle() throws java.lang.Throwable
getGripStyle in class ToolStripjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ToolStrippublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ToolStrippublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ToolStripnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ToolStrippublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ToolStrippublic ToolStripMenuItem getMdiWindowListItem() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowItemToolTips()
throws java.lang.Throwable
getShowItemToolTips in class ToolStripjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getStretch()
throws java.lang.Throwable
getStretch in class ToolStripjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeMenuActivate(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 removeMenuDeactivate(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 setCanOverflow(boolean CanOverflow)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArgumentException,
ArrayTypeMismatchException
setCanOverflow in class ToolStripCanOverflow - 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 itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setGripStyle(ToolStripGripStyle GripStyle) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException, Win32Exception
setGripStyle in class ToolStripGripStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ToolStripinstance - the new underlying objectpublic void setMdiWindowListItem(ToolStripMenuItem MdiWindowListItem) throws java.lang.Throwable
MdiWindowListItem - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowItemToolTips(boolean ShowItemToolTips)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
Win32Exception,
OutOfMemoryException,
InvalidOperationException,
NotSupportedException,
InvalidEnumArgumentException,
ThreadStateException,
OverflowException
setShowItemToolTips in class ToolStripShowItemToolTips - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setStretch(boolean Stretch)
throws java.lang.Throwable
setStretch in class ToolStripStretch - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR