Class GlobalCommandTargetConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.GlobalCommandTargetConfigurer

public class GlobalCommandTargetConfigurer extends Configurer
  • Constructor Details

    • GlobalCommandTargetConfigurer

      public GlobalCommandTargetConfigurer(String key, String name, GlobalCommandTarget target)
    • GlobalCommandTargetConfigurer

      public GlobalCommandTargetConfigurer(String key, String name)
    • GlobalCommandTargetConfigurer

      public GlobalCommandTargetConfigurer(GlobalCommandTarget target)
  • Method Details

    • getTarget

      public GlobalCommandTarget getTarget()
    • getValueString

      public String getValueString()
      Specified by:
      getValueString in class Configurer
      Returns:
      a String representation of the Object value
    • setValue

      public void setValue(String s)
      Description copied from class: Configurer
      Set the Object value from a String
      Specified by:
      setValue in class Configurer
    • setValue

      public void setValue(Object o)
      Description copied from class: Configurer
      Set the Object value
      Overrides:
      setValue in class Configurer
    • setFrozen

      public void setFrozen(boolean val)
      Freeze the Configurer from issuing PropertyChange Events. Ensure the subsidiary Configurers are quiet also.
      Overrides:
      setFrozen in class Configurer
      Parameters:
      val - true to freeze
    • getControls

      public Component getControls()
      Description copied from class: Configurer
      GUI interface for setting the option in an editing window
      Specified by:
      getControls in class Configurer
    • repack

      public void repack()
      Description copied from class: Configurer
      Repack the current configurer
      Overrides:
      repack in class Configurer