Package games.stendhal.client.gui.styled
Interface Style
public interface Style
Style information.
-
Method Summary
Modifier and TypeMethodDescriptionGet the background texture.Get component border.Get component border for lowered borders.getFont()
Get the normal font.Get the foreground color appropriate for the background texture.Get a light color used for highlighting.Get a color that roughly represents the background.Get a dark color used for darkening.
-
Method Details
-
getBackground
Sprite getBackground()Get the background texture.- Returns:
- A texture sprite.
-
getBorder
Border getBorder()Get component border.- Returns:
- A border, or
null
to use default.
-
getBorderDown
Border getBorderDown()Get component border for lowered borders.- Returns:
- border, or
null
if none defined.
-
getFont
Font getFont()Get the normal font.- Returns:
- A font.
-
getForeground
Color getForeground()Get the foreground color appropriate for the background texture.- Returns:
- A color.
-
getHighLightColor
Color getHighLightColor()Get a light color used for highlighting.- Returns:
- A color.
-
getShadowColor
Color getShadowColor()Get a dark color used for darkening.- Returns:
- A color.
-
getPlainColor
Color getPlainColor()Get a color that roughly represents the background.- Returns:
- plain color
-