Enum Class TypeColor

java.lang.Object
java.lang.Enum<TypeColor>
org.praxislive.ide.core.ui.api.TypeColor
All Implemented Interfaces:
Serializable, Comparable<TypeColor>, Constable

public enum TypeColor extends Enum<TypeColor>
Standard colours that can be assigned to various entities to differentiate them by type (eg. port type or component type).
  • Enum Constant Details

  • Method Details

    • values

      public static TypeColor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TypeColor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • shade

      public Color shade()
      The standard colour to use for graphical elements.
      Returns:
      standard colour
    • selection

      public Color selection()
      The selection colour variant to use for graphical elements.
      Returns:
      selection colour
    • text

      public Color text()
      The colour variant to use for text against the standard background colour.
      Returns:
      text colour