Class Properties

  • All Implemented Interfaces:
    kotlin.Cloneable

    
    public abstract class Properties
     implements Cloneable
                        

    Properties are PolyUI's take on styling through tokens, or shared states. They are used as default values for components, if component-specific values are not set. Every component will have an accompanying property.

    They contain many values that style a component, such as palette, size, and even eventHandlers.

    They are used to eliminate repeated code on components, and to make styling easier.