Class FocusManager
java.lang.Object
vaadinx.awt.KeyboardFocusManager
vaadinx.swing.FocusManager
- All Implemented Interfaces:
Serializable
Emulator for
FocusManager: four statics and one constant,
exactly as the JDK class is. Every query and command migrated code calls —
getFocusOwner, focusNextComponent, … — is inherited from
KeyboardFocusManager, which documents them.
Concrete, where the JDK's is abstract (a deliberate R_swing_is_truth deviation):
getCurrentManager() has to hand out an instance, and the JDK's
concrete subclass DefaultFocusManager is not ported.
- See Also:
-
Field Summary
FieldsFields inherited from class KeyboardFocusManager
BACKWARD_TRAVERSAL_KEYS, DOWN_CYCLE_TRAVERSAL_KEYS, FORWARD_TRAVERSAL_KEYS, UP_CYCLE_TRAVERSAL_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.static FocusManagerThe shared stateless facade; nevernull.static booleanDeprecated.static voidsetCurrentManager(FocusManager manager) WARN and ignore, same call asKeyboardFocusManager.setCurrentKeyboardFocusManager(KeyboardFocusManager): a user subclass's only overridable hooks are the ones this hierarchy WARNs on, so honouring the swap would imply more works than does.Methods inherited from class KeyboardFocusManager
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clearFocusOwner, clearGlobalFocusOwner, dequeueKeyEvents, discardKeyEvents, dispatchEvent, dispatchKeyEvent, downFocusCycle, downFocusCycle, enqueueKeyEvents, firePropertyChange, fireVetoableChange, focusNextComponent, focusNextComponent, focusPreviousComponent, focusPreviousComponent, getActiveWindow, getCurrentFocusCycleRoot, getCurrentKeyboardFocusManager, getDefaultFocusTraversalKeys, getDefaultFocusTraversalPolicy, getFocusedWindow, getFocusOwner, getGlobalActiveWindow, getGlobalCurrentFocusCycleRoot, getGlobalFocusedWindow, getGlobalFocusOwner, getGlobalPermanentFocusOwner, getPermanentFocusOwner, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, postProcessKeyEvent, processKeyEvent, redispatchEvent, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setCurrentKeyboardFocusManager, setDefaultFocusTraversalKeys, setDefaultFocusTraversalPolicy, setGlobalActiveWindow, setGlobalCurrentFocusCycleRoot, setGlobalFocusedWindow, setGlobalFocusOwner, setGlobalPermanentFocusOwner, upFocusCycle, upFocusCycle
-
Field Details
-
FOCUS_MANAGER_CLASS_PROPERTY
- See Also:
-
-
Constructor Details
-
FocusManager
protected FocusManager()
-
-
Method Details
-
getCurrentManager
The shared stateless facade; nevernull. -
setCurrentManager
WARN and ignore, same call asKeyboardFocusManager.setCurrentKeyboardFocusManager(KeyboardFocusManager): a user subclass's only overridable hooks are the ones this hierarchy WARNs on, so honouring the swap would imply more works than does. -
disableSwingFocusManager
Deprecated.Deprecated since 1.4 in the JDK and a no-op there for decades; there was never a Swing focus manager here to disable. -
isFocusManagerEnabled
Deprecated.Alwaystrue— matching the JDK, where the flag has been pinned true since 1.4. Code gating on it takes the branch it takes on a modern JVM.
-