Class FontStyleConfigurer

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

public class FontStyleConfigurer extends Configurer
  • Field Details Link icon

  • Constructor Details Link icon

    • FontStyleConfigurer Link icon

      public FontStyleConfigurer(String key, String name)
    • FontStyleConfigurer Link icon

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

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

    • getValueString Link icon

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

      public Font getValueFont()
    • getValueFontStyle Link icon

      public FontStyle getValueFontStyle()
    • getControls Link icon

      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 Link icon

      protected void buildFonts()
    • updateValue Link icon

      protected void updateValue()
    • setValue Link icon

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

      public static FontStyle decode(String s)
    • encode Link icon

      public static String encode(FontStyle f)