VASSAL.build.module
Class EventLog.StoreEvents

java.lang.Object
  |
  +--VASSAL.command.Command
        |
        +--VASSAL.build.module.EventLog.StoreEvents
Enclosing class:
EventLog

public static class EventLog.StoreEvents
extends Command


Constructor Summary
EventLog.StoreEvents(EventLog log, java.lang.String events)
           
 
Method Summary
 void executeCommand()
          Perform the action which this Command represents
 java.lang.String getEvents()
           
 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

EventLog.StoreEvents

public EventLog.StoreEvents(EventLog log,
                            java.lang.String events)
Method Detail

getEvents

public java.lang.String getEvents()

executeCommand

public void executeCommand()
Description copied from class: Command
Perform the action which this Command represents
Overrides:
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
Overrides:
myUndoCommand in class Command