public class BehaviorService extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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=8.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBeginDrag(BehaviorDragDropEventHandler handler)
Invokes the .NET member addBeginDrag.
|
void |
addEndDrag(BehaviorDragDropEventHandler handler)
Invokes the .NET member addEndDrag.
|
void |
addSynchronize(EventHandler handler)
Invokes the .NET member addSynchronize.
|
Point |
AdornerWindowPointToScreen(Point p)
Invokes the .NET member AdornerWindowPointToScreen.
|
Point |
AdornerWindowToScreen()
Invokes the .NET member AdornerWindowToScreen.
|
static BehaviorService |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BehaviorService, a cast assert is made to check if types are compatible. |
void |
close() |
Rectangle |
ControlRectInAdornerWindow(Control c)
Invokes the .NET member ControlRectInAdornerWindow.
|
Point |
ControlToAdornerWindow(Control c)
Invokes the .NET member ControlToAdornerWindow.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
BehaviorServiceAdornerCollection |
getAdorners()
Gets the value of the .NET property Adorners.
|
Graphics |
getAdornerWindowGraphics()
Gets the value of the .NET property AdornerWindowGraphics.
|
Behavior |
getCurrentBehavior()
Gets the value of the .NET property CurrentBehavior.
|
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. |
Behavior |
GetNextBehavior(Behavior behavior)
Invokes the .NET member GetNextBehavior.
|
void |
Invalidate()
Invokes the .NET member Invalidate.
|
void |
Invalidate(Rectangle rect)
Invokes the .NET member Invalidate.
|
void |
Invalidate(Region r)
Invokes the .NET member Invalidate.
|
Behavior |
PopBehavior(Behavior behavior)
Invokes the .NET member PopBehavior.
|
void |
PushBehavior(Behavior behavior)
Invokes the .NET member PushBehavior.
|
void |
PushCaptureBehavior(Behavior behavior)
Invokes the .NET member PushCaptureBehavior.
|
void |
removeBeginDrag(BehaviorDragDropEventHandler handler)
Invokes the .NET member removeBeginDrag.
|
void |
removeEndDrag(BehaviorDragDropEventHandler handler)
Invokes the .NET member removeEndDrag.
|
void |
removeSynchronize(EventHandler handler)
Invokes the .NET member removeSynchronize.
|
Point |
ScreenToAdornerWindow(Point p)
Invokes the .NET member ScreenToAdornerWindow.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SyncSelection()
Invokes the .NET member SyncSelection.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
handler - the argument of type BehaviorDragDropEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
handler - the argument of type BehaviorDragDropEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSynchronize(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 Point AdornerWindowPointToScreen(Point p) throws java.lang.Throwable
p - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Point AdornerWindowToScreen() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, FormatException, Win32Exception, NotSupportedException
c - the argument of type Controljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Point ControlToAdornerWindow(Control c) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ObjectDisposedException, FormatException, Win32Exception, NotSupportedException
c - the argument of type Controljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
AbandonedMutexException,
ExternalException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itExternalException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic BehaviorServiceAdornerCollection getAdorners() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Graphics getAdornerWindowGraphics() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, Win32Exception, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Behavior getCurrentBehavior() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.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 itpublic 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 Behavior GetNextBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
behavior - the argument of type Behaviorjava.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 itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void Invalidate()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
NotSupportedException,
RankException,
ArrayTypeMismatchException
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 itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Invalidate(Rectangle rect) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException
rect - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void Invalidate(Region r) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, Win32Exception, OutOfMemoryException
r - the argument of type Regionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Behavior PopBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, Win32Exception, OutOfMemoryException
behavior - the argument of type Behaviorjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void PushBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
behavior - the argument of type Behaviorjava.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 PushCaptureBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ObjectDisposedException, Win32Exception, OutOfMemoryException
behavior - the argument of type Behaviorjava.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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void removeBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
handler - the argument of type BehaviorDragDropEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
handler - the argument of type BehaviorDragDropEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSynchronize(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 Point ScreenToAdornerWindow(Point p) throws java.lang.Throwable
p - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SyncSelection()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLR