public class MenuStrip extends ToolStrip
.NET documentation at https://docs.microsoft.com/en-us/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=10.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() |
MenuStrip(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuActivate(EventHandler handler) |
void |
addMenuDeactivate(EventHandler handler) |
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() |
ToolStripGripStyle |
getGripStyle() |
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
|
ToolStripMenuItem |
getMdiWindowListItem() |
boolean |
getShowItemToolTips() |
boolean |
getStretch() |
void |
removeMenuActivate(EventHandler handler) |
void |
removeMenuDeactivate(EventHandler handler) |
void |
setCanOverflow(boolean CanOverflow) |
void |
setGripStyle(ToolStripGripStyle GripStyle) |
void |
setJCOInstance(JCObject instance) |
void |
setMdiWindowListItem(ToolStripMenuItem MdiWindowListItem) |
void |
setShowItemToolTips(boolean ShowItemToolTips) |
void |
setStretch(boolean Stretch) |
addAutoSizeChanged, addBeginDrag, addCausesValidationChanged, addControlAdded, addControlRemoved, addCursorChanged, addEndDrag, addForeColorChanged, addItemAdded, addItemClicked, addItemRemoved, addLayoutCompleted, addLayoutStyleChanged, addPaintGrip, addRendererChanged, getAllowClickThrough, 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, setAllowClickThrough, 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, addContextMenuChanged, 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, getContextMenu, 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, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, 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, setContextMenu, 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, 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 MenuStrip()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
InvalidCastException,
IndexOutOfRangeException,
FormatException,
Win32Exception,
OutOfMemoryException,
NullReferenceException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
ThreadStateException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionInvalidCastExceptionIndexOutOfRangeExceptionFormatExceptionWin32ExceptionOutOfMemoryExceptionNullReferenceExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionThreadStateExceptionpublic MenuStrip(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addMenuActivate(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMenuDeactivate(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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.Throwablepublic ToolStripGripStyle getGripStyle() throws java.lang.Throwable
getGripStyle in class ToolStripjava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ToolStripString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ToolStripString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ToolStripObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ToolStripString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ToolStripJCType representing the CLR Type of the instantiated Classpublic ToolStripMenuItem getMdiWindowListItem() throws java.lang.Throwable
java.lang.Throwablepublic boolean getShowItemToolTips()
throws java.lang.Throwable
getShowItemToolTips in class ToolStripjava.lang.Throwablepublic boolean getStretch()
throws java.lang.Throwable
getStretch in class ToolStripjava.lang.Throwablepublic void removeMenuActivate(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMenuDeactivate(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setCanOverflow(boolean CanOverflow)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
InvalidCastException,
ArgumentException
setCanOverflow in class ToolStripjava.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionInvalidCastExceptionArgumentExceptionpublic void setGripStyle(ToolStripGripStyle GripStyle) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, SynchronizationLockException, KeyNotFoundException, InvalidOperationException, Win32Exception, ThreadStateException
setGripStyle in class ToolStripjava.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionSynchronizationLockExceptionKeyNotFoundExceptionInvalidOperationExceptionWin32ExceptionThreadStateExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ToolStrippublic void setMdiWindowListItem(ToolStripMenuItem MdiWindowListItem) throws java.lang.Throwable
java.lang.Throwablepublic void setShowItemToolTips(boolean ShowItemToolTips)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
OutOfMemoryException,
InvalidCastException,
Win32Exception,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
ThreadStateException,
OverflowException
setShowItemToolTips in class ToolStripjava.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidCastExceptionWin32ExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionThreadStateExceptionOverflowExceptionpublic void setStretch(boolean Stretch)
throws java.lang.Throwable
setStretch in class ToolStripjava.lang.Throwable