public static class HistoryBrowser.CommandNamesInfo extends Object
Constructor and Description |
---|
CommandNamesInfo(String commandName,
String lastUndoableCommandName,
String lastRedoableCommandName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name.
|
String |
getLastRedoableCommandName()
Gets the name of the last undoable command.
|
String |
getLastUndoableCommandName()
Gets the name of the last redoable command.
|
public CommandNamesInfo(String commandName, String lastUndoableCommandName, String lastRedoableCommandName)
commandName
- The current command name being executed/undone/redonelastUndoableCommandName
- The last undoable command namelastRedoableCommandName
- The last redoable command namepublic String getLastRedoableCommandName()
public String getLastUndoableCommandName()
public String getCommandName()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.