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
  • Field Details

  • Constructor Details

  • Method Details

    • 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 String getMessage()
    • getDetails

      public String getDetails()
      Description copied from class: Command
      Detailed information for toString()
      Overrides:
      getDetails in class Command