Package system.windows.forms
Class ContextMenuStrip
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class ContextMenuStrip extends ToolStripDropDownMenu
The base .NET class managing System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ContextMenuStrip
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.ContextMenuStripstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ContextMenuStrip()
ContextMenuStrip(Object instance)
Internal constructor.ContextMenuStrip(IContainer container)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContextMenuStrip
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoContextMenuStrip
, a cast assert is made to check if types are compatible.String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeControl
getSourceControl()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.windows.forms.ToolStripDropDownMenu
getLayoutStyle, getShowCheckMargin, getShowImageMargin, setLayoutStyle, setShowCheckMargin, setShowImageMargin
-
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, 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, 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, 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, OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeClick, removeClientSizeChanged, 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, 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, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Forms.ContextMenuStrip- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContextMenuStrip
public ContextMenuStrip(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ContextMenuStrip
public ContextMenuStrip() throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, IndexOutOfRangeException, InvalidEnumArgumentException, OutOfMemoryException, ThreadStateException, KeyNotFoundException, ExternalException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
Win32Exception
IndexOutOfRangeException
InvalidEnumArgumentException
OutOfMemoryException
ThreadStateException
KeyNotFoundException
ExternalException
-
ContextMenuStrip
public ContextMenuStrip(IContainer container) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, IndexOutOfRangeException, InvalidEnumArgumentException, OutOfMemoryException, ThreadStateException, KeyNotFoundException, ExternalException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
Win32Exception
IndexOutOfRangeException
InvalidEnumArgumentException
OutOfMemoryException
ThreadStateException
KeyNotFoundException
ExternalException
-
-
Method Detail
-
getJCOAssemblyName
public 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 classToolStripDropDownMenu
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public 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 classToolStripDropDownMenu
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classToolStripDropDownMenu
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classToolStripDropDownMenu
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classToolStripDropDownMenu
-
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 classToolStripDropDownMenu
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ContextMenuStrip cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoContextMenuStrip
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ContextMenuStrip
instance- Throws:
Throwable
- in case of error during cast operation
-
-