public class NewLineCommand extends AbstractUndoableCommand
| Constructor and Description |
|---|
NewLineCommand(ConsoleEditor editor) |
NewLineCommand(ConsoleEditor editor,
Position position) |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute()
Executes the
Command. |
void |
undo()
Undo the
Command. |
execute, getAfterColumn, getAfterLine, getBeforeColumn, getBeforeLine, getEditor, redo, setAfterColumn, setAfterLine, setBeforeColumn, setBeforeLinepublic NewLineCommand(ConsoleEditor editor)
public NewLineCommand(ConsoleEditor editor, Position position)
public void doExecute()
UndoableCommandCommand.public void undo()
UndoableCommandCommand.Copyright © 2013. All Rights Reserved.