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.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.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, 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, BringToFront, Contains, CreateControl, CreateGraphics, 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, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, 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, 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, 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, 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, setSiteCreateObjRef, GetLifetimeService, 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, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, ObjectDisposedException, OutOfMemoryException, SecurityException, ThreadStateException, IndexOutOfRangeException, RankException, InvalidAsynchronousStateException, MemberAccessException, PathTooLongException, ExternalException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionObjectDisposedExceptionOutOfMemoryExceptionSecurityExceptionThreadStateExceptionIndexOutOfRangeExceptionRankExceptionInvalidAsynchronousStateExceptionMemberAccessExceptionPathTooLongExceptionExternalExceptionpublic ComponentTray(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ConfigurationErrorsException, CultureNotFoundException, Win32Exception, OutOfMemoryException, SecurityException, ThreadStateException, MemberAccessException, MulticastNotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ExternalException, RankException, InvalidAsynchronousStateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionConfigurationErrorsExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionSecurityExceptionThreadStateExceptionMemberAccessExceptionMulticastNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionExternalExceptionRankExceptionInvalidAsynchronousStateExceptionpublic 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, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, NullReferenceException, Win32Exception, ObjectDisposedException, OutOfMemoryException, NotImplementedException, RankException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionWin32ExceptionObjectDisposedExceptionOutOfMemoryExceptionNotImplementedExceptionRankExceptionpublic boolean getAutoArrange()
throws java.lang.Throwable
java.lang.Throwablepublic int getComponentCount()
throws java.lang.Throwable,
ArgumentNullException,
FormatException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic 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, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NullReferenceException, ConfigurationException, ConfigurationErrorsException, OverflowException, MissingManifestResourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNullReferenceExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMissingManifestResourceExceptionpublic IComponent GetNextComponent(IComponent component, boolean forward) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic boolean getShowLargeIcons()
throws java.lang.Throwable
java.lang.Throwablepublic Point GetTrayLocation(IComponent receiver) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException
public boolean IsTrayComponent(IComponent comp) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException
public void RemoveComponent(IComponent component) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, Win32Exception, NotSupportedException, RankException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionConfigurationExceptionConfigurationErrorsExceptionFormatExceptionOverflowExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionRankExceptionpublic void setAutoArrange(boolean AutoArrange)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
RankException,
InvalidOperationException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
IndexOutOfRangeException,
Win32Exception,
NotSupportedException,
SecurityException,
NullReferenceException,
OutOfMemoryException,
InvalidAsynchronousStateException,
CultureNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionRankExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidAsynchronousStateExceptionCultureNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ScrollableControlpublic void SetLocation(IComponent receiver, Point location) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionNullReferenceExceptionpublic void setShowLargeIcons(boolean ShowLargeIcons)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
Win32Exception,
NotSupportedException,
SecurityException,
NullReferenceException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionpublic void SetTrayLocation(IComponent receiver, Point location) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException, Win32Exception, InvalidOperationException, ObjectDisposedException, NotSupportedException