public class PrintCommand extends java.lang.Object implements GUICommand
GUICommand
which does nothing.Constructor and Description |
---|
PrintCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Returns whether this command may be executed.
|
void |
execute()
Executes the command.
|
public boolean canExecute()
GUICommand
canExecute
in interface GUICommand
public void execute()
GUICommand
GUICommand.canExecute()
returns false
.execute
in interface GUICommand