Class AgentButton
Class AgentButton
AgentButton
- class AgentButton
- extends Button
A base class for buttons in the AgentLauncher.
-
AgentButton(Applet, String)
- constructor - save the Applet, and the label.
-
action(Event, Object)
- The method called when the button is clicked.
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.
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.