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 void
executeCommand()
Perform the action which this Command representsString
getDetails()
Detailed information for toString()String
getMessage()
Command
myUndoCommand()
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:Command
Perform the action which this Command represents- Specified by:
executeCommand
in classCommand
-
myUndoCommand
Description copied from class:Command
If 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:
myUndoCommand
in classCommand
-
getMessage
-
getDetails
Description copied from class:Command
Detailed information for toString()- Overrides:
getDetails
in classCommand
-