Package system.componentmodel.design
Interface IDesignerHost
-
- All Superinterfaces:
IJCOBridgeReflected
,IServiceContainer
,IServiceProvider
- All Known Subinterfaces:
IDesignerLoaderHost
,IDesignerLoaderHost2
- All Known Implementing Classes:
IDesignerHostImplementation
,IDesignerLoaderHost2Implementation
,IDesignerLoaderHostImplementation
public interface IDesignerHost extends IJCOBridgeReflected, IServiceContainer, IServiceProvider
The base .NET class managing System.ComponentModel.Design.IDesignerHost, System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.Design.IDesignerHost
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.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.ComponentModel.TypeConverterstatic java.lang.String
className
Qualified class name: System.ComponentModel.Design.IDesignerHost
-
Method Summary
-
Methods inherited from interface system.componentmodel.design.IServiceContainer
AddService, AddService, AddService, AddService, RemoveService, RemoveService
-
Methods inherited from interface system.IServiceProvider
GetService
-
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.ComponentModel.TypeConverter- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.ComponentModel.Design.IDesignerHost- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIDesignerHost
static IDesignerHost ToIDesignerHost(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIDesignerHost
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IDesignerHost
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIServiceContainer
- Specified by:
getJCOAssemblyName
in interfaceIServiceProvider
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIServiceContainer
- Specified by:
getJCOClassName
in interfaceIServiceProvider
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIServiceContainer
- Specified by:
getJCOObjectName
in interfaceIServiceProvider
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIServiceContainer
- Specified by:
getJCOInstance
in interfaceIServiceProvider
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIServiceContainer
- Specified by:
getJCOType
in interfaceIServiceProvider
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
CreateTransaction
DesignerTransaction CreateTransaction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateTransaction
DesignerTransaction CreateTransaction(java.lang.String description) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDesigner
IDesigner GetDesigner(IComponent component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateComponent
IComponent CreateComponent(NetType componentClass, java.lang.String name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateComponent
IComponent CreateComponent(NetType componentClass) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetType
NetType GetType(java.lang.String typeName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Activate
void Activate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DestroyComponent
void DestroyComponent(IComponent component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInTransaction
boolean getInTransaction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLoading
boolean getLoading() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRootComponent
IComponent getRootComponent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContainer
IContainer getContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRootComponentClassName
java.lang.String getRootComponentClassName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTransactionDescription
java.lang.String getTransactionDescription() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addTransactionClosed
void addTransactionClosed(DesignerTransactionCloseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeTransactionClosed
void removeTransactionClosed(DesignerTransactionCloseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addTransactionClosing
void addTransactionClosing(DesignerTransactionCloseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeTransactionClosing
void removeTransactionClosing(DesignerTransactionCloseEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addActivated
void addActivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeActivated
void removeActivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDeactivated
void addDeactivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDeactivated
void removeDeactivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addLoadComplete
void addLoadComplete(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLoadComplete
void removeLoadComplete(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addTransactionOpened
void addTransactionOpened(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeTransactionOpened
void removeTransactionOpened(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addTransactionOpening
void addTransactionOpening(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeTransactionOpening
void removeTransactionOpening(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-