Package org.compiere.pos
Class PosKeyboardFocusManager
- java.lang.Object
-
- java.awt.KeyboardFocusManager
-
- java.awt.DefaultKeyboardFocusManager
-
- org.compiere.pos.PosKeyboardFocusManager
-
- All Implemented Interfaces:
ActionListener
,KeyEventDispatcher
,KeyEventPostProcessor
,EventListener
public class PosKeyboardFocusManager extends DefaultKeyboardFocusManager implements ActionListener
POS Keyboard Focus Manager- Version:
- $Id: PosKeyboardFocusManager.java,v 1.2 2004/07/11 19:50:12 jjanke Exp $
- Author:
- Comunidad de Desarrollo OpenXpertya *Basado en Codigo Original Modificado, Revisado y Optimizado de: *Copyright (c) Jorg Janke
-
-
Field Summary
-
Fields inherited from class java.awt.KeyboardFocusManager
BACKWARD_TRAVERSAL_KEYS, DOWN_CYCLE_TRAVERSAL_KEYS, FORWARD_TRAVERSAL_KEYS, UP_CYCLE_TRAVERSAL_KEYS
-
-
Constructor Summary
Constructors Constructor Description PosKeyboardFocusManager()
PosKeyboardFocusManager
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Action Performed - unqueueboolean
dispatchKeyEvent(KeyEvent event)
Dispatch Key Event - queuevoid
dispose()
Disposelong
getLastWhen()
void
start()
Start Timervoid
stop()
Stop Timer-
Methods inherited from class java.awt.DefaultKeyboardFocusManager
dequeueKeyEvents, discardKeyEvents, dispatchEvent, downFocusCycle, enqueueKeyEvents, focusNextComponent, focusPreviousComponent, postProcessKeyEvent, processKeyEvent, upFocusCycle
-
Methods inherited from class java.awt.KeyboardFocusManager
addKeyEventDispatcher, addKeyEventPostProcessor, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clearFocusOwner, 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, upFocusCycle
-
-
-
-
Method Detail
-
getLastWhen
public long getLastWhen()
-
dispose
public void dispose()
Dispose
-
start
public void start()
Start Timer
-
stop
public void stop()
Stop Timer
-
dispatchKeyEvent
public boolean dispatchKeyEvent(KeyEvent event)
Dispatch Key Event - queue- Specified by:
dispatchKeyEvent
in interfaceKeyEventDispatcher
- Overrides:
dispatchKeyEvent
in classDefaultKeyboardFocusManager
- Parameters:
eevent
- event- Returns:
- true
-
actionPerformed
public void actionPerformed(ActionEvent e)
Action Performed - unqueue- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
e
- event
-
-