Package system.windows.forms
Class ToolStripOverflow
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDropTarget
public class ToolStripOverflow extends ToolStripDropDown
The base .NET class managing System.Windows.Forms.ToolStripOverflow, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripOverflow
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.ToolStripOverflowstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripOverflow()
ToolStripOverflow(Object instance)
Internal constructor.ToolStripOverflow(ToolStripItem parentItem)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToolStripOverflow
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolStripOverflow
, 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 TypeSize
GetPreferredSize(Size constrainingSize)
void
setJCOInstance(JCObject instance)
-
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, getLayoutStyle, 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, setLayoutStyle, 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, getProductName, getProductVersion, getRecreatingHandle, getRight, getRightToLeft, getSize, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, 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
CreateObjRef, 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=4.0.0.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.ToolStripOverflow- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripOverflow
public ToolStripOverflow(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ToolStripOverflow
public ToolStripOverflow(ToolStripItem parentItem) throws Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ConfigurationErrorsException, ArgumentException, MissingManifestResourceException, Win32Exception, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, OutOfMemoryException, ObjectDisposedException, IndexOutOfRangeException, ThreadStateException, KeyNotFoundException, ExternalException
- Throws:
Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
ConfigurationErrorsException
ArgumentException
MissingManifestResourceException
Win32Exception
InvalidOperationException
NotSupportedException
SecurityException
InvalidEnumArgumentException
OutOfMemoryException
ObjectDisposedException
IndexOutOfRangeException
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 classToolStripDropDown
- 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 classToolStripDropDown
- 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 classToolStripDropDown
- 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 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 ToolStripOverflow cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoToolStripOverflow
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolStripOverflow
instance- Throws:
Throwable
- in case of error during cast operation
-
GetPreferredSize
public Size GetPreferredSize(Size constrainingSize) throws Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Overrides:
GetPreferredSize
in classControl
- Throws:
Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
Win32Exception
NotSupportedException
SecurityException
NullReferenceException
OutOfMemoryException
-
-