Package system.windows.forms
Class ToolStripDropDownMenu
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDropTarget
- Direct Known Subclasses:
ContextMenuStrip
public class ToolStripDropDownMenu extends ToolStripDropDown
The base .NET class managing System.Windows.Forms.ToolStripDropDownMenu, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripDropDownMenu
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.ToolStripDropDownMenustatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripDropDownMenu()
ToolStripDropDownMenu(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolStripDropDownMenu
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolStripDropDownMenu
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeToolStripLayoutStyle
getLayoutStyle()
boolean
getShowCheckMargin()
boolean
getShowImageMargin()
void
setJCOInstance(JCObject instance)
void
setLayoutStyle(ToolStripLayoutStyle LayoutStyle)
void
setShowCheckMargin(boolean ShowCheckMargin)
void
setShowImageMargin(boolean ShowImageMargin)
-
Methods inherited from class system.windows.forms.ToolStripDropDown
addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addChangeUICues, addClosed, addClosing, addContextMenuStripChanged, addDockChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addHelpRequested, addImeModeChanged, addKeyDown, addKeyPress, addKeyUp, addLeave, addOpened, addOpening, addRegionChanged, addScroll, addStyleChanged, addTabIndexChanged, addTabStopChanged, addTextChanged, addValidated, addValidating, Close, Close, getAllowItemReorder, getAllowTransparency, getAutoClose, getCanOverflow, getContextMenuStrip, getDropShadowEnabled, getGripDisplayStyle, getGripMargin, getGripRectangle, getGripStyle, getIsAutoGenerated, getLocation, getOpacity, getOverflowButton, getOwnerItem, getRegion, getStretch, getTabIndex, getTopLevel, getVisible, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeChangeUICues, removeClosed, removeClosing, removeContextMenuStripChanged, removeDockChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeHelpRequested, removeImeModeChanged, removeKeyDown, removeKeyPress, removeKeyUp, removeLeave, removeOpened, removeOpening, removeRegionChanged, removeScroll, removeStyleChanged, removeTabIndexChanged, removeTabStopChanged, removeTextChanged, removeValidated, removeValidating, setAllowItemReorder, setAllowTransparency, setAutoClose, setCanOverflow, setContextMenuStrip, setDropShadowEnabled, setGripMargin, setGripStyle, setLocation, setOpacity, setOwnerItem, setRegion, setStretch, setTabIndex, setTopLevel, setVisible, Show, Show, Show, Show, Show, Show, ShowNewToolStripDropDown
-
Methods inherited from class system.windows.forms.ToolStrip
addAutoSizeChanged, addBeginDrag, addCausesValidationChanged, addControlAdded, addControlRemoved, addCursorChanged, addEndDrag, addItemAdded, addItemClicked, addItemRemoved, addLayoutCompleted, addLayoutStyleChanged, addPaintGrip, addRendererChanged, getAllowMerge, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getBackColor, getCausesValidation, GetChildAtPointNewToolStrip, GetChildAtPointNewToolStrip, getDefaultDropDownDirection, getForeColor, getHasChildren, getHorizontalScroll, getImageList, getImageScalingSize, getIsCurrentlyDragging, getIsDropDown, GetItemAt, GetItemAt, getItems, getLayoutSettings, GetNextItem, getOrientation, getRenderer, getRenderMode, getShowItemToolTips, getTabStop, getTextDirection, getVerticalScroll, removeAutoSizeChanged, removeBeginDrag, removeCausesValidationChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeEndDrag, removeItemAdded, removeItemClicked, removeItemRemoved, removeLayoutCompleted, removeLayoutStyleChanged, removePaintGrip, removeRendererChanged, ResetMinimumSizeNewToolStrip, setAllowMerge, setAutoScrollMargin, SetAutoScrollMarginNewToolStrip, setAutoScrollMinSize, setAutoScrollPosition, setBackColor, setCausesValidation, setDefaultDropDownDirection, setForeColor, setImageList, setImageScalingSize, setLayoutSettings, setOrientation, setRenderer, setRenderMode, setShowItemToolTips, setTabStop, setTextDirection
-
Methods inherited from class system.windows.forms.ScrollableControl
getAutoScroll, ScrollControlIntoView, setAutoScroll, SetAutoScrollMargin
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addClick, addClientSizeChanged, addDataContextChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addGotFocus, addHandleCreated, addHandleDestroyed, addInvalidated, addLayout, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addResize, addRightToLeftChanged, addSizeChanged, addSystemColorsChanged, 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, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRight, getRightToLeft, getSize, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeClick, removeClientSizeChanged, removeDataContextChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeInvalidated, removeLayout, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeResize, removeRightToLeftChanged, removeSizeChanged, removeSystemColorsChanged, 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, setCursor, setDataContext, setDock, setEnabled, setFont, setHeight, setImeMode, setIsAccessible, setLeft, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRightToLeft, setSize, setTag, setText, setTop, setUseWaitCursor, setWidth, setWindowTarget, Show, SuspendLayout, Update
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.forms.IDropTarget
OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.ToolStripDropDownMenu- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripDropDownMenu
public ToolStripDropDownMenu(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolStripDropDownMenu
public ToolStripDropDownMenu() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, OutOfMemoryException, MulticastNotSupportedException, ThreadStateException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, AbandonedMutexException, ExternalException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
Win32Exception
ArgumentException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
OutOfMemoryException
MulticastNotSupportedException
ThreadStateException
ObjectDisposedException
SecurityException
IOException
UnauthorizedAccessException
AbandonedMutexException
ExternalException
KeyNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDropTarget
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classToolStripDropDown
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDropTarget
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classToolStripDropDown
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDropTarget
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classToolStripDropDown
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classToolStripDropDown
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classToolStripDropDown
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDropTarget
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classToolStripDropDown
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolStripDropDownMenu cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoToolStripDropDownMenu
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolStripDropDownMenu
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getShowCheckMargin
public boolean getShowCheckMargin() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowCheckMargin
public void setShowCheckMargin(boolean ShowCheckMargin) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
-
getShowImageMargin
public boolean getShowImageMargin() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowImageMargin
public void setShowImageMargin(boolean ShowImageMargin) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
-
getLayoutStyle
public ToolStripLayoutStyle getLayoutStyle() throws java.lang.Throwable
- Overrides:
getLayoutStyle
in classToolStrip
- Throws:
java.lang.Throwable
-
setLayoutStyle
public void setLayoutStyle(ToolStripLayoutStyle LayoutStyle) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, ThreadStateException, RankException, ArrayTypeMismatchException, NotSupportedException
- Overrides:
setLayoutStyle
in classToolStrip
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
ThreadStateException
RankException
ArrayTypeMismatchException
NotSupportedException
-
-