Class StyleFactory

java.lang.Object
games.stendhal.client.gui.styled.styles.StyleFactory

public class StyleFactory extends Object
Factory for creating Styles.
  • Constructor Details

    • StyleFactory

      public StyleFactory()
  • Method Details

    • createStyle

      public static Style createStyle(String styleId)
      Create the appropriate style for a style identifier.
      Parameters:
      styleId - style name
      Returns:
      pixmap style matching the name
    • getAvailableStyles

      public static Collection<String> getAvailableStyles()
      Get names of all available styles.
      Returns:
      style names