Module tvbrowser
Package util.settings

Class ColorProperty


  • public final class ColorProperty
    extends Property
    This Property stores a Color
    • Constructor Detail

      • ColorProperty

        public ColorProperty​(PropertyManager manager,
                             java.lang.String key,
                             java.awt.Color defaultvalue)
        Creates the Color
        Parameters:
        manager - the Manager for this Property
        key - the Key
        defaultvalue - the Default Color
    • Method Detail

      • getDefaultColor

        public java.awt.Color getDefaultColor()
        Returns the standard color in this Property
        Returns:
        Color
      • getColor

        public java.awt.Color getColor()
        Returns the Color in this Property
        Returns:
        Color
      • setColor

        public void setColor​(java.awt.Color color)
        Sets the Color in this Property
        Parameters:
        color - Color