Package system.drawing.design
Class ToolboxItem
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.drawing.design.ToolboxItem
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
- Direct Known Subclasses:
ActivityToolboxItem
,WebControlToolboxItem
public class ToolboxItem extends NetObject implements ISerializable
The base .NET class managing System.Drawing.Design.ToolboxItem, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.Design.ToolboxItem
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.String
assemblyFullName
Fully assembly qualified name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Drawingstatic java.lang.String
className
Qualified class name: System.Drawing.Design.ToolboxItemstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolboxItem()
ToolboxItem(java.lang.Object instance)
Internal constructor.ToolboxItem(NetType toolType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponentsCreated(ToolboxComponentsCreatedEventHandler handler)
void
addComponentsCreating(ToolboxComponentsCreatingEventHandler handler)
static ToolboxItem
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolboxItem
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typeboolean
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)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Drawing- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Drawing.Design.ToolboxItem- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
ToolboxItem
public ToolboxItem(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolboxItem
public ToolboxItem() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, ConfigurationErrorsException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException
-
ToolboxItem
public ToolboxItem(NetType toolType) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationErrorsException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidCastException, NullReferenceException, MissingMethodException, FormatException, SecurityException, FileNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationErrorsException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidCastException
NullReferenceException
MissingMethodException
FormatException
SecurityException
FileNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolboxItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoToolboxItem
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolboxItem
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateComponents
public IComponent[] CreateComponents() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, NotSupportedException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, SecurityException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, SecurityException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
SecurityException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host, IDictionary defaultValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, FormatException, MissingManifestResourceException, ObjectDisposedException, SecurityException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
TypeLoadException
InvalidOperationException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
CultureNotFoundException
FormatException
MissingManifestResourceException
ObjectDisposedException
SecurityException
-
GetType
public NetType GetType(IDesignerHost host) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, TypeLoadException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
TypeLoadException
InvalidOperationException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
CultureNotFoundException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
Initialize
public void Initialize(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, FormatException, SecurityException, ConfigurationErrorsException, InvalidEnumArgumentException, Win32Exception, FileNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
InvalidCastException
NullReferenceException
FormatException
SecurityException
ConfigurationErrorsException
InvalidEnumArgumentException
Win32Exception
FileNotFoundException
-
Lock
public void Lock() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsTransient
public boolean getIsTransient() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setIsTransient
public void setIsTransient(boolean IsTransient) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getLocked
public boolean getLocked() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFilter
public ICollection getFilter() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setFilter
public void setFilter(ICollection Filter) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getProperties
public IDictionary getProperties() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
-
getBitmap
public Bitmap getBitmap() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setBitmap
public void setBitmap(Bitmap Bitmap) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getOriginalBitmap
public Bitmap getOriginalBitmap() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setOriginalBitmap
public void setOriginalBitmap(Bitmap OriginalBitmap) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getAssemblyName
public AssemblyName getAssemblyName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setAssemblyName
public void setAssemblyName(AssemblyName AssemblyName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getDependentAssemblies
public final AssemblyName[] getDependentAssemblies() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setDependentAssemblies
public void setDependentAssemblies(AssemblyName[] DependentAssemblies) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getCompany
public java.lang.String getCompany() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setCompany
public void setCompany(java.lang.String Company) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getComponentType
public java.lang.String getComponentType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getDescription
public java.lang.String getDescription() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setDescription
public void setDescription(java.lang.String Description) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getDisplayName
public java.lang.String getDisplayName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setDisplayName
public void setDisplayName(java.lang.String DisplayName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getVersion
public java.lang.String getVersion() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
addComponentsCreated
public void addComponentsCreated(ToolboxComponentsCreatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeComponentsCreated
public void removeComponentsCreated(ToolboxComponentsCreatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addComponentsCreating
public void addComponentsCreating(ToolboxComponentsCreatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeComponentsCreating
public void removeComponentsCreating(ToolboxComponentsCreatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-