tit.gui.widget.KeyboardInput Class Reference

List of all members.

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)

Detailed Description

Class to get input from the keyboard.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.gui.widget.KeyboardInput.KeyboardInput ( PresentTimeObservation  observation  ) 

Constructs a new ToetsenbordInvoer-object.

Parameters:
observation The PresentTimeObservation to which the recorded behaviours are passed through.


Member Function Documentation

synchronized void tit.gui.widget.KeyboardInput.setEnabled ( boolean  enabled  ) 

Changes the enabled-state.

Parameters:
enabled De nieuwe enabled-toestand.

synchronized void tit.gui.widget.KeyboardInput.focusGained ( FocusEvent  event  ) 

Is called when this widgets gains the focus.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
event Het event geassocieerd met het verlaten van de component.


Member Data Documentation

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.

PresentTimeObservation tit.gui.widget.KeyboardInput.listener [private]

The PresentTimeObservation to which the recorded behaviours are passed through.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:00 2007 by  doxygen 1.5.1