Class Zoomer.LevelConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.map.Zoomer.LevelConfigurer
Enclosing class:
Zoomer

protected static class Zoomer.LevelConfigurer extends Configurer
Since:
3.1.0
Author:
Joel Uckelman
  • Constructor Details

  • Method Details

    • parseLevel

      protected double parseLevel(String text)
      Parse a String to a double. Accepts fractions as "n/d".
    • addLevel

      protected void addLevel()
      Add a level to the level list. This method expects that the input has already been validated.
    • updateButtons

      protected void updateButtons()
      Ensures that the buttons are properly en- or disabled.
    • 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
    • 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
    • getValueString

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