public class BehaviorService extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Design.Behavior.BehaviorService
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=10.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.Windows.Forms.Design.Behavior.BehaviorService
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BehaviorService() |
BehaviorService(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BehaviorService()
throws java.lang.Throwable
java.lang.Throwablepublic BehaviorService(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSynchronize(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic Point AdornerWindowPointToScreen(Point p) throws java.lang.Throwable
java.lang.Throwablepublic Point AdornerWindowToScreen() throws java.lang.Throwable
java.lang.Throwablepublic static BehaviorService cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BehaviorService, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBehaviorService instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic Rectangle ControlRectInAdornerWindow(Control c) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, ObjectDisposedException, NotSupportedException, FormatException, Win32Exception, InvalidCastException
public Point ControlToAdornerWindow(Control c) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, FormatException, Win32Exception, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionNotSupportedExceptionObjectDisposedExceptionFormatExceptionWin32ExceptionInvalidCastExceptionpublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
FormatException,
LockRecursionException,
AbandonedMutexException,
ThreadStateException,
ExternalException,
KeyNotFoundException,
SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionOutOfMemoryExceptionFormatExceptionLockRecursionExceptionAbandonedMutexExceptionThreadStateExceptionExternalExceptionKeyNotFoundExceptionSynchronizationLockExceptionpublic BehaviorServiceAdornerCollection getAdorners() throws java.lang.Throwable
java.lang.Throwablepublic Graphics getAdornerWindowGraphics() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, InvalidCastException, NotSupportedException, IndexOutOfRangeException, FormatException, Win32Exception, ArgumentOutOfRangeException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidCastExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionWin32ExceptionArgumentOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionpublic Behavior getCurrentBehavior() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic Behavior GetNextBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public void Invalidate()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
InvalidCastException,
NotSupportedException
public void Invalidate(Rectangle rect) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public void Invalidate(Region r) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, Win32Exception, OutOfMemoryException, ArgumentNullException
public Behavior PopBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, InvalidCastException, Win32Exception, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidCastExceptionWin32ExceptionOutOfMemoryExceptionpublic void PushBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void PushCaptureBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidCastException, FormatException, ObjectDisposedException, Win32Exception, OutOfMemoryException
public void removeBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSynchronize(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic Point ScreenToAdornerWindow(Point p) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void SyncSelection()
throws java.lang.Throwable
java.lang.Throwable