Class StyleFactory
java.lang.Object
games.stendhal.client.gui.styled.styles.StyleFactory
Factory for creating Styles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Style
createStyle(String styleId)
Create the appropriate style for a style identifier.static Collection<String>
Get names of all available styles.
-
Constructor Details
-
StyleFactory
public StyleFactory()
-
-
Method Details
-
createStyle
Create the appropriate style for a style identifier.- Parameters:
styleId
- style name- Returns:
- pixmap style matching the name
-
getAvailableStyles
Get names of all available styles.- Returns:
- style names
-