Package system.windows.forms.design
Class ComponentTray
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.Control
-
- system.windows.forms.ScrollableControl
-
- system.windows.forms.design.ComponentTray
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IExtenderProvider,IDropTarget
public class ComponentTray extends ScrollableControl implements IExtenderProvider
The base .NET class managing System.Windows.Forms.Design.ComponentTray, System.Windows.Forms.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- 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.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Forms.Designstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.Design.ComponentTraystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ComponentTray()ComponentTray(java.lang.Object instance)Internal constructor.ComponentTray(IDesigner mainDesigner, IServiceProvider serviceProvider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddComponent(IComponent component)static ComponentTraycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoComponentTray, a cast assert is made to check if types are compatible.voidCreateComponentFromTool(ToolboxItem tool)booleangetAutoArrange()intgetComponentCount()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 TypePointGetLocation(IComponent receiver)IComponentGetNextComponent(IComponent component, boolean forward)booleangetShowLargeIcons()PointGetTrayLocation(IComponent receiver)booleanIsTrayComponent(IComponent comp)voidRemoveComponent(IComponent component)voidsetAutoArrange(boolean AutoArrange)voidsetJCOInstance(JCObject instance)voidSetLocation(IComponent receiver, Point location)voidsetShowLargeIcons(boolean ShowLargeIcons)voidSetTrayLocation(IComponent receiver, Point location)-
Methods inherited from class system.windows.forms.ScrollableControl
addScroll, getAutoScroll, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, setAutoScrollMargin, SetAutoScrollMargin, setAutoScrollMinSize, setAutoScrollPosition
-
Methods inherited from class system.windows.forms.Control
addAutoSizeChanged, 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, 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, Update
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
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
-
Methods inherited from interface system.componentmodel.IExtenderProvider
CanExtend
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=9.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.Design- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.Design.ComponentTray- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ComponentTray
public ComponentTray(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ComponentTray
public ComponentTray() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ComponentTray
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionThreadStateExceptionArgumentOutOfRangeExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidAsynchronousStateExceptionAbandonedMutexExceptionKeyNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIExtenderProvider- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classScrollableControl- 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 interfaceIExtenderProvider- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classScrollableControl- 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 interfaceIExtenderProvider- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classScrollableControl- 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 interfaceIExtenderProvider- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classScrollableControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classScrollableControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIExtenderProvider- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classScrollableControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ComponentTray cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoComponentTray, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ComponentTrayinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsTrayComponent
public boolean IsTrayComponent(IComponent comp) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
GetNextComponent
public IComponent GetNextComponent(IComponent component, boolean forward) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
GetLocation
public Point GetLocation(IComponent receiver) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
-
GetTrayLocation
public Point GetTrayLocation(IComponent receiver) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AddComponent
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidOperationExceptionOutOfMemoryExceptionWin32ExceptionObjectDisposedExceptionThreadStateExceptionWaitHandleCannotBeOpenedExceptionFormatExceptionMulticastNotSupportedExceptionAbandonedMutexExceptionExternalExceptionKeyNotFoundExceptionInvalidAsynchronousStateException
-
CreateComponentFromTool
public void CreateComponentFromTool(ToolboxItem tool) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, NotSupportedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ObjectDisposedException, Win32Exception, CultureNotFoundException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionObjectDisposedExceptionWin32ExceptionCultureNotFoundExceptionOutOfMemoryException
-
RemoveComponent
public void RemoveComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException
-
SetLocation
public void SetLocation(IComponent receiver, Point location) throws java.lang.Throwable, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, TypeLoadException, ArgumentOutOfRangeException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
-
SetTrayLocation
public void SetTrayLocation(IComponent receiver, Point location) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, Win32Exception, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
-
getAutoArrange
public boolean getAutoArrange() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoArrange
public void setAutoArrange(boolean AutoArrange) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, FormatException, Win32Exception, InvalidOperationException, OutOfMemoryException, NotSupportedException, InvalidAsynchronousStateException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionFormatExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidAsynchronousStateExceptionCultureNotFoundException
-
getShowLargeIcons
public boolean getShowLargeIcons() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setShowLargeIcons
public void setShowLargeIcons(boolean ShowLargeIcons) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, NotSupportedException
-
getComponentCount
public int getComponentCount() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
-