| Modifier and Type | Field and Description |
|---|---|
| protected Vector | edits
The collection of |
| pack-priv boolean | inProgress
True if this edit has never received |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the edit isinProgress;
otherwise returns falsethe edit to be added anEdit)Overrides javax. Implements javax. If this edit is |
| public boolean | canRedo()
Overrides javax. Implements javax. Returns false if |
| public boolean | canUndo()
Overrides javax. Implements javax. Returns false if |
| public void | die()
Overrides javax. Implements javax. Sends |
| public void | |
| public String | getPresentationName()
Overrides javax. Implements javax. Returns |
| public String | getRedoPresentationName()
Overrides javax. Implements javax. Returns |
| public String | getUndoPresentationName()
Overrides javax. Implements javax. Returns |
| public boolean | Returns: whether this edit is in progressReturns true if this edit is in progress--that is, it has not received end. |
| public boolean | isSignificant()
Overrides javax. Implements javax. Returns true if any of the |
| protected UndoableEdit | Returns: the lastUndoableEdit in edits,
or null if edits is empty.Returns the last |
| public void | redo()
Overrides javax. Implements javax. Sends |
| public String | Returns: a String representation of this objectOverrides javax. Returns a string that displays and identifies this object's properties. |
| public void | undo()
Overrides javax. Implements javax. Sends |
| edits | back to summary |
|---|---|
| protected Vector<UndoableEdit> edits The collection of | |
| inProgress | back to summary |
|---|---|
| pack-priv boolean inProgress True if this edit has never received | |
| CompoundEdit | back to summary |
|---|---|
| public CompoundEdit() Constructs a | |
| addEdit | back to summary |
|---|---|
| public boolean addEdit(UndoableEdit anEdit) Overrides javax. Implements javax. If this edit is The last edit added to this
| |
| canRedo | back to summary |
|---|---|
| public boolean canRedo() Overrides javax. Implements javax. Returns false if
| |
| canUndo | back to summary |
|---|---|
| public boolean canUndo() Overrides javax. Implements javax. Returns false if
| |
| die | back to summary |
|---|---|
| public void die() Overrides javax. Implements javax. Sends | |
| end | back to summary |
|---|---|
| public void end() Sets | |
| getPresentationName | back to summary |
|---|---|
| public String getPresentationName() Overrides javax. Implements javax. Returns | |
| getRedoPresentationName | back to summary |
|---|---|
| public String getRedoPresentationName() Overrides javax. Implements javax. Returns | |
| getUndoPresentationName | back to summary |
|---|---|
| public String getUndoPresentationName() Overrides javax. Implements javax. Returns | |
| isInProgress | back to summary |
|---|---|
| public boolean isInProgress() Returns true if this edit is in progress--that is, it has not received end. This generally means that edits are still being added to it.
| |
| isSignificant | back to summary |
|---|---|
| public boolean isSignificant() Overrides javax. Implements javax. Returns true if any of the | |
| lastEdit | back to summary |
|---|---|
| protected UndoableEdit lastEdit() Returns the last
| |
| redo | back to summary |
|---|---|
| public void redo() throws CannotRedoException Overrides javax. Implements javax. Sends
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides javax. Returns a string that displays and identifies this object's properties.
| |
| undo | back to summary |
|---|---|
| public void undo() throws CannotUndoException Overrides javax. Implements javax. Sends
| |