public class FixedFocusManager extends FocusManager
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static boolean |
DEBUG2 |
FOCUS_MANAGER_CLASS_PROPERTYBACKWARD_TRAVERSAL_KEYS, DOWN_CYCLE_TRAVERSAL_KEYS, FORWARD_TRAVERSAL_KEYS, UP_CYCLE_TRAVERSAL_KEYS| Constructor and Description |
|---|
FixedFocusManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareTabOrder(Component a,
Component b)
Return true if
a should be before b in the
"tab" order. |
void |
focusNextComponent(Component aComponent)
Cause the focus manager to set the focus on the next focusable component
|
void |
focusPreviousComponent(Component aComponent)
Cause the focus manager to set the focus on the previous focusable
component
|
Component |
getComponentAfter(Container aContainer,
Component aComponent)
Return the component the should receive the focus after aComponent
|
Component |
getComponentBefore(Container aContainer,
Component aComponent)
Return the component that should receive the focus before aComponent
|
Component |
getFirstComponent(Container aContainer)
Return the first component that should receive the focus
|
Component |
getLastComponent(Container aContainer)
Return the last component that should receive the focus
|
void |
processKeyEvent(Component focusedComponent,
KeyEvent anEvent) |
disableSwingFocusManager, getCurrentManager, isFocusManagerEnabled, setCurrentManagerdequeueKeyEvents, discardKeyEvents, dispatchEvent, dispatchKeyEvent, downFocusCycle, enqueueKeyEvents, postProcessKeyEvent, upFocusCycleaddKeyEventDispatcher, addKeyEventPostProcessor, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clearGlobalFocusOwner, downFocusCycle, firePropertyChange, fireVetoableChange, focusNextComponent, focusPreviousComponent, getActiveWindow, getCurrentFocusCycleRoot, getCurrentKeyboardFocusManager, getDefaultFocusTraversalKeys, getDefaultFocusTraversalPolicy, getFocusedWindow, getFocusOwner, getGlobalActiveWindow, getGlobalCurrentFocusCycleRoot, getGlobalFocusedWindow, getGlobalFocusOwner, getGlobalPermanentFocusOwner, getKeyEventDispatchers, getKeyEventPostProcessors, getPermanentFocusOwner, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, redispatchEvent, removeKeyEventDispatcher, removeKeyEventPostProcessor, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setCurrentKeyboardFocusManager, setDefaultFocusTraversalKeys, setDefaultFocusTraversalPolicy, setGlobalActiveWindow, setGlobalCurrentFocusCycleRoot, setGlobalFocusedWindow, setGlobalFocusOwner, setGlobalPermanentFocusOwner, upFocusCyclepublic void processKeyEvent(Component focusedComponent, KeyEvent anEvent)
processKeyEvent in class DefaultKeyboardFocusManagerpublic void focusNextComponent(Component aComponent)
focusNextComponent in class DefaultKeyboardFocusManagerpublic void focusPreviousComponent(Component aComponent)
focusPreviousComponent in class DefaultKeyboardFocusManagerpublic Component getFirstComponent(Container aContainer)
public Component getLastComponent(Container aContainer)
public Component getComponentBefore(Container aContainer, Component aComponent)
public Component getComponentAfter(Container aContainer, Component aComponent)
public boolean compareTabOrder(Component a, Component b)
a should be before b in the
"tab" order. Override this method if you want to change the automatic
"tab" order. The default implementation will order tab to give a left to
right, top down order. Override this method if another order is required.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.