JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
myhw3.command
Interface Command
All Known Implementing Classes:
CmdAdd
,
CmdClear
,
CmdIn
,
CmdOut
public interface
Command
An UndoableCommand may be run at most once.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
void
redo
()
Redo the command.
boolean
run
()
Do the command.
void
undo
()
Undo the command.
Method Detail
run
boolean
run
()
Do the command.
Returns:
true if command succeeds, false otherwise
undo
void
undo
()
Undo the command.
redo
void
redo
()
Redo the command.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method