public class DesignSurface extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.Design.DesignSurface
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Design
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Design.DesignSurface
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DesignSurface()
Initializes a new instance by invoking the .NET constructor.
|
DesignSurface(IServiceProvider parentProvider)
Initializes a new instance by invoking the .NET constructor.
|
DesignSurface(IServiceProvider parentProvider,
NetType rootComponentType)
Initializes a new instance by invoking the .NET constructor.
|
DesignSurface(NetType rootComponentType)
Initializes a new instance by invoking the .NET constructor.
|
DesignSurface(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDisposed(EventHandler handler)
Invokes the .NET member addDisposed.
|
void |
addFlushed(EventHandler handler)
Invokes the .NET member addFlushed.
|
void |
addLoaded(LoadedEventHandler handler)
Invokes the .NET member addLoaded.
|
void |
addLoading(EventHandler handler)
Invokes the .NET member addLoading.
|
void |
addUnloaded(EventHandler handler)
Invokes the .NET member addUnloaded.
|
void |
addUnloading(EventHandler handler)
Invokes the .NET member addUnloading.
|
void |
addViewActivated(EventHandler handler)
Invokes the .NET member addViewActivated.
|
void |
BeginLoad(DesignerLoader loader)
Invokes the .NET member BeginLoad.
|
void |
BeginLoad(NetType rootComponentType)
Invokes the .NET member BeginLoad.
|
static DesignSurface |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DesignSurface, a cast assert is made to check if types are compatible. |
void |
close() |
INestedContainer |
CreateNestedContainer(IComponent owningComponent)
Invokes the .NET member CreateNestedContainer.
|
INestedContainer |
CreateNestedContainer(IComponent owningComponent,
java.lang.String containerName)
Invokes the .NET member CreateNestedContainer.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
void |
Flush()
Invokes the .NET member Flush.
|
IContainer |
getComponentContainer()
Gets the value of the .NET property ComponentContainer.
|
boolean |
getDtelLoading()
Gets the value of the .NET property DtelLoading.
|
boolean |
getIsLoaded()
Gets the value of the .NET property IsLoaded.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
ICollection |
getLoadErrors()
Gets the value of the .NET property LoadErrors.
|
NetObject |
GetService(NetType serviceType)
Invokes the .NET member GetService.
|
NetObject |
getView()
Gets the value of the .NET property View.
|
void |
removeDisposed(EventHandler handler)
Invokes the .NET member removeDisposed.
|
void |
removeFlushed(EventHandler handler)
Invokes the .NET member removeFlushed.
|
void |
removeLoaded(LoadedEventHandler handler)
Invokes the .NET member removeLoaded.
|
void |
removeLoading(EventHandler handler)
Invokes the .NET member removeLoading.
|
void |
removeUnloaded(EventHandler handler)
Invokes the .NET member removeUnloaded.
|
void |
removeUnloading(EventHandler handler)
Invokes the .NET member removeUnloading.
|
void |
removeViewActivated(EventHandler handler)
Invokes the .NET member removeViewActivated.
|
void |
setDtelLoading(boolean DtelLoading)
Sets the value of the .NET property DtelLoading.
|
void |
setIsLoaded(boolean IsLoaded)
Sets the value of the .NET property IsLoaded.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DesignSurface()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic DesignSurface(IServiceProvider parentProvider) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException
parentProvider - the argument of type IServiceProviderjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic DesignSurface(IServiceProvider parentProvider, NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException
parentProvider - the argument of type IServiceProviderrootComponentType - the argument of type NetTypejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic DesignSurface(NetType rootComponentType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException
rootComponentType - the argument of type NetTypejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DesignSurface(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addDisposed(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addFlushed(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addLoaded(LoadedEventHandler handler) throws java.lang.Throwable
handler - the argument of type LoadedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addLoading(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnloaded(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnloading(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addViewActivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void BeginLoad(DesignerLoader loader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
loader - the argument of type DesignerLoaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void BeginLoad(NetType rootComponentType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
rootComponentType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static DesignSurface cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DesignSurface, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDesignSurface instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic INestedContainer CreateNestedContainer(IComponent owningComponent) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
owningComponent - the argument of type IComponentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic INestedContainer CreateNestedContainer(IComponent owningComponent, java.lang.String containerName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
owningComponent - the argument of type IComponentcontainerName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ExceptionCollection
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itExceptionCollection - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IContainer getComponentContainer() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getDtelLoading()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsLoaded()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic ICollection getLoadErrors() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetService(NetType serviceType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException
serviceType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic NetObject getView() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void removeDisposed(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeFlushed(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeLoaded(LoadedEventHandler handler) throws java.lang.Throwable
handler - the argument of type LoadedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeLoading(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnloaded(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnloading(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeViewActivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDtelLoading(boolean DtelLoading)
throws java.lang.Throwable
DtelLoading - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsLoaded(boolean IsLoaded)
throws java.lang.Throwable
IsLoaded - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object