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

Constructor Index

 o OptionWidget()
Constructor.

Method Index

 o focusInterest()
An optionWidget is interested in the focus, if it is not disabled and: it is alone or currently has the value.
 o gotoOption(OptionWidget)
Goto the specified OptionWidget in the same group.
 o handleEvent(Event)
Handle arrowkey events.
 o paintButton(Graphics)
Paint the option box and also the focus rectangle if there is no label.

Constructors

 o OptionWidget
  public OptionWidget()
Constructor.

Methods

 o 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
 o gotoOption
  public void gotoOption(OptionWidget option)
Goto the specified OptionWidget in the same group.
 o handleEvent
  public boolean handleEvent(Event evt)
Handle arrowkey events.
Overrides:
handleEvent in class ButtonWidget
 o 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