Class ButtonBar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----ButtonBar
- class ButtonBar
- extends Panel
This class produces a set of buttons used to select color spaces.
-
parent
-
-
ButtonBar(Game)
- Constructs the button bar.
-
action(Event, Object)
- Overrides the default action() method to process button events.
-
insets()
- Overrides the default insets() method.
-
minimumSize()
- Overrides the default minimumSize() method.
-
preferredSize()
- Overrides the default preferredSize() method.
parent
Game parent
ButtonBar
public ButtonBar(Game parent)
- Constructs the button bar.
- Parameters:
- parent - reference to the parent applet.
action
public boolean action(Event ev,
Object arg)
- Overrides the default action() method to process button events.
- Overrides:
- action in class Component
minimumSize
public Dimension minimumSize()
- Overrides the default minimumSize() method.
- Returns:
- new Dimension
- Overrides:
- minimumSize in class Container
preferredSize
public Dimension preferredSize()
- Overrides the default preferredSize() method.
- Returns:
- new Dimension
- Overrides:
- preferredSize in class Container
insets
public Insets insets()
- Overrides the default insets() method.
- Returns:
- new Insets
- Overrides:
- insets in class Container