All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.ChangeViewCommand
java.lang.Object
|
+----javaParse.Command
|
+----javaParse.ChangeViewCommand
- public class ChangeViewCommand
- extends Command
- implements ItemListener
class associated with changing the view on a string
tester window
-
ChangeViewCommand(StringTesterWindow, String)
-
-
execute(AWTEvent)
- will call the window's changeView function only if mode selected
is different from what is already shown
-
itemStateChanged(ItemEvent)
-
ChangeViewCommand
public ChangeViewCommand(StringTesterWindow stw,
String initMode)
- Parameters:
- initMode - the initial mode that will be shown in the string
tester window
itemStateChanged
public void itemStateChanged(ItemEvent e)
execute
public void execute(AWTEvent e)
- will call the window's changeView function only if mode selected
is different from what is already shown
- Overrides:
- execute in class Command
All Packages Class Hierarchy This Package Previous Next Index