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=4.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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ContextMenuStripstatic JCTypeclassTypeThe 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 ContextMenuStripcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoContextMenuStrip, a cast assert is made to check if types are compatible.java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeControlgetSourceControl()voidsetJCOInstance(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, addContextMenuChanged, 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, getContextMenu, getContextMenuStrip, getDropShadowEnabled, getGripDisplayStyle, getGripMargin, getGripRectangle, getGripStyle, getIsAutoGenerated, getLocation, getOpacity, getOverflowButton, getOwnerItem, getRegion, getStretch, getTabIndex, getTopLevel, getVisible, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeChangeUICues, removeClosed, removeClosing, removeContextMenuChanged, 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, setContextMenu, 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, 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, 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, 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, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, 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
CreateObjRef, 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=4.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.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ContextMenuStrip
public ContextMenuStrip() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ConfigurationErrorsException, ArgumentException, MissingManifestResourceException, Win32Exception, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, OutOfMemoryException, ObjectDisposedException, IndexOutOfRangeException, ThreadStateException, KeyNotFoundException, ExternalException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionArgumentExceptionMissingManifestResourceExceptionWin32ExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionThreadStateExceptionKeyNotFoundExceptionExternalException
-
ContextMenuStrip
public ContextMenuStrip(IContainer container) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ConfigurationErrorsException, ArgumentException, MissingManifestResourceException, Win32Exception, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, OutOfMemoryException, ObjectDisposedException, IndexOutOfRangeException, ThreadStateException, KeyNotFoundException, ExternalException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionArgumentExceptionMissingManifestResourceExceptionWin32ExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionThreadStateExceptionKeyNotFoundExceptionExternalException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classToolStripDropDownMenu- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDropTarget- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classToolStripDropDownMenu- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDropTarget- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classToolStripDropDownMenu- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDropTarget- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classToolStripDropDownMenu- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classToolStripDropDownMenu
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classToolStripDropDownMenu- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ContextMenuStrip cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoContextMenuStrip, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ContextMenuStripinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getSourceControl
public Control getSourceControl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-