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