public class Behavior extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.Design.Behavior.Behavior
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.Windows.Forms.Design.Behavior.Behavior
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Behavior() |
Behavior(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Behavior |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Behavior, a cast assert is made to check if types are compatible. |
MenuCommand |
FindCommand(CommandID commandId)
Invokes the .NET member FindCommand.
|
Cursor |
getCursor()
Gets the value of the .NET property Cursor.
|
boolean |
getDisableAllCommands()
Gets the value of the .NET property DisableAllCommands.
|
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. |
void |
OnDragDrop(Glyph g,
DragEventArgs e)
Invokes the .NET member OnDragDrop.
|
void |
OnDragEnter(Glyph g,
DragEventArgs e)
Invokes the .NET member OnDragEnter.
|
void |
OnDragLeave(Glyph g,
EventArgs e)
Invokes the .NET member OnDragLeave.
|
void |
OnDragOver(Glyph g,
DragEventArgs e)
Invokes the .NET member OnDragOver.
|
void |
OnGiveFeedback(Glyph g,
GiveFeedbackEventArgs e)
Invokes the .NET member OnGiveFeedback.
|
void |
OnLoseCapture(Glyph g,
EventArgs e)
Invokes the .NET member OnLoseCapture.
|
boolean |
OnMouseDoubleClick(Glyph g,
MouseButtons button,
Point mouseLoc)
Invokes the .NET member OnMouseDoubleClick.
|
boolean |
OnMouseDown(Glyph g,
MouseButtons button,
Point mouseLoc)
Invokes the .NET member OnMouseDown.
|
boolean |
OnMouseEnter(Glyph g)
Invokes the .NET member OnMouseEnter.
|
boolean |
OnMouseHover(Glyph g,
Point mouseLoc)
Invokes the .NET member OnMouseHover.
|
boolean |
OnMouseLeave(Glyph g)
Invokes the .NET member OnMouseLeave.
|
boolean |
OnMouseMove(Glyph g,
MouseButtons button,
Point mouseLoc)
Invokes the .NET member OnMouseMove.
|
boolean |
OnMouseUp(Glyph g,
MouseButtons button)
Invokes the .NET member OnMouseUp.
|
void |
OnQueryContinueDrag(Glyph g,
QueryContinueDragEventArgs e)
Invokes the .NET member OnQueryContinueDrag.
|
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 Behavior()
throws java.lang.Throwable
java.lang.Throwablepublic Behavior(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 static Behavior cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Behavior, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBehavior instancejava.lang.Throwable - in case of error during cast operationpublic MenuCommand FindCommand(CommandID commandId) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
commandId - the argument of type CommandIDjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Cursor getCursor() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic boolean getDisableAllCommands()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - 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 void OnDragDrop(Glyph g, DragEventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type DragEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnDragEnter(Glyph g, DragEventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type DragEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnDragLeave(Glyph g, EventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type EventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnDragOver(Glyph g, DragEventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type DragEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnGiveFeedback(Glyph g, GiveFeedbackEventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type GiveFeedbackEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnLoseCapture(Glyph g, EventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type EventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseDoubleClick(Glyph g, MouseButtons button, Point mouseLoc) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphbutton - the argument of type MouseButtonsmouseLoc - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseDown(Glyph g, MouseButtons button, Point mouseLoc) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphbutton - the argument of type MouseButtonsmouseLoc - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseEnter(Glyph g) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseHover(Glyph g, Point mouseLoc) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type GlyphmouseLoc - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseLeave(Glyph g) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseMove(Glyph g, MouseButtons button, Point mouseLoc) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphbutton - the argument of type MouseButtonsmouseLoc - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean OnMouseUp(Glyph g, MouseButtons button) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphbutton - the argument of type MouseButtonsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void OnQueryContinueDrag(Glyph g, QueryContinueDragEventArgs e) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
g - the argument of type Glyphe - the argument of type QueryContinueDragEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object