public class InputManager extends DispatcherObject
.NET documentation at https://docs.microsoft.com/en-us/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=10.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.
|
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
java.lang.Throwablepublic void addEnterMenuMode(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addHitTestInvalidatedAsync(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLeaveMenuMode(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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, PlatformNotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, NotSupportedException, FormatException, CultureNotFoundException, MulticastNotSupportedException, KeyNotFoundException, SecurityException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionNotSupportedExceptionFormatExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionKeyNotFoundExceptionSecurityExceptionpublic ICollection getInputProviders() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsInMenuMode()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DispatcherObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectJCType representing the CLR Type of the instantiated Classpublic InputDevice getMostRecentInputDevice() throws java.lang.Throwable
java.lang.Throwablepublic KeyboardDevice getPrimaryKeyboardDevice() throws java.lang.Throwable
java.lang.Throwablepublic MouseDevice getPrimaryMouseDevice() throws java.lang.Throwable
java.lang.Throwablepublic void PopMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public boolean ProcessInput(InputEventArgs input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionMulticastNotSupportedExceptionFormatExceptionpublic void PushMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void removeEnterMenuMode(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeHitTestInvalidatedAsync(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLeaveMenuMode(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DispatcherObjectpublic void setMostRecentInputDevice(InputDevice MostRecentInputDevice) throws java.lang.Throwable
java.lang.Throwable