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.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.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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=9.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.IToolboxServicestatic JCType
classType
The 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 void
AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format)
void
AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format, IDesignerHost host)
void
AddLinkedToolboxItem(ToolboxItem toolboxItem, java.lang.String category, IDesignerHost host)
void
AddLinkedToolboxItem(ToolboxItem toolboxItem, IDesignerHost host)
void
AddToolboxItem(ToolboxItem toolboxItem)
void
AddToolboxItem(ToolboxItem toolboxItem, java.lang.String category)
ToolboxItem
DeserializeToolboxItem(NetObject serializedObject)
ToolboxItem
DeserializeToolboxItem(NetObject serializedObject, IDesignerHost host)
CategoryNameCollection
getCategoryNames()
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 Typejava.lang.String
getSelectedCategory()
ToolboxItem
GetSelectedToolboxItem()
ToolboxItem
GetSelectedToolboxItem(IDesignerHost host)
ToolboxItemCollection
GetToolboxItems()
ToolboxItemCollection
GetToolboxItems(java.lang.String category)
ToolboxItemCollection
GetToolboxItems(java.lang.String category, IDesignerHost host)
ToolboxItemCollection
GetToolboxItems(IDesignerHost host)
boolean
IsSupported(NetObject serializedObject, ICollection filterAttributes)
boolean
IsSupported(NetObject serializedObject, IDesignerHost host)
boolean
IsToolboxItem(NetObject serializedObject)
boolean
IsToolboxItem(NetObject serializedObject, IDesignerHost host)
void
Refresh()
void
RemoveCreator(java.lang.String format)
void
RemoveCreator(java.lang.String format, IDesignerHost host)
void
RemoveToolboxItem(ToolboxItem toolboxItem)
void
RemoveToolboxItem(ToolboxItem toolboxItem, java.lang.String category)
void
SelectedToolboxItemUsed()
NetObject
SerializeToolboxItem(ToolboxItem toolboxItem)
boolean
SetCursor()
void
setSelectedCategory(java.lang.String SelectedCategory)
void
SetSelectedToolboxItem(ToolboxItem toolboxItem)
static IToolboxService
ToIToolboxService(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance 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.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.IToolboxService- See Also:
- Constant Field Values
-
-
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 interfaceIToolboxService
- 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 interfaceIToolboxService
- 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 interfaceIToolboxService
- 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 interfaceIToolboxService
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIToolboxService
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIToolboxService
public static IToolboxService ToIToolboxService(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIToolboxService
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IToolboxService
instance- 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:
IsSupported
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
IsSupported
public boolean IsSupported(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
IsSupported
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
IsToolboxItem
public boolean IsToolboxItem(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
IsToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
IsToolboxItem
public boolean IsToolboxItem(NetObject serializedObject) throws java.lang.Throwable
- Specified by:
IsToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
SetCursor
public boolean SetCursor() throws java.lang.Throwable
- Specified by:
SetCursor
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
DeserializeToolboxItem
public ToolboxItem DeserializeToolboxItem(NetObject serializedObject, IDesignerHost host) throws java.lang.Throwable
- Specified by:
DeserializeToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
DeserializeToolboxItem
public ToolboxItem DeserializeToolboxItem(NetObject serializedObject) throws java.lang.Throwable
- Specified by:
DeserializeToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetSelectedToolboxItem
public ToolboxItem GetSelectedToolboxItem() throws java.lang.Throwable
- Specified by:
GetSelectedToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetSelectedToolboxItem
public ToolboxItem GetSelectedToolboxItem(IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetSelectedToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems() throws java.lang.Throwable
- Specified by:
GetToolboxItems
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetToolboxItems
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(java.lang.String category, IDesignerHost host) throws java.lang.Throwable
- Specified by:
GetToolboxItems
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
GetToolboxItems
public ToolboxItemCollection GetToolboxItems(java.lang.String category) throws java.lang.Throwable
- Specified by:
GetToolboxItems
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
SerializeToolboxItem
public NetObject SerializeToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
SerializeToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddCreator
public void AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddCreator
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddCreator
public void AddCreator(ToolboxItemCreatorCallback creator, java.lang.String format) throws java.lang.Throwable
- Specified by:
AddCreator
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddLinkedToolboxItem
public void AddLinkedToolboxItem(ToolboxItem toolboxItem, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddLinkedToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddLinkedToolboxItem
public void AddLinkedToolboxItem(ToolboxItem toolboxItem, java.lang.String category, IDesignerHost host) throws java.lang.Throwable
- Specified by:
AddLinkedToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddToolboxItem
public void AddToolboxItem(ToolboxItem toolboxItem, java.lang.String category) throws java.lang.Throwable
- Specified by:
AddToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
AddToolboxItem
public void AddToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
AddToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
Refresh
public void Refresh() throws java.lang.Throwable
- Specified by:
Refresh
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
RemoveCreator
public void RemoveCreator(java.lang.String format, IDesignerHost host) throws java.lang.Throwable
- Specified by:
RemoveCreator
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
RemoveCreator
public void RemoveCreator(java.lang.String format) throws java.lang.Throwable
- Specified by:
RemoveCreator
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
RemoveToolboxItem
public void RemoveToolboxItem(ToolboxItem toolboxItem, java.lang.String category) throws java.lang.Throwable
- Specified by:
RemoveToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
RemoveToolboxItem
public void RemoveToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
RemoveToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
SelectedToolboxItemUsed
public void SelectedToolboxItemUsed() throws java.lang.Throwable
- Specified by:
SelectedToolboxItemUsed
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
SetSelectedToolboxItem
public void SetSelectedToolboxItem(ToolboxItem toolboxItem) throws java.lang.Throwable
- Specified by:
SetSelectedToolboxItem
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
getCategoryNames
public CategoryNameCollection getCategoryNames() throws java.lang.Throwable
- Specified by:
getCategoryNames
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
getSelectedCategory
public java.lang.String getSelectedCategory() throws java.lang.Throwable
- Specified by:
getSelectedCategory
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
setSelectedCategory
public void setSelectedCategory(java.lang.String SelectedCategory) throws java.lang.Throwable
- Specified by:
setSelectedCategory
in interfaceIToolboxService
- Throws:
java.lang.Throwable
-
-