public class ToolboxItem extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.Design.ToolboxItem
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.Drawing.Design.ToolboxItem
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolboxItem() |
ToolboxItem(NetType toolType) |
ToolboxItem(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentsCreated(ToolboxComponentsCreatedEventHandler handler) |
void |
addComponentsCreating(ToolboxComponentsCreatingEventHandler handler) |
static ToolboxItem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolboxItem, a cast assert is made to check if types are compatible. |
IComponent[] |
CreateComponents() |
IComponent[] |
CreateComponents(IDesignerHost host) |
IComponent[] |
CreateComponents(IDesignerHost host,
IDictionary defaultValues) |
AssemblyName |
getAssemblyName() |
Bitmap |
getBitmap() |
java.lang.String |
getCompany() |
java.lang.String |
getComponentType() |
AssemblyName[] |
getDependentAssemblies() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
ICollection |
getFilter() |
boolean |
getIsTransient() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getLocked() |
Bitmap |
getOriginalBitmap() |
IDictionary |
getProperties() |
NetType |
GetType(IDesignerHost host) |
java.lang.String |
getTypeName() |
java.lang.String |
getVersion() |
void |
Initialize(NetType type) |
void |
Lock() |
void |
removeComponentsCreated(ToolboxComponentsCreatedEventHandler handler) |
void |
removeComponentsCreating(ToolboxComponentsCreatingEventHandler handler) |
void |
setAssemblyName(AssemblyName AssemblyName) |
void |
setBitmap(Bitmap Bitmap) |
void |
setCompany(java.lang.String Company) |
void |
setDependentAssemblies(AssemblyName[] DependentAssemblies) |
void |
setDescription(java.lang.String Description) |
void |
setDisplayName(java.lang.String DisplayName) |
void |
setFilter(ICollection Filter) |
void |
setIsTransient(boolean IsTransient) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setOriginalBitmap(Bitmap OriginalBitmap) |
void |
setTypeName(java.lang.String TypeName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ToolboxItem()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic ToolboxItem(NetType toolType) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionpublic ToolboxItem(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addComponentsCreated(ToolboxComponentsCreatedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addComponentsCreating(ToolboxComponentsCreatingEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static ToolboxItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolboxItem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolboxItem instancejava.lang.Throwable - in case of error during cast operationpublic IComponent[] CreateComponents() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, TypeLoadException, FileLoadException, CultureNotFoundException, OutOfMemoryException, MulticastNotSupportedException, NullReferenceException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionTypeLoadExceptionFileLoadExceptionCultureNotFoundExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionNullReferenceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionpublic IComponent[] CreateComponents(IDesignerHost host) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, TypeLoadException, FileLoadException, ArgumentNullException, CultureNotFoundException, MulticastNotSupportedException, NullReferenceException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionTypeLoadExceptionFileLoadExceptionArgumentNullExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionpublic IComponent[] CreateComponents(IDesignerHost host, IDictionary defaultValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, FileLoadException, NotSupportedException, InvalidOperationException, CultureNotFoundException, MulticastNotSupportedException, NullReferenceException, ObjectDisposedException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionTypeLoadExceptionFileLoadExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionpublic AssemblyName getAssemblyName() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic Bitmap getBitmap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getCompany()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getComponentType()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public final AssemblyName[] getDependentAssemblies() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getDescription()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getDisplayName()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic ICollection getFilter() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic boolean getIsTransient()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic boolean getLocked()
throws java.lang.Throwable
java.lang.Throwablepublic Bitmap getOriginalBitmap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic IDictionary getProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic NetType GetType(IDesignerHost host) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, TypeLoadException, FormatException, InvalidOperationException, FileLoadException, FileNotFoundException, CultureNotFoundException, MulticastNotSupportedException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionTypeLoadExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionpublic java.lang.String getTypeName()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic java.lang.String getVersion()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic void Initialize(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, KeyNotFoundException, InvalidEnumArgumentException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionKeyNotFoundExceptionInvalidEnumArgumentExceptionWin32Exceptionpublic void Lock()
throws java.lang.Throwable
java.lang.Throwablepublic void removeComponentsCreated(ToolboxComponentsCreatedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeComponentsCreating(ToolboxComponentsCreatingEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setAssemblyName(AssemblyName AssemblyName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setBitmap(Bitmap Bitmap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setCompany(java.lang.String Company)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setDependentAssemblies(AssemblyName[] DependentAssemblies) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setDescription(java.lang.String Description)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setDisplayName(java.lang.String DisplayName)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setFilter(ICollection Filter) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setIsTransient(boolean IsTransient)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setOriginalBitmap(Bitmap OriginalBitmap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic void setTypeName(java.lang.String TypeName)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException