Class FontStyleConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.gamepieceimage.FontStyleConfigurer

public class FontStyleConfigurer extends Configurer
  • Field Details

  • Constructor Details

    • FontStyleConfigurer

      public FontStyleConfigurer(String key, String name)
    • FontStyleConfigurer

      public FontStyleConfigurer(String key, String name, FontStyle fontStyle)
    • FontStyleConfigurer

      public FontStyleConfigurer(String key, String name, String styleName)
  • Method Details

    • getValueString

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

      public Font getValueFont()
    • getValueFontStyle

      public FontStyle getValueFontStyle()
    • 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
    • buildFonts

      protected void buildFonts()
    • updateValue

      protected void updateValue()
    • setValue

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

      public static FontStyle decode(String s)
    • encode

      public static String encode(FontStyle f)