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=9.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.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.Drawing.Design.ToolboxItemstatic JCTypeclassTypeThe 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 voidaddComponentsCreated(ToolboxComponentsCreatedEventHandler handler)voidaddComponentsCreating(ToolboxComponentsCreatingEventHandler handler)static ToolboxItemcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoToolboxItem, a cast assert is made to check if types are compatible.IComponent[]CreateComponents()IComponent[]CreateComponents(IDesignerHost host)IComponent[]CreateComponents(IDesignerHost host, IDictionary defaultValues)AssemblyNamegetAssemblyName()BitmapgetBitmap()java.lang.StringgetCompany()java.lang.StringgetComponentType()AssemblyName[]getDependentAssemblies()java.lang.StringgetDescription()java.lang.StringgetDisplayName()ICollectiongetFilter()booleangetIsTransient()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 TypebooleangetLocked()BitmapgetOriginalBitmap()IDictionarygetProperties()NetTypeGetType(IDesignerHost host)java.lang.StringgetTypeName()java.lang.StringgetVersion()voidInitialize(NetType type)voidLock()voidremoveComponentsCreated(ToolboxComponentsCreatedEventHandler handler)voidremoveComponentsCreating(ToolboxComponentsCreatingEventHandler handler)voidsetAssemblyName(AssemblyName AssemblyName)voidsetBitmap(Bitmap Bitmap)voidsetCompany(java.lang.String Company)voidsetDependentAssemblies(AssemblyName[] DependentAssemblies)voidsetDescription(java.lang.String Description)voidsetDisplayName(java.lang.String DisplayName)voidsetFilter(ICollection Filter)voidsetIsTransient(boolean IsTransient)voidsetJCOInstance(JCObject instance)voidsetOriginalBitmap(Bitmap OriginalBitmap)voidsetTypeName(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=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.Drawing.Design.ToolboxItem- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolboxItem
public ToolboxItem(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolboxItem
public ToolboxItem() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedException
-
ToolboxItem
public ToolboxItem(NetType toolType) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISerializable- Overrides:
getJCOAssemblyNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceISerializable- Overrides:
getJCOClassNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceISerializable- Overrides:
getJCOObjectNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceISerializable- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISerializable- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ToolboxItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoToolboxItem, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ToolboxIteminstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateComponents
public IComponent[] CreateComponents() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, TypeLoadException, FileLoadException, CultureNotFoundException, OutOfMemoryException, MulticastNotSupportedException, NullReferenceException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionTypeLoadExceptionFileLoadExceptionCultureNotFoundExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionNullReferenceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host, IDictionary defaultValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, FileLoadException, NotSupportedException, InvalidOperationException, CultureNotFoundException, MulticastNotSupportedException, NullReferenceException, ObjectDisposedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionTypeLoadExceptionFileLoadExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationException
-
CreateComponents
public IComponent[] CreateComponents(IDesignerHost host) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, TypeLoadException, FileLoadException, ArgumentNullException, CultureNotFoundException, MulticastNotSupportedException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionTypeLoadExceptionFileLoadExceptionArgumentNullExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
GetType
public NetType GetType(IDesignerHost host) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, TypeLoadException, FormatException, InvalidOperationException, FileLoadException, FileNotFoundException, CultureNotFoundException, MulticastNotSupportedException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionTypeLoadExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionRankExceptionArrayTypeMismatchException
-
Initialize
public void Initialize(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, KeyNotFoundException, InvalidEnumArgumentException, Win32Exception
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionIndexOutOfRangeExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionKeyNotFoundExceptionInvalidEnumArgumentExceptionWin32Exception
-
Lock
public void Lock() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsTransient
public boolean getIsTransient() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setIsTransient
public void setIsTransient(boolean IsTransient) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getLocked
public boolean getLocked() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFilter
public ICollection getFilter() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setFilter
public void setFilter(ICollection Filter) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getProperties
public IDictionary getProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
getBitmap
public Bitmap getBitmap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setBitmap
public void setBitmap(Bitmap Bitmap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getOriginalBitmap
public Bitmap getOriginalBitmap() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setOriginalBitmap
public void setOriginalBitmap(Bitmap OriginalBitmap) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getAssemblyName
public AssemblyName getAssemblyName() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setAssemblyName
public void setAssemblyName(AssemblyName AssemblyName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getDependentAssemblies
public final AssemblyName[] getDependentAssemblies() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setDependentAssemblies
public void setDependentAssemblies(AssemblyName[] DependentAssemblies) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getCompany
public java.lang.String getCompany() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setCompany
public void setCompany(java.lang.String Company) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getComponentType
public java.lang.String getComponentType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getDescription
public java.lang.String getDescription() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setDescription
public void setDescription(java.lang.String Description) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getDisplayName
public java.lang.String getDisplayName() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setDisplayName
public void setDisplayName(java.lang.String DisplayName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeException
-
getVersion
public java.lang.String getVersion() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeException
-
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
-
-