Class BehaviorService
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.design.behavior.BehaviorService
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class BehaviorService extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Windows.Forms.Design.Behavior.BehaviorService, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- 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.Windows.Forms.Design.Behavior.BehaviorServicestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description BehaviorService()BehaviorService(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
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.Windows.Forms.Design.Behavior.BehaviorService- See Also:
- Constant Field Values
-
-
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 BehaviorService cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoBehaviorService, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
BehaviorServiceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
AdornerWindowPointToScreen
public Point AdornerWindowPointToScreen(Point p) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, ConfigurationErrorsException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
AdornerWindowToScreen
public Point AdornerWindowToScreen() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
ControlToAdornerWindow
public Point ControlToAdornerWindow(Control c) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, ConfigurationErrorsException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionNotImplementedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
ScreenToAdornerWindow
public Point ScreenToAdornerWindow(Point p) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, ConfigurationErrorsException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
ControlRectInAdornerWindow
public Rectangle ControlRectInAdornerWindow(Control c) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
GetNextBehavior
public Behavior GetNextBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
PopBehavior
public Behavior PopBehavior(Behavior behavior) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException, NullReferenceException
-
Invalidate
public void Invalidate() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
-
Invalidate
public void Invalidate(Rectangle rect) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
Invalidate
public void Invalidate(Region r) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
PushBehavior
public void PushBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArgumentException
-
PushCaptureBehavior
public void PushCaptureBehavior(Behavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryException
-
SyncSelection
public void SyncSelection() 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
-
getAdornerWindowGraphics
public Graphics getAdornerWindowGraphics() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
-
getCurrentBehavior
public Behavior getCurrentBehavior() throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getAdorners
public BehaviorServiceAdornerCollection getAdorners() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSynchronize
public void addSynchronize(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSynchronize
public void removeSynchronize(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBeginDrag
public void addBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBeginDrag
public void removeBeginDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addEndDrag
public void addEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeEndDrag
public void removeEndDrag(BehaviorDragDropEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-