Public Member Functions | |
KeyboardInput (PresentTimeObservation observation) | |
synchronized void | setEnabled (boolean enabled) |
synchronized void | focusGained (FocusEvent event) |
synchronized void | focusLost (FocusEvent event) |
void | keyTyped (KeyEvent event) |
void | keyPressed (KeyEvent event) |
void | keyReleased (KeyEvent event) |
void | mouseClicked (MouseEvent event) |
void | mousePressed (MouseEvent event) |
void | mouseReleased (MouseEvent event) |
void | mouseEntered (MouseEvent event) |
void | mouseExited (MouseEvent event) |
Static Protected Attributes | |
static final Icon | OK = new ImageIcon(OK_DATA) |
static final Icon | NOK = new ImageIcon(NOK_DATA) |
Private Attributes | |
PresentTimeObservation | listener |
Static Private Attributes | |
static final byte[] | OK_DATA |
static final byte[] | NOK_DATA |
static final Cursor | CURSOR = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR) |
tit.gui.widget.KeyboardInput.KeyboardInput | ( | PresentTimeObservation | observation | ) |
Constructs a new ToetsenbordInvoer
-object.
observation | The PresentTimeObservation to which the recorded behaviours are passed through. |
synchronized void tit.gui.widget.KeyboardInput.setEnabled | ( | boolean | enabled | ) |
Changes the enabled-state.
enabled | De nieuwe enabled-toestand. |
synchronized void tit.gui.widget.KeyboardInput.focusGained | ( | FocusEvent | event | ) |
Is called when this widgets gains the focus.
event | The event associted with the gaining of the focus. |
synchronized void tit.gui.widget.KeyboardInput.focusLost | ( | FocusEvent | event | ) |
Is called when this widgets looses the focus.
event | The event associted with the loosing of the focus. |
void tit.gui.widget.KeyboardInput.keyTyped | ( | KeyEvent | event | ) |
Is called when a key is typed.
event | The evant associated with the typing of the key. |
void tit.gui.widget.KeyboardInput.keyPressed | ( | KeyEvent | event | ) |
Is called wen a key is pressed.
event | The evant associated with the pressing of the key. |
void tit.gui.widget.KeyboardInput.keyReleased | ( | KeyEvent | event | ) |
Is called wen a key is released.
event | The evant associated with the releasing of the key. |
void tit.gui.widget.KeyboardInput.mouseClicked | ( | MouseEvent | event | ) |
Wordt aangeroepen wanneer de muis ingedrukt en terug losgelaten wordt op een component.
event | Het event geassocieerd met indrukken en terug loslaten van de muis. |
void tit.gui.widget.KeyboardInput.mousePressed | ( | MouseEvent | event | ) |
Wordt aangeroepen wanneer de muis wordt ingedrukt op een component.
event | Het event geassocieerd met het indrukken van de muis. |
void tit.gui.widget.KeyboardInput.mouseReleased | ( | MouseEvent | event | ) |
Wordt aangeroepen wanneer de muis losgelaten wordt boven een component.
event | Het event geassocieerd met het loslaten van de muis. |
void tit.gui.widget.KeyboardInput.mouseEntered | ( | MouseEvent | event | ) |
Wordt aangeroepen wanneer de cursor boven de component komt.
event | Het event geassocieerd met boven de component komen. |
void tit.gui.widget.KeyboardInput.mouseExited | ( | MouseEvent | event | ) |
Wordt opgeroepen wanneer de cursor de component verlaat.
event | Het event geassocieerd met het verlaten van de component. |
final byte [] tit.gui.widget.KeyboardInput.OK_DATA [static, private] |
Data for the OK-image.
final Icon tit.gui.widget.KeyboardInput.OK = new ImageIcon(OK_DATA) [static, protected] |
The OK-image.
final byte [] tit.gui.widget.KeyboardInput.NOK_DATA [static, private] |
Data for the NOK-image.
final Icon tit.gui.widget.KeyboardInput.NOK = new ImageIcon(NOK_DATA) [static, protected] |
The NOK-image.
final Cursor tit.gui.widget.KeyboardInput.CURSOR = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR) [static, private] |
The cursor that is shaown when hovering above this component.
The PresentTimeObservation
to which the recorded behaviours are passed through.