org.adougou.cline
Class WindowCommand
java.lang.Object
|
+--org.adougou.cline.BaseCommand
|
+--org.adougou.cline.WindowCommand
- All Implemented Interfaces:
- Command
- public abstract class WindowCommand
- extends BaseCommand
This class is not currently used, but I have included it to remind me
of the idea and maybe one day I will finish implementing it. The basic
idea is to have a command that enables the user to access AWT-based
frames that were launched from the program. For example, the program
might maintain a org.adougou.symblnet.AWTListSymblDecoder to display symbl
associations. The window command would provide a means for the user to
control this window (hide, change the size, move to a different window...).
The CommandRegister would be extended to maintain a table of windows.
|
Constructor Summary |
protected |
WindowCommand(java.lang.String name,
int numArgs,
java.lang.String help,
java.awt.Window window)
|
|
Method Summary |
void |
execute(java.util.Iterator iter)
This method is called internally whenever a command is executed to
check the arguments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowCommand
protected WindowCommand(java.lang.String name,
int numArgs,
java.lang.String help,
java.awt.Window window)
execute
public void execute(java.util.Iterator iter)
- Description copied from class:
BaseCommand
- This method is called internally whenever a command is executed to
check the arguments. After checking arguments, it will call the
execute(String[]) method for the specific command.
- Overrides:
execute in class BaseCommand