Package system.windows.forms
Class ContextMenuStrip
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class ContextMenuStrip extends ToolStripDropDownMenu
The base .NET class managing System.Windows.Forms.ContextMenuStrip, 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.ContextMenuStrip
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.ContextMenuStripstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ContextMenuStrip()
ContextMenuStrip(java.lang.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.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 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, 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.ContextMenuStrip- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContextMenuStrip
public ContextMenuStrip(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ContextMenuStrip
public ContextMenuStrip() throws java.lang.Throwable, ArgumentOutOfRangeException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, OutOfMemoryException, ThreadStateException, SecurityException, IOException, ExternalException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
Win32Exception
ArgumentException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
ArgumentNullException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
OutOfMemoryException
ThreadStateException
SecurityException
IOException
ExternalException
KeyNotFoundException
-
ContextMenuStrip
public ContextMenuStrip(IContainer container) throws java.lang.Throwable, ArgumentOutOfRangeException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, OutOfMemoryException, ThreadStateException, SecurityException, IOException, ExternalException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
Win32Exception
ArgumentException
PlatformNotSupportedException
InvalidOperationException
NotSupportedException
ArgumentNullException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
OutOfMemoryException
ThreadStateException
SecurityException
IOException
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 classToolStripDropDownMenu
- 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 classToolStripDropDownMenu
- 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 classToolStripDropDownMenu
- 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 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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
getSourceControl
public Control getSourceControl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-