Class AgentButton

Class AgentButton

AgentButton

class AgentButton
extends Button
A base class for buttons in the AgentLauncher.

Constructor Index

 o AgentButton(Applet, String)
constructor - save the Applet, and the label.

Method Index

 o action(Event, Object)
The method called when the button is clicked.

Constructors

 o AgentButton
  public AgentButton(Applet ap,
                     String label)
constructor - save the Applet, and the label.
Parameters:
ap - The applet.
label - The label that appears on the button.

Methods

 o action
  public boolean action(Event e,
                        Object o)
The method called when the button is clicked. Our subclasses override this to provide their own action processing.