Package system.drawing.design
Class IToolboxServiceImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.drawing.design.IToolboxServiceImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected,IToolboxService
public class IToolboxServiceImplementation extends NetObject implements IToolboxService
The base .NET class managing System.Drawing.Design.IToolboxService, 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.IToolboxService
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.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Drawingstatic java.lang.StringclassNameQualified class name: System.Drawing.Design.IToolboxServicestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IToolboxServiceImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddCreator(ToolboxItemCreatorCallback creator, java.lang.String format)voidAddCreator(ToolboxItemCreatorCallback creator, java.lang.String format, IDesignerHost host)voidAddLinkedToolboxItem(ToolboxItem toolboxItem, java.lang.String category, IDesignerHost host)voidAddLinkedToolboxItem(ToolboxItem toolboxItem, IDesignerHost host)voidAddToolboxItem(ToolboxItem toolboxItem)voidAddToolboxItem(ToolboxItem toolboxItem, java.lang.String category)ToolboxItemDeserializeToolboxItem(NetObject serializedObject)ToolboxItemDeserializeToolboxItem(NetObject serializedObject, IDesignerHost host)CategoryNameCollectiongetCategoryNames()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 Typejava.lang.StringgetSelectedCategory()ToolboxItemGetSelectedToolboxItem()ToolboxItemGetSelectedToolboxItem(IDesignerHost host)ToolboxItemCollectionGetToolboxItems()ToolboxItemCollectionGetToolboxItems(java.lang.String category)ToolboxItemCollectionGetToolboxItems(java.lang.String category, IDesignerHost host)ToolboxItemCollectionGetToolboxItems(IDesignerHost host)booleanIsSupported(NetObject serializedObject, ICollection filterAttributes)booleanIsSupported(NetObject serializedObject, IDesignerHost host)booleanIsToolboxItem(NetObject serializedObject)booleanIsToolboxItem(NetObject serializedObject, IDesignerHost host)voidRefresh()voidRemoveCreator(java.lang.String format)voidRemoveCreator(java.lang.String format, IDesignerHost host)voidRemoveToolboxItem(ToolboxItem toolboxItem)voidRemoveToolboxItem(ToolboxItem toolboxItem, java.lang.String category)voidSelectedToolboxItemUsed()NetObjectSerializeToolboxItem(ToolboxItem toolboxItem)booleanSetCursor()voidsetSelectedCategory(java.lang.String SelectedCategory)voidSetSelectedToolboxItem(ToolboxItem toolboxItem)static IToolboxServiceToIToolboxService(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIToolboxService, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
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.IToolboxService- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIToolboxService- 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 interfaceIToolboxService- 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 interfaceIToolboxService- 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 interfaceIToolboxService- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIToolboxService- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIToolboxService
public static IToolboxService ToIToolboxService(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIToolboxService, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IToolboxServiceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsSupported
public boolean IsSupported(NetObject serializedObject, ICollection filterAttributes) throws java.lang.Throwable
- Specified by:
IsSupportedin interfaceIToolboxService- Throws:
java.lang.Throwable
-
IsSupported
public boolean IsSupported(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
IsSupportedin interfaceIToolboxService- Throws:
java.lang.Throwable
-
IsToolboxItem
public boolean IsToolboxItem(NetObject serializedObject) throws java.lang.Throwable
- Specified by:
IsToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
IsToolboxItem
public boolean IsToolboxItem(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
IsToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
SetCursor
public boolean SetCursor() throws java.lang.Throwable- Specified by:
SetCursorin interfaceIToolboxService- Throws:
java.lang.Throwable
-
DeserializeToolboxItem
public ToolboxItem DeserializeToolboxItem(NetObject serializedObject) throws java.lang.Throwable
- Specified by:
DeserializeToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
DeserializeToolboxItem
public ToolboxItem DeserializeToolboxItem(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
DeserializeToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetSelectedToolboxItem
public ToolboxItem GetSelectedToolboxItem() throws java.lang.Throwable
- Specified by:
GetSelectedToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetSelectedToolboxItem
public ToolboxItem GetSelectedToolboxItem(IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetSelectedToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems() throws java.lang.Throwable
- Specified by:
GetToolboxItemsin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetToolboxItemsin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(java.lang.String category) throws java.lang.Throwable
- Specified by:
GetToolboxItemsin interfaceIToolboxService- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(java.lang.String category, IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetToolboxItemsin interfaceIToolboxService- Throws:
java.lang.Throwable
-
SerializeToolboxItem
public NetObject SerializeToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
SerializeToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddCreator
public void AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format) throws java.lang.Throwable
- Specified by:
AddCreatorin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddCreator
public void AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddCreatorin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddLinkedToolboxItem
public void AddLinkedToolboxItem(ToolboxItem toolboxItem, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddLinkedToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddLinkedToolboxItem
public void AddLinkedToolboxItem(ToolboxItem toolboxItem, java.lang.String category, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddLinkedToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddToolboxItem
public void AddToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
AddToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
AddToolboxItem
public void AddToolboxItem(ToolboxItem toolboxItem, java.lang.String category) throws java.lang.Throwable
- Specified by:
AddToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
Refresh
public void Refresh() throws java.lang.Throwable- Specified by:
Refreshin interfaceIToolboxService- Throws:
java.lang.Throwable
-
RemoveCreator
public void RemoveCreator(java.lang.String format) throws java.lang.Throwable- Specified by:
RemoveCreatorin interfaceIToolboxService- Throws:
java.lang.Throwable
-
RemoveCreator
public void RemoveCreator(java.lang.String format, IDesignerHost host) throws java.lang.Throwable- Specified by:
RemoveCreatorin interfaceIToolboxService- Throws:
java.lang.Throwable
-
RemoveToolboxItem
public void RemoveToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
RemoveToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
RemoveToolboxItem
public void RemoveToolboxItem(ToolboxItem toolboxItem, java.lang.String category) throws java.lang.Throwable
- Specified by:
RemoveToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
SelectedToolboxItemUsed
public void SelectedToolboxItemUsed() throws java.lang.Throwable- Specified by:
SelectedToolboxItemUsedin interfaceIToolboxService- Throws:
java.lang.Throwable
-
SetSelectedToolboxItem
public void SetSelectedToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
SetSelectedToolboxItemin interfaceIToolboxService- Throws:
java.lang.Throwable
-
getCategoryNames
public CategoryNameCollection getCategoryNames() throws java.lang.Throwable
- Specified by:
getCategoryNamesin interfaceIToolboxService- Throws:
java.lang.Throwable
-
getSelectedCategory
public java.lang.String getSelectedCategory() throws java.lang.Throwable- Specified by:
getSelectedCategoryin interfaceIToolboxService- Throws:
java.lang.Throwable
-
setSelectedCategory
public void setSelectedCategory(java.lang.String SelectedCategory) throws java.lang.Throwable- Specified by:
setSelectedCategoryin interfaceIToolboxService- Throws:
java.lang.Throwable
-
-