public class ComponentTray extends ScrollableControl implements IExtenderProvider
.NET documentation at https://docs.microsoft.com/en-us/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=10.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) |
ComponentTray(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddComponent(IComponent component) |
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) |
boolean |
getAutoArrange() |
int |
getComponentCount() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
Point |
GetLocation(IComponent receiver) |
IComponent |
GetNextComponent(IComponent component,
boolean forward) |
boolean |
getShowLargeIcons() |
Point |
GetTrayLocation(IComponent receiver) |
boolean |
IsTrayComponent(IComponent comp) |
void |
RemoveComponent(IComponent component) |
void |
setAutoArrange(boolean AutoArrange) |
void |
setJCOInstance(JCObject instance) |
void |
SetLocation(IComponent receiver,
Point location) |
void |
setShowLargeIcons(boolean ShowLargeIcons) |
void |
SetTrayLocation(IComponent receiver,
Point location) |
addScroll, getAutoScroll, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, SetAutoScrollMargin, setAutoScrollMargin, setAutoScrollMinSize, setAutoScrollPositionaddAutoSizeChanged, addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuChanged, 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, getContextMenu, 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, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeAutoSizeChanged, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, 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, setContextMenu, 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, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringCanExtend, ToIExtenderProviderOnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, ToIDropTargetpublic 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, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, InvalidCastException, ObjectDisposedException, FormatException, Win32Exception, OutOfMemoryException, NotSupportedException, ThreadStateException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidAsynchronousStateException, AbandonedMutexException, KeyNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionInvalidCastExceptionObjectDisposedExceptionFormatExceptionWin32ExceptionOutOfMemoryExceptionNotSupportedExceptionThreadStateExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidAsynchronousStateExceptionAbandonedMutexExceptionKeyNotFoundExceptionpublic ComponentTray(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, OutOfMemoryException, InvalidCastException, Win32Exception, ObjectDisposedException, ThreadStateException, FormatException, AbandonedMutexException, ExternalException, KeyNotFoundException, InvalidAsynchronousStateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidOperationExceptionOutOfMemoryExceptionInvalidCastExceptionWin32ExceptionObjectDisposedExceptionThreadStateExceptionFormatExceptionAbandonedMutexExceptionExternalExceptionKeyNotFoundExceptionInvalidAsynchronousStateExceptionpublic 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
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionObjectDisposedExceptionWin32ExceptionCultureNotFoundExceptionOutOfMemoryExceptionpublic boolean getAutoArrange()
throws java.lang.Throwable
java.lang.Throwablepublic int getComponentCount()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IExtenderProvidergetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ScrollableControlString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IExtenderProvidergetJCOClassName in interface IDropTargetgetJCOClassName in class ScrollableControlString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IExtenderProvidergetJCOInstance in interface IDropTargetgetJCOInstance in class ScrollableControlObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IExtenderProvidergetJCOObjectName in interface IDropTargetgetJCOObjectName in class ScrollableControlString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IExtenderProvidergetJCOType in interface IDropTargetgetJCOType in class ScrollableControlJCType representing the CLR Type of the instantiated Classpublic Point GetLocation(IComponent receiver) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
public IComponent GetNextComponent(IComponent component, boolean forward) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic boolean getShowLargeIcons()
throws java.lang.Throwable
java.lang.Throwablepublic Point GetTrayLocation(IComponent receiver) throws java.lang.Throwable
java.lang.Throwablepublic boolean IsTrayComponent(IComponent comp) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic void RemoveComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException
public void setAutoArrange(boolean AutoArrange)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
Win32Exception,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
InvalidAsynchronousStateException,
CultureNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ScrollableControlpublic void SetLocation(IComponent receiver, Point location) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, ArgumentNullException, TypeLoadException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException
public void setShowLargeIcons(boolean ShowLargeIcons)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
InvalidCastException,
NotSupportedException
public void SetTrayLocation(IComponent receiver, Point location) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, InvalidCastException, Win32Exception, InvalidOperationException, ArgumentOutOfRangeException