Enum Appearance

    • Enum Constant Detail

      • MOTUS

        public static final Appearance MOTUS
        MOTUS mimic. Grid not visible.
      • FOSIM

        public static final Appearance FOSIM
        Green.
      • BRIGHT

        public static final Appearance BRIGHT
        Bright.
      • LEGACY

        public static final Appearance LEGACY
        Legacy, as the initial OTS had.
      • GREEN

        public static final Appearance GREEN
        Green.
    • Method Detail

      • values

        public static Appearance[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Appearance c : Appearance.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Appearance valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public final String getName()
        Returns the name.
        Returns:
        String; name
      • getBackground

        public final Color getBackground()
        Returns the background color.
        Returns:
        Color; color
      • getForeground

        public final Color getForeground()
        Returns the foreground color.
        Returns:
        Color; color
      • getBackdrop

        public final Color getBackdrop()
        Returns the backdrop color.
        Returns:
        Color; color
      • getFont

        public final String getFont()
        Returns the font name.
        Returns:
        String; font name