public class ComponentTray extends ScrollableControl
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.Design.ComponentTray
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Design
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Design.ComponentTray
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ComponentTray() |
ComponentTray(IDesigner mainDesigner,
IServiceProvider serviceProvider)
Initializes a new instance by invoking the .NET constructor.
|
ComponentTray(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddComponent(IComponent component)
Invokes the .NET member AddComponent.
|
static ComponentTray |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ComponentTray, a cast assert is made to check if types are compatible. |
void |
CreateComponentFromTool(ToolboxItem tool)
Invokes the .NET member CreateComponentFromTool.
|
boolean |
getAutoArrange()
Gets the value of the .NET property AutoArrange.
|
int |
getComponentCount()
Gets the value of the .NET property ComponentCount.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Point |
GetLocation(IComponent receiver)
Invokes the .NET member GetLocation.
|
IComponent |
GetNextComponent(IComponent component,
boolean forward)
Invokes the .NET member GetNextComponent.
|
boolean |
getShowLargeIcons()
Gets the value of the .NET property ShowLargeIcons.
|
Point |
GetTrayLocation(IComponent receiver)
Invokes the .NET member GetTrayLocation.
|
boolean |
IsTrayComponent(IComponent comp)
Invokes the .NET member IsTrayComponent.
|
void |
RemoveComponent(IComponent component)
Invokes the .NET member RemoveComponent.
|
void |
setAutoArrange(boolean AutoArrange)
Sets the value of the .NET property AutoArrange.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLocation(IComponent receiver,
Point location)
Invokes the .NET member SetLocation.
|
void |
setShowLargeIcons(boolean ShowLargeIcons)
Sets the value of the .NET property ShowLargeIcons.
|
void |
SetTrayLocation(IComponent receiver,
Point location)
Invokes the .NET member SetTrayLocation.
|
addScroll, getAutoScroll, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, SetAutoScrollMargin, setAutoScrollMargin, setAutoScrollMinSize, setAutoScrollPositionaddAutoSizeChanged, addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addTextChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, InvokeAsync, InvokeAsync, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeAutoSizeChanged, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeTextChanged, removeValidated, removeValidating, 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, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ComponentTray()
throws java.lang.Throwable
java.lang.Throwablepublic ComponentTray(IDesigner mainDesigner, IServiceProvider serviceProvider) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, RankException, ArgumentException, ArrayTypeMismatchException, OutOfMemoryException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, ThreadStateException, ArgumentOutOfRangeException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidAsynchronousStateException, AbandonedMutexException, KeyNotFoundException
mainDesigner - the argument of type IDesignerserviceProvider - the argument of type IServiceProviderjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic ComponentTray(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, OutOfMemoryException, Win32Exception, ObjectDisposedException, ThreadStateException, WaitHandleCannotBeOpenedException, FormatException, MulticastNotSupportedException, AbandonedMutexException, ExternalException, KeyNotFoundException, InvalidAsynchronousStateException
component - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itFormatException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itExternalException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itpublic static ComponentTray cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ComponentTray, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedComponentTray instancejava.lang.Throwable - in case of error during cast operationpublic void CreateComponentFromTool(ToolboxItem tool) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, NotSupportedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ObjectDisposedException, Win32Exception, CultureNotFoundException, OutOfMemoryException
tool - the argument of type ToolboxItemjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean getAutoArrange()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getComponentCount()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
RankException,
IndexOutOfRangeException,
ArgumentException,
NotSupportedException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ScrollableControlpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ScrollableControlpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ScrollableControlnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ScrollableControlpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ScrollableControlpublic Point GetLocation(IComponent receiver) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
receiver - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic IComponent GetNextComponent(IComponent component, boolean forward) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
component - the argument of type IComponentforward - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getShowLargeIcons()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Point GetTrayLocation(IComponent receiver) throws java.lang.Throwable
receiver - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsTrayComponent(IComponent comp) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
comp - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void RemoveComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException
component - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setAutoArrange(boolean AutoArrange)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
FormatException,
Win32Exception,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
InvalidAsynchronousStateException,
CultureNotFoundException
AutoArrange - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ScrollableControlinstance - the new underlying objectpublic void SetLocation(IComponent receiver, Point location) throws java.lang.Throwable, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, TypeLoadException, ArgumentOutOfRangeException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
receiver - the argument of type IComponentlocation - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRWin32Exception - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setShowLargeIcons(boolean ShowLargeIcons)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
RankException,
IndexOutOfRangeException,
ArgumentException,
ArrayTypeMismatchException,
InvalidCastException,
InvalidOperationException,
NotSupportedException
ShowLargeIcons - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void SetTrayLocation(IComponent receiver, Point location) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, Win32Exception, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
receiver - the argument of type IComponentlocation - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises it