Package org.polyfrost.polyui.color
Class Colors.Palette
-
- All Implemented Interfaces:
public class Colors.PaletteA color palette represents a set of four colors in PolyUI representing the four key states that a component can have. They are used widely by Properties for states of components.
-
-
Constructor Summary
Constructors Constructor Description Colors.Palette(Color normal, Color hovered, Color pressed, Color disabled)
-
Method Summary
Modifier and Type Method Description ColorgetNormal()ColorgetHovered()ColorgetPressed()ColorgetDisabled()-
-
Method Detail
-
getHovered
Color getHovered()
-
getPressed
Color getPressed()
-
getDisabled
Color getDisabled()
-
-
-
-