Class MassKeyCommand.DeckPolicyConfig

java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.map.MassKeyCommand.DeckPolicyConfig
All Implemented Interfaces:
ConfigurerFactory, Auditable
Direct Known Subclasses:
DeckGlobalKeyCommand.DeckPolicyConfig2
Enclosing class:
MassKeyCommand

public static class MassKeyCommand.DeckPolicyConfig extends Configurer implements ConfigurerFactory, Auditable
  • Field Details

  • Constructor Details

    • DeckPolicyConfig

      public DeckPolicyConfig()
    • DeckPolicyConfig

      public DeckPolicyConfig(boolean showPrompt)
    • DeckPolicyConfig

      public DeckPolicyConfig(boolean showPrompt, GamePiece sourcePiece)
  • Method Details

    • 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
    • getValueString

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

      public String getSingleValue()
    • getIntValue

      @Deprecated public int getIntValue()
      Deprecated.
      Legacy version for binary compability. Will attempt to return something resembling the old integer value.
      Returns:
      Will attempt to return something resembling the old integer value.
    • setValue

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

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

      public Configurer getConfigurer(AutoConfigurable c, String key, String name)
      Specified by:
      getConfigurer in interface ConfigurerFactory
    • setContext

      public void setContext(AbstractBuildable context)
      Description copied from class: Configurer
      Set the Context for this Configurer to the first ancestor that is of type GameModule or Map NOTE: The ContextLevel may already have been preset by the ConfigureFactory when the Configurer was created. Don't let the AutoConfigurer over-write this
      Overrides:
      setContext in class Configurer
      Parameters:
      context - Owning Configurable