Package system.drawing.design
Class ToolboxItem
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.drawing.design.ToolboxItem
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
public class ToolboxItem extends NetObject implements ISerializable
The base .NET class managing System.Drawing.Design.ToolboxItem, System.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Forms.Designstatic java.lang.String
className
Qualified class name: System.Drawing.Design.ToolboxItemstatic 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 objectJCType
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(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.Windows.Forms.Design, Version=8.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.Drawing.Design.ToolboxItem- See Also:
- Constant Field Values
-
-
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, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
ToolboxItem
public ToolboxItem(NetType toolType) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
SecurityException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
OutOfMemoryException
-
-
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(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public 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, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, TypeLoadException, CultureNotFoundException, OutOfMemoryException, MulticastNotSupportedException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
TypeLoadException
CultureNotFoundException
OutOfMemoryException
MulticastNotSupportedException
RankException
ArrayTypeMismatchException
MissingMethodException
TargetInvocationException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host, IDictionary defaultValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, InvalidOperationException, CultureNotFoundException, MulticastNotSupportedException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
TypeLoadException
InvalidOperationException
CultureNotFoundException
MulticastNotSupportedException
ObjectDisposedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, TypeLoadException, CultureNotFoundException, MulticastNotSupportedException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
FormatException
TypeLoadException
CultureNotFoundException
MulticastNotSupportedException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
GetType
public NetType GetType(IDesignerHost host) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, InvalidOperationException, CultureNotFoundException, FileLoadException, MulticastNotSupportedException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentNullException
TypeLoadException
InvalidOperationException
CultureNotFoundException
FileLoadException
MulticastNotSupportedException
RankException
ArrayTypeMismatchException
-
Initialize
public void Initialize(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, OutOfMemoryException, TypeLoadException, FormatException, InvalidEnumArgumentException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
SecurityException
IndexOutOfRangeException
NotSupportedException
RankException
ArrayTypeMismatchException
OutOfMemoryException
TypeLoadException
FormatException
InvalidEnumArgumentException
Win32Exception
-
Lock
public void Lock() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsTransient
public boolean getIsTransient() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setIsTransient
public void setIsTransient(boolean IsTransient) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getLocked
public boolean getLocked() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFilter
public ICollection getFilter() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setFilter
public void setFilter(ICollection Filter) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getProperties
public IDictionary getProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
-
getBitmap
public Bitmap getBitmap() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setBitmap
public void setBitmap(Bitmap Bitmap) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getOriginalBitmap
public Bitmap getOriginalBitmap() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setOriginalBitmap
public void setOriginalBitmap(Bitmap OriginalBitmap) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getAssemblyName
public AssemblyName getAssemblyName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setAssemblyName
public void setAssemblyName(AssemblyName AssemblyName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getDependentAssemblies
public final AssemblyName[] getDependentAssemblies() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setDependentAssemblies
public void setDependentAssemblies(AssemblyName[] DependentAssemblies) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getCompany
public java.lang.String getCompany() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setCompany
public void setCompany(java.lang.String Company) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getComponentType
public java.lang.String getComponentType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getDescription
public java.lang.String getDescription() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setDescription
public void setDescription(java.lang.String Description) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getDisplayName
public java.lang.String getDisplayName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setDisplayName
public void setDisplayName(java.lang.String DisplayName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
getVersion
public java.lang.String getVersion() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
IndexOutOfRangeException
PlatformNotSupportedException
-
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
-
-