Class marimba.gui.OptionWidget
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.OptionWidget
java.lang.Object
|
+----marimba.gui.Widget
|
+----marimba.gui.ButtonWidget
|
+----marimba.gui.CheckBoxWidget
|
+----marimba.gui.OptionWidget
- public class OptionWidget
- extends CheckBoxWidget
An option widget. It represents a single choice within
a limited set of mutually exclusive choices: only one
option in a group of option Widgets can be set.
- Version:
- 1.18, 10/24/96
- Author:
- Klaas Waslander
-
OptionWidget()
- Constructor.
-
focusInterest()
- An optionWidget is interested in the focus, if it is not disabled
and: it is alone or currently has the value.
-
gotoOption(OptionWidget)
- Goto the specified OptionWidget in the same group.
-
handleEvent(Event)
- Handle arrowkey events.
-
paintButton(Graphics)
- Paint the option box and also the focus rectangle if there is no label.
OptionWidget
public OptionWidget()
- Constructor.
paintButton
public void paintButton(Graphics g)
- Paint the option box and also the focus rectangle if there is no label.
- Overrides:
- paintButton in class CheckBoxWidget
gotoOption
public void gotoOption(OptionWidget option)
- Goto the specified OptionWidget in the same group.
handleEvent
public boolean handleEvent(Event evt)
- Handle arrowkey events.
- Overrides:
- handleEvent in class ButtonWidget
focusInterest
public boolean focusInterest()
- An optionWidget is interested in the focus, if it is not disabled
and: it is alone or currently has the value.
- Overrides:
- focusInterest in class ButtonWidget
All Packages Class Hierarchy This Package Previous Next Index