jcontrol.ui.wombat
Interface IFocusable

All Superinterfaces:
EventListener, KeyListener
All Known Implementing Classes:
AbstractFocusComponent, AbstractScrolledComponent, Button, CheckBox, ComboBox, KeyPad, ListBox, Menu, MultiImageMenu, NumberChooser, RadioButton, RockerSwitch, Slider, TextInputField, TextViewer, ToggleSwitch, TypeWriter

public interface IFocusable
extends KeyListener

This interface must be implementes by all classes that should be able to gain the keyboard focus.

(C) DOMOLOGIC Home Automation GmbH 2005 - 2007

See Also:
jcontrol.ui.wombat.FocusFrame, AbstractFocusComponent

Field Summary
static int TRANSFER_FOCUS_BACKWARD
          Focus transfer direction backward.
static int TRANSFER_FOCUS_FORWARD
          Focus transfer direction forward.
 
Method Summary
 boolean requestFocus()
          Forces the component to get the keyboard focus.
 
Methods inherited from interface jcontrol.ui.wombat.event.KeyListener
onKeyEvent
 

Field Detail

TRANSFER_FOCUS_FORWARD

static final int TRANSFER_FOCUS_FORWARD
Focus transfer direction forward.

See Also:
Constant Field Values

TRANSFER_FOCUS_BACKWARD

static final int TRANSFER_FOCUS_BACKWARD
Focus transfer direction backward.

See Also:
Constant Field Values
Method Detail

requestFocus

boolean requestFocus()
Forces the component to get the keyboard focus.

Returns:
true if the component has got the keyboard focus.