org.apache.batik.apps.svgbrowser

Class HistoryBrowser.CommandNamesInfo

public static class HistoryBrowser.CommandNamesInfo extends Object

Contains the info on the command name being executed, undone or redone and last undoable and redoable command names.
Constructor Summary
CommandNamesInfo(String commandName, String lastUndoableCommandName, String lastRedoableCommandName)
Constructor.
Method Summary
StringgetCommandName()
Gets the command name.
StringgetLastRedoableCommandName()
Gets the name of the last undoable command.
StringgetLastUndoableCommandName()
Gets the name of the last redoable command.

Constructor Detail

CommandNamesInfo

public CommandNamesInfo(String commandName, String lastUndoableCommandName, String lastRedoableCommandName)
Constructor.

Parameters: commandName The current command name being executed/undone/redone lastUndoableCommandName The last undoable command name lastRedoableCommandName The last redoable command name

Method Detail

getCommandName

public String getCommandName()
Gets the command name.

Returns: the command name

getLastRedoableCommandName

public String getLastRedoableCommandName()
Gets the name of the last undoable command.

Returns: the lastUndoableCommandName

getLastUndoableCommandName

public String getLastUndoableCommandName()
Gets the name of the last redoable command.

Returns: the lastRedoableCommandName

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.