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
Chatter.DisplayText(Chatter c, java.lang.String s)
           
 
Method Summary
 void executeCommand()
          Perform the action which this Command represents
 java.lang.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, isLoggable, isNull, stripSubCommands, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Chatter.DisplayText

public Chatter.DisplayText(Chatter c,
                           java.lang.String s)
Method Detail

executeCommand

public void executeCommand()
Description copied from class: Command
Perform the action which this Command represents

Specified by:
executeCommand in class Command

myUndoCommand

public Command 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 undo Command.executeCommand(), not the actions of subcommands

Specified by:
myUndoCommand in class Command

getMessage

public java.lang.String getMessage()