Package VASSAL.build.module
Class Chatter.DisplayText
java.lang.Object
VASSAL.command.Command
VASSAL.build.module.Chatter.DisplayText
- Enclosing class:
- Chatter
public static class Chatter.DisplayText extends Command
This is a
Command object that, when executed, displays
a text message in the Chatter's text area-
Constructor Summary
Constructors Constructor Description DisplayText(Chatter c, String s) -
Method Summary
Modifier and Type Method Description voidexecuteCommand()Perform the action which this Command representsStringgetDetails()Detailed information for toString()StringgetMessage()CommandmyUndoCommand()If the action can be undone, return a Command that performs the inverse action.Methods inherited from class VASSAL.command.Command
append, execute, getSubCommands, getUndoCommand, hasNullSubcommands, isAtomic, isLoggable, isNull, stripSubCommands, toString
-
Constructor Details
-
DisplayText
-
-
Method Details
-
executeCommand
public void executeCommand()Description copied from class:CommandPerform the action which this Command represents- Specified by:
executeCommandin classCommand
-
myUndoCommand
Description copied from class:CommandIf the action can be undone, return a Command that performs the inverse action. The Command returned should only undoCommand.executeCommand(), not the actions of subcommands- Specified by:
myUndoCommandin classCommand
-
getMessage
-
getDetails
Description copied from class:CommandDetailed information for toString()- Overrides:
getDetailsin classCommand
-