Package system.windows.interop
Class IKeyboardInputSinkImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.interop.IKeyboardInputSinkImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IKeyboardInputSink
public class IKeyboardInputSinkImplementation extends NetObject implements IKeyboardInputSink
The base .NET class managing System.Windows.Interop.IKeyboardInputSink, WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Interop.IKeyboardInputSink
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: WindowsBasestatic String
className
Qualified class name: System.Windows.Interop.IKeyboardInputSinkstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IKeyboardInputSinkImplementation(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeIKeyboardInputSite
getKeyboardInputSite()
boolean
HasFocusWithin()
boolean
OnMnemonic(JCORefOut<MSG> msg, ModifierKeys modifiers)
IKeyboardInputSite
RegisterKeyboardInputSink(IKeyboardInputSink sink)
void
setKeyboardInputSite(IKeyboardInputSite KeyboardInputSite)
boolean
TabInto(TraversalRequest request)
static IKeyboardInputSink
ToIKeyboardInputSink(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIKeyboardInputSink
, a cast assert is made to check if types are compatible.boolean
TranslateAccelerator(JCORefOut<MSG> msg, ModifierKeys modifiers)
boolean
TranslateChar(JCORefOut<MSG> msg, ModifierKeys modifiers)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Interop.IKeyboardInputSink- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIKeyboardInputSink
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIKeyboardInputSink
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIKeyboardInputSink
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIKeyboardInputSink
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIKeyboardInputSink
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIKeyboardInputSink
public static IKeyboardInputSink ToIKeyboardInputSink(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoIKeyboardInputSink
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IKeyboardInputSink
instance- Throws:
Throwable
- in case of error during cast operation
-
HasFocusWithin
public boolean HasFocusWithin() throws Throwable
- Specified by:
HasFocusWithin
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
OnMnemonic
public boolean OnMnemonic(JCORefOut<MSG> msg, ModifierKeys modifiers) throws Throwable
- Specified by:
OnMnemonic
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
TabInto
public boolean TabInto(TraversalRequest request) throws Throwable
- Specified by:
TabInto
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
TranslateAccelerator
public boolean TranslateAccelerator(JCORefOut<MSG> msg, ModifierKeys modifiers) throws Throwable
- Specified by:
TranslateAccelerator
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
TranslateChar
public boolean TranslateChar(JCORefOut<MSG> msg, ModifierKeys modifiers) throws Throwable
- Specified by:
TranslateChar
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
RegisterKeyboardInputSink
public IKeyboardInputSite RegisterKeyboardInputSink(IKeyboardInputSink sink) throws Throwable
- Specified by:
RegisterKeyboardInputSink
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
getKeyboardInputSite
public IKeyboardInputSite getKeyboardInputSite() throws Throwable
- Specified by:
getKeyboardInputSite
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
setKeyboardInputSite
public void setKeyboardInputSite(IKeyboardInputSite KeyboardInputSite) throws Throwable
- Specified by:
setKeyboardInputSite
in interfaceIKeyboardInputSink
- Throws:
Throwable
-
-