All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaParse.ClearCommand

java.lang.Object
   |
   +----javaParse.Command
           |
           +----javaParse.ClearCommand

public class ClearCommand
extends Command
implements ActionListener
Class associated with clicking 'clear' on any of the WindowItems.


Constructor Index

 o ClearCommand(WindowItem)

Method Index

 o actionPerformed(ActionEvent)
 o execute(AWTEvent)
will call the window's clear function

Constructors

 o ClearCommand
 public ClearCommand(WindowItem w)
Parameters:
w - the WindowItem to be cleared

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o execute
 public void execute(AWTEvent evt)
will call the window's clear function

Overrides:
execute in class Command

All Packages  Class Hierarchy  This Package  Previous  Next  Index