Package system.windows.input
Class InputManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.input.InputManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class InputManager extends DispatcherObject
The base .NET class managing System.Windows.Input.InputManager, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Input.InputManagerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description InputManager()InputManager(java.lang.Object instance)Internal constructor.
-
Method Summary
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Input.InputManager- 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 classDispatcherObject- 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 classDispatcherObject- 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 classDispatcherObject- 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 classDispatcherObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDispatcherObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static InputManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoInputManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
InputManagerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ProcessInput
public boolean ProcessInput(InputEventArgs input) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, ConfigurationErrorsException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOutOfMemoryException
-
PopMenuMode
public void PopMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
PushMenuMode
public void PushMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
getIsInMenuMode
public boolean getIsInMenuMode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInputProviders
public ICollection getInputProviders() throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
getMostRecentInputDevice
public InputDevice getMostRecentInputDevice() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMostRecentInputDevice
public void setMostRecentInputDevice(InputDevice MostRecentInputDevice) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrent
public static InputManager getCurrent() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, IndexOutOfRangeException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException, FormatException, MulticastNotSupportedException, KeyNotFoundException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionFormatExceptionMulticastNotSupportedExceptionKeyNotFoundExceptionNullReferenceException
-
getPrimaryKeyboardDevice
public KeyboardDevice getPrimaryKeyboardDevice() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPrimaryMouseDevice
public MouseDevice getPrimaryMouseDevice() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addEnterMenuMode
public void addEnterMenuMode(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeEnterMenuMode
public void removeEnterMenuMode(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addHitTestInvalidatedAsync
public void addHitTestInvalidatedAsync(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeHitTestInvalidatedAsync
public void removeHitTestInvalidatedAsync(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addLeaveMenuMode
public void addLeaveMenuMode(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLeaveMenuMode
public void removeLeaveMenuMode(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addPostNotifyInput
public void addPostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePostNotifyInput
public void removePostNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addPreNotifyInput
public void addPreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePreNotifyInput
public void removePreNotifyInput(NotifyInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addPreProcessInput
public void addPreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePreProcessInput
public void removePreProcessInput(PreProcessInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addPostProcessInput
public void addPostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePostProcessInput
public void removePostProcessInput(ProcessInputEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-