All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.ui.DoneButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Button
                   |
                   +----guinea.ui.DoneButton

public class DoneButton
extends Button
implements Serializable

Constructor Index

· DoneButton()
Construct a new done-button.
· DoneButton(String)
Construct a new done-button with given text.

Method Index

· addControlListener(ControlListener)
Adds the specified control listener to receive control events from this component.
· processActionEvent(ActionEvent)
Process action events of this button.
· processControlEvent(ControlEvent)
· removeControlListener(ControlListener)
Removes the specified listener so it no longer receives control motion events from this component.

Constructors

· DoneButton
 public DoneButton(String label)
Construct a new done-button with given text.

Parameters:
label - Text for button.
· DoneButton
 public DoneButton()
Construct a new done-button.

Methods

· processActionEvent
 protected void processActionEvent(ActionEvent e)
Process action events of this button. Used to fire a done-control event from this button.

Parameters:
e - An action event.
Overrides:
processActionEvent in class Button
· addControlListener
 public synchronized void addControlListener(ControlListener listener)
Adds the specified control listener to receive control events from this component.

Parameters:
listener - the control listener
· removeControlListener
 public synchronized void removeControlListener(ControlListener listener)
Removes the specified listener so it no longer receives control motion events from this component.

Parameters:
listener - the control listener
· processControlEvent
 protected void processControlEvent(ControlEvent evt)

All Packages  Class Hierarchy  This Package  Previous  Next  Index