Package system.componentmodel.design
Class DesignSurface
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.design.DesignSurface
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class DesignSurface extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.ComponentModel.Design.DesignSurface, 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.ComponentModel.Design.DesignSurface
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.ComponentModel.Design.DesignSurfacestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DesignSurface()
DesignSurface(java.lang.Object instance)
Internal constructor.DesignSurface(NetType rootComponentType)
DesignSurface(IServiceProvider parentProvider)
DesignSurface(IServiceProvider parentProvider, NetType rootComponentType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDisposed(EventHandler handler)
void
addFlushed(EventHandler handler)
void
addLoaded(LoadedEventHandler handler)
void
addLoading(EventHandler handler)
void
addUnloaded(EventHandler handler)
void
addUnloading(EventHandler handler)
void
addViewActivated(EventHandler handler)
void
BeginLoad(NetType rootComponentType)
void
BeginLoad(DesignerLoader loader)
static DesignSurface
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDesignSurface
, a cast assert is made to check if types are compatible.void
close()
INestedContainer
CreateNestedContainer(IComponent owningComponent)
INestedContainer
CreateNestedContainer(IComponent owningComponent, java.lang.String containerName)
void
Dispose()
void
Flush()
IContainer
getComponentContainer()
boolean
getDtelLoading()
boolean
getIsLoaded()
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 TypeICollection
getLoadErrors()
NetObject
GetService(NetType serviceType)
NetObject
getView()
void
removeDisposed(EventHandler handler)
void
removeFlushed(EventHandler handler)
void
removeLoaded(LoadedEventHandler handler)
void
removeLoading(EventHandler handler)
void
removeUnloaded(EventHandler handler)
void
removeUnloading(EventHandler handler)
void
removeViewActivated(EventHandler handler)
void
setDtelLoading(boolean DtelLoading)
void
setIsLoaded(boolean IsLoaded)
void
setJCOInstance(JCObject instance)
-
-
-
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.ComponentModel.Design.DesignSurface- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DesignSurface
public DesignSurface(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DesignSurface
public DesignSurface() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
-
DesignSurface
public DesignSurface(IServiceProvider parentProvider, NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
-
DesignSurface
public DesignSurface(IServiceProvider parentProvider) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException
-
DesignSurface
public DesignSurface(NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- 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
- 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
- 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
- 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
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DesignSurface cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDesignSurface
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DesignSurface
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateNestedContainer
public INestedContainer CreateNestedContainer(IComponent owningComponent, java.lang.String containerName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
CreateNestedContainer
public INestedContainer CreateNestedContainer(IComponent owningComponent) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException
-
BeginLoad
public void BeginLoad(DesignerLoader loader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
BeginLoad
public void BeginLoad(NetType rootComponentType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, ExceptionCollection
-
Flush
public void Flush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getDtelLoading
public boolean getDtelLoading() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDtelLoading
public void setDtelLoading(boolean DtelLoading) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsLoaded
public boolean getIsLoaded() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsLoaded
public void setIsLoaded(boolean IsLoaded) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLoadErrors
public ICollection getLoadErrors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getComponentContainer
public IContainer getComponentContainer() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getView
public NetObject getView() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
addLoaded
public void addLoaded(LoadedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLoaded
public void removeLoaded(LoadedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDisposed
public void addDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDisposed
public void removeDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addFlushed
public void addFlushed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFlushed
public void removeFlushed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addLoading
public void addLoading(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLoading
public void removeLoading(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnloaded
public void addUnloaded(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnloaded
public void removeUnloaded(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnloading
public void addUnloading(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnloading
public void removeUnloading(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addViewActivated
public void addViewActivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeViewActivated
public void removeViewActivated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-