Class LOS_Thread.LOSCommand

java.lang.Object
VASSAL.command.Command
VASSAL.build.module.map.LOS_Thread.LOSCommand
Enclosing class:
LOS_Thread

public static class LOS_Thread.LOSCommand extends Command
  • Field Details Link icon

    • target Link icon

      protected LOS_Thread target
    • oldState Link icon

      protected String oldState
    • newAnchor Link icon

      protected Point newAnchor
    • oldAnchor Link icon

      protected Point oldAnchor
    • newArrow Link icon

      protected Point newArrow
    • oldArrow Link icon

      protected Point oldArrow
    • newPersisting Link icon

      protected boolean newPersisting
    • oldPersisting Link icon

      protected boolean oldPersisting
    • newMirroring Link icon

      protected boolean newMirroring
    • oldMirroring Link icon

      protected boolean oldMirroring
    • reset Link icon

      protected boolean reset
  • Constructor Details Link icon

    • LOSCommand Link icon

      public LOSCommand(LOS_Thread oTarget, Point anchor, Point arrow, boolean persisting, boolean mirroring)
    • LOSCommand Link icon

      public LOSCommand(LOS_Thread oTarget)
      Constructor for a Reset command to reset the thread to inactive
      Parameters:
      oTarget - target Thread
  • Method Details Link icon

    • executeCommand Link icon

      protected void executeCommand()
      Description copied from class: Command
      Perform the action which this Command represents
      Specified by:
      executeCommand in class Command
    • myUndoCommand Link icon

      protected 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