public class InputManager extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Input.InputManager
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.InputManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
InputManager() |
InputManager(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEnterMenuMode(EventHandler handler)
Invokes the .NET member addEnterMenuMode.
|
void |
addHitTestInvalidatedAsync(EventHandler handler)
Invokes the .NET member addHitTestInvalidatedAsync.
|
void |
addLeaveMenuMode(EventHandler handler)
Invokes the .NET member addLeaveMenuMode.
|
void |
addPostNotifyInput(NotifyInputEventHandler handler)
Invokes the .NET member addPostNotifyInput.
|
void |
addPostProcessInput(ProcessInputEventHandler handler)
Invokes the .NET member addPostProcessInput.
|
void |
addPreNotifyInput(NotifyInputEventHandler handler)
Invokes the .NET member addPreNotifyInput.
|
void |
addPreProcessInput(PreProcessInputEventHandler handler)
Invokes the .NET member addPreProcessInput.
|
static InputManager |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into InputManager, a cast assert is made to check if types are compatible. |
static InputManager |
getCurrent()
Gets the value of the .NET property Current.
|
ICollection |
getInputProviders()
Gets the value of the .NET property InputProviders.
|
boolean |
getIsInMenuMode()
Gets the value of the .NET property IsInMenuMode.
|
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. |
InputDevice |
getMostRecentInputDevice()
Gets the value of the .NET property MostRecentInputDevice.
|
KeyboardDevice |
getPrimaryKeyboardDevice()
Gets the value of the .NET property PrimaryKeyboardDevice.
|
MouseDevice |
getPrimaryMouseDevice()
Gets the value of the .NET property PrimaryMouseDevice.
|
void |
PopMenuMode(PresentationSource menuSite)
Invokes the .NET member PopMenuMode.
|
boolean |
ProcessInput(InputEventArgs input)
Invokes the .NET member ProcessInput.
|
void |
PushMenuMode(PresentationSource menuSite)
Invokes the .NET member PushMenuMode.
|
void |
removeEnterMenuMode(EventHandler handler)
Invokes the .NET member removeEnterMenuMode.
|
void |
removeHitTestInvalidatedAsync(EventHandler handler)
Invokes the .NET member removeHitTestInvalidatedAsync.
|
void |
removeLeaveMenuMode(EventHandler handler)
Invokes the .NET member removeLeaveMenuMode.
|
void |
removePostNotifyInput(NotifyInputEventHandler handler)
Invokes the .NET member removePostNotifyInput.
|
void |
removePostProcessInput(ProcessInputEventHandler handler)
Invokes the .NET member removePostProcessInput.
|
void |
removePreNotifyInput(NotifyInputEventHandler handler)
Invokes the .NET member removePreNotifyInput.
|
void |
removePreProcessInput(PreProcessInputEventHandler handler)
Invokes the .NET member removePreProcessInput.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMostRecentInputDevice(InputDevice MostRecentInputDevice)
Sets the value of the .NET property MostRecentInputDevice.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public InputManager()
throws java.lang.Throwable
java.lang.Throwablepublic InputManager(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 addEnterMenuMode(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 void addHitTestInvalidatedAsync(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 void addLeaveMenuMode(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 void addPostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type NotifyInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addPostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type ProcessInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addPreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type NotifyInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addPreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type PreProcessInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static InputManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into InputManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedInputManager instancejava.lang.Throwable - in case of error during cast operationpublic static InputManager getCurrent() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, CultureNotFoundException, MulticastNotSupportedException, KeyNotFoundException, SecurityException
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 itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itNullReferenceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itpublic ICollection getInputProviders() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsInMenuMode()
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 DispatcherObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectpublic InputDevice getMostRecentInputDevice() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic KeyboardDevice getPrimaryKeyboardDevice() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MouseDevice getPrimaryMouseDevice() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void PopMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
menuSite - the argument of type PresentationSourcejava.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 boolean ProcessInput(InputEventArgs input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException
input - the argument of type InputEventArgsjava.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 itIndexOutOfRangeException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic void PushMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
menuSite - the argument of type PresentationSourcejava.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 removeEnterMenuMode(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 void removeHitTestInvalidatedAsync(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 void removeLeaveMenuMode(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 void removePostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type NotifyInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removePostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type ProcessInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removePreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type NotifyInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removePreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
handler - the argument of type PreProcessInputEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying objectpublic void setMostRecentInputDevice(InputDevice MostRecentInputDevice) throws java.lang.Throwable
MostRecentInputDevice - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR