public class StylusDevice extends InputDevice
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Input.StylusDevice
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: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Input.StylusDevice
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
StylusDevice() |
StylusDevice(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Capture(IInputElement element)
Invokes the .NET member Capture.
|
boolean |
Capture(IInputElement element,
CaptureMode captureMode)
Invokes the .NET member Capture.
|
static StylusDevice |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into StylusDevice, a cast assert is made to check if types are compatible. |
IInputElement |
getCaptured()
Gets the value of the .NET property Captured.
|
IInputElement |
getDirectlyOver()
Gets the value of the .NET property DirectlyOver.
|
int |
getId()
Gets the value of the .NET property Id.
|
boolean |
getInAir()
Gets the value of the .NET property InAir.
|
boolean |
getInRange()
Gets the value of the .NET property InRange.
|
boolean |
getInverted()
Gets the value of the .NET property Inverted.
|
boolean |
getIsValid()
Gets the value of the .NET property IsValid.
|
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. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
Point |
GetPosition(IInputElement relativeTo)
Invokes the .NET member GetPosition.
|
StylusButtonCollection |
getStylusButtons()
Gets the value of the .NET property StylusButtons.
|
StylusPointCollection |
GetStylusPoints(IInputElement relativeTo)
Invokes the .NET member GetStylusPoints.
|
StylusPointCollection |
GetStylusPoints(IInputElement relativeTo,
StylusPointDescription subsetToReformatTo)
Invokes the .NET member GetStylusPoints.
|
TabletDevice |
getTabletDevice()
Gets the value of the .NET property TabletDevice.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
Synchronize()
Invokes the .NET member Synchronize.
|
getActiveSource, getTargetCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public StylusDevice()
throws java.lang.Throwable
java.lang.Throwablepublic StylusDevice(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 boolean Capture(IInputElement element) throws java.lang.Throwable
element - the argument of type IInputElementjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Capture(IInputElement element, CaptureMode captureMode) throws java.lang.Throwable
element - the argument of type IInputElementcaptureMode - the argument of type CaptureModejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static StylusDevice cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into StylusDevice, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStylusDevice instancejava.lang.Throwable - in case of error during cast operationpublic IInputElement getCaptured() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IInputElement getDirectlyOver() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int getId()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getInAir()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getInRange()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getInverted()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsValid()
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 InputDevicepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class InputDevicepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class InputDevicenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class InputDevicepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class InputDevicepublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Point GetPosition(IInputElement relativeTo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
relativeTo - the argument of type IInputElementjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic StylusButtonCollection getStylusButtons() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic StylusPointCollection GetStylusPoints(IInputElement relativeTo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
relativeTo - the argument of type IInputElementjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo) throws java.lang.Throwable
relativeTo - the argument of type IInputElementsubsetToReformatTo - the argument of type StylusPointDescriptionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic TabletDevice getTabletDevice() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class InputDeviceinstance - the new underlying objectpublic void Synchronize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLR