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=9.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.String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationCorestatic java.lang.String
className
Qualified class name: System.Windows.Input.InputManagerstatic JCType
classType
The 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=9.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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDispatcherObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDispatcherObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDispatcherObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static InputManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoInputManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
InputManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ProcessInput
public boolean ProcessInput(InputEventArgs input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
-
PopMenuMode
public void PopMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
PushMenuMode
public void PushMenuMode(PresentationSource menuSite) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getIsInMenuMode
public boolean getIsInMenuMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInputProviders
public ICollection getInputProviders() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
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, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, CultureNotFoundException, MulticastNotSupportedException, KeyNotFoundException, SecurityException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
TimeoutException
NullReferenceException
CultureNotFoundException
MulticastNotSupportedException
KeyNotFoundException
SecurityException
-
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
-
-