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.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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.StringassemblyFullNameFully assembly qualified name: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Designstatic java.lang.StringclassNameQualified class name: System.ComponentModel.Design.DesignSurfacestatic JCTypeclassTypeThe 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 voidaddDisposed(EventHandler handler)voidaddFlushed(EventHandler handler)voidaddLoaded(LoadedEventHandler handler)voidaddLoading(EventHandler handler)voidaddUnloaded(EventHandler handler)voidaddUnloading(EventHandler handler)voidaddViewActivated(EventHandler handler)voidBeginLoad(NetType rootComponentType)voidBeginLoad(DesignerLoader loader)static DesignSurfacecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDesignSurface, a cast assert is made to check if types are compatible.voidclose()INestedContainerCreateNestedContainer(IComponent owningComponent)INestedContainerCreateNestedContainer(IComponent owningComponent, java.lang.String containerName)voidDispose()voidFlush()IContainergetComponentContainer()booleangetDtelLoading()booleangetIsLoaded()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 TypeICollectiongetLoadErrors()NetObjectGetService(NetType serviceType)NetObjectgetView()voidremoveDisposed(EventHandler handler)voidremoveFlushed(EventHandler handler)voidremoveLoaded(LoadedEventHandler handler)voidremoveLoading(EventHandler handler)voidremoveUnloaded(EventHandler handler)voidremoveUnloading(EventHandler handler)voidremoveViewActivated(EventHandler handler)voidsetDtelLoading(boolean DtelLoading)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Design, 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.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.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DesignSurface
public DesignSurface() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
DesignSurface
public DesignSurface(IServiceProvider parentProvider) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
DesignSurface
public DesignSurface(IServiceProvider parentProvider, NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
DesignSurface
public DesignSurface(NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- 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- 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- 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- 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- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DesignSurface cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDesignSurface, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DesignSurfaceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateNestedContainer
public INestedContainer CreateNestedContainer(IComponent owningComponent) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentException
-
CreateNestedContainer
public INestedContainer CreateNestedContainer(IComponent owningComponent, java.lang.String containerName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentException
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationException
-
BeginLoad
public void BeginLoad(DesignerLoader loader) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionIndexOutOfRangeException
-
BeginLoad
public void BeginLoad(NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ExceptionCollection
-
Flush
public void Flush() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception- Specified by:
closein 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
-
getLoadErrors
public ICollection getLoadErrors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getComponentContainer
public IContainer getComponentContainer() throws java.lang.Throwable, ObjectDisposedException
- Throws:
java.lang.ThrowableObjectDisposedException
-
getView
public NetObject getView() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, AbandonedMutexException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionAbandonedMutexException
-
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
-
-