Class KeyboardFocusManager
public class KeyboardFocusManager : JVMBridgeBase<KeyboardFocusManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<KeyboardFocusManager>KeyboardFocusManager
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<KeyboardFocusManager>.SExecute<TNewClass, TReturn>(IJavaType, string, params object[])JVMBridgeBase<KeyboardFocusManager>.IsAssignableFrom(IJavaType)JVMBridgeBase<KeyboardFocusManager>.IsAssignableFrom<T>()JVMBridgeBase<KeyboardFocusManager>.Execute<T>(params T[])JVMBridgeBase<KeyboardFocusManager>.DynBridgeClazzJVMBridgeBase<KeyboardFocusManager>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
KeyboardFocusManager()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("KeyboardFocusManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KeyboardFocusManager()
KeyboardFocusManager(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("KeyboardFocusManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KeyboardFocusManager(params object[] args)
Parameters
args
object[]
Properties
ActiveWindow
public Window ActiveWindow { get; }
Property Value
BACKWARD_TRAVERSAL_KEYS
public static int BACKWARD_TRAVERSAL_KEYS { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CurrentFocusCycleRoot
public Container CurrentFocusCycleRoot { get; }
Property Value
CurrentKeyboardFocusManager
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/KeyboardFocusManager.html#getCurrentKeyboardFocusManager() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/KeyboardFocusManager.html#setCurrentKeyboardFocusManager(java.awt.KeyboardFocusManager)
public static KeyboardFocusManager CurrentKeyboardFocusManager { get; set; }
Property Value
DOWN_CYCLE_TRAVERSAL_KEYS
public static int DOWN_CYCLE_TRAVERSAL_KEYS { get; }
Property Value
DefaultFocusTraversalPolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/KeyboardFocusManager.html#getDefaultFocusTraversalPolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/KeyboardFocusManager.html#setDefaultFocusTraversalPolicy(java.awt.FocusTraversalPolicy)
public FocusTraversalPolicy DefaultFocusTraversalPolicy { get; set; }
Property Value
FORWARD_TRAVERSAL_KEYS
public static int FORWARD_TRAVERSAL_KEYS { get; }
Property Value
FocusOwner
public Component FocusOwner { get; }
Property Value
FocusedWindow
public Window FocusedWindow { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
PermanentFocusOwner
public Component PermanentFocusOwner { get; }
Property Value
PropertyChangeListeners
public PropertyChangeListener[] PropertyChangeListeners { get; }
Property Value
UP_CYCLE_TRAVERSAL_KEYS
public static int UP_CYCLE_TRAVERSAL_KEYS { get; }
Property Value
VetoableChangeListeners
public VetoableChangeListener[] VetoableChangeListeners { get; }
Property Value
Methods
AddKeyEventDispatcher(KeyEventDispatcher)
public void AddKeyEventDispatcher(KeyEventDispatcher arg0)
Parameters
AddKeyEventPostProcessor(KeyEventPostProcessor)
public void AddKeyEventPostProcessor(KeyEventPostProcessor arg0)
Parameters
AddPropertyChangeListener(PropertyChangeListener)
public void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
AddPropertyChangeListener(String, PropertyChangeListener)
public void AddPropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
AddVetoableChangeListener(VetoableChangeListener)
public void AddVetoableChangeListener(VetoableChangeListener arg0)
Parameters
AddVetoableChangeListener(String, VetoableChangeListener)
public void AddVetoableChangeListener(String arg0, VetoableChangeListener arg1)
Parameters
ClearFocusOwner()
public void ClearFocusOwner()
ClearGlobalFocusOwner()
public void ClearGlobalFocusOwner()
Exceptions
DispatchEvent(AWTEvent)
public bool DispatchEvent(AWTEvent arg0)
Parameters
Returns
DispatchKeyEvent(KeyEvent)
public bool DispatchKeyEvent(KeyEvent arg0)
Parameters
Returns
DownFocusCycle()
public void DownFocusCycle()
DownFocusCycle(Container)
public void DownFocusCycle(Container arg0)
Parameters
FocusNextComponent()
public void FocusNextComponent()
FocusNextComponent(Component)
public void FocusNextComponent(Component arg0)
Parameters
FocusPreviousComponent()
public void FocusPreviousComponent()
FocusPreviousComponent(Component)
public void FocusPreviousComponent(Component arg0)
Parameters
GetDefaultFocusTraversalKeys(int)
public Set<AWTKeyStroke> GetDefaultFocusTraversalKeys(int arg0)
Parameters
Returns
GetPropertyChangeListeners(String)
public PropertyChangeListener[] GetPropertyChangeListeners(String arg0)
Parameters
Returns
GetVetoableChangeListeners(String)
public VetoableChangeListener[] GetVetoableChangeListeners(String arg0)
Parameters
Returns
PostProcessKeyEvent(KeyEvent)
public bool PostProcessKeyEvent(KeyEvent arg0)
Parameters
Returns
ProcessKeyEvent(Component, KeyEvent)
public void ProcessKeyEvent(Component arg0, KeyEvent arg1)
Parameters
RedispatchEvent(Component, AWTEvent)
public void RedispatchEvent(Component arg0, AWTEvent arg1)
Parameters
RemoveKeyEventDispatcher(KeyEventDispatcher)
public void RemoveKeyEventDispatcher(KeyEventDispatcher arg0)
Parameters
RemoveKeyEventPostProcessor(KeyEventPostProcessor)
public void RemoveKeyEventPostProcessor(KeyEventPostProcessor arg0)
Parameters
RemovePropertyChangeListener(PropertyChangeListener)
public void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
RemovePropertyChangeListener(String, PropertyChangeListener)
public void RemovePropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
RemoveVetoableChangeListener(VetoableChangeListener)
public void RemoveVetoableChangeListener(VetoableChangeListener arg0)
Parameters
RemoveVetoableChangeListener(String, VetoableChangeListener)
public void RemoveVetoableChangeListener(String arg0, VetoableChangeListener arg1)
Parameters
SetDefaultFocusTraversalKeys<Arg1ExtendsJava_Awt_AWTKeyStroke>(int, Set<Arg1ExtendsJava_Awt_AWTKeyStroke>)
public void SetDefaultFocusTraversalKeys<Arg1ExtendsJava_Awt_AWTKeyStroke>(int arg0, Set<Arg1ExtendsJava_Awt_AWTKeyStroke> arg1) where Arg1ExtendsJava_Awt_AWTKeyStroke : AWTKeyStroke
Parameters
Type Parameters
Arg1ExtendsJava_Awt_AWTKeyStroke
SetGlobalCurrentFocusCycleRoot(Container)
public void SetGlobalCurrentFocusCycleRoot(Container arg0)
Parameters
Exceptions
UpFocusCycle()
public void UpFocusCycle()
UpFocusCycle(Component)
public void UpFocusCycle(Component arg0)
Parameters
Operators
implicit operator KeyEventDispatcher(KeyboardFocusManager)
Converter from KeyboardFocusManager to KeyEventDispatcher
public static implicit operator KeyEventDispatcher(KeyboardFocusManager t)
Parameters
Returns
implicit operator KeyEventPostProcessor(KeyboardFocusManager)
Converter from KeyboardFocusManager to KeyEventPostProcessor
public static implicit operator KeyEventPostProcessor(KeyboardFocusManager t)