Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VAppearances – Release 5
Class org.violetlib.vappearances.AppearanceSettings
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.vappearances

Class AppearanceSettings

  • Object
    • AppearanceSettings
  • public final class AppearanceSettings extends Object
    An immutable collection of system settings whose values can impact the system color values for a given appearance.
    • Fields 
      Modifier and Type Field and Description
      Ordinary member indicator BLUE Reveal DetailHide Detail
      static int BLUE
       
      public static final int BLUE
      Ordinary member indicator GRAPHITE Reveal DetailHide Detail
      static int GRAPHITE
       
      public static final int GRAPHITE
      Ordinary member indicator GREEN Reveal DetailHide Detail
      static int GREEN
       
      public static final int GREEN
      Ordinary member indicator MULTICOLOR Reveal DetailHide Detail
      static int MULTICOLOR
      Integer values for Accent Color and standard Highlight Colors
      public static final int MULTICOLOR
      Integer values for Accent Color and standard Highlight Colors
      See Also:
      Constant Field Values
      Ordinary member indicator ORANGE Reveal DetailHide Detail
      static int ORANGE
       
      public static final int ORANGE
      Ordinary member indicator PINK Reveal DetailHide Detail
      static int PINK
       
      public static final int PINK
      Ordinary member indicator PURPLE Reveal DetailHide Detail
      static int PURPLE
       
      public static final int PURPLE
      Ordinary member indicator RED Reveal DetailHide Detail
      static int RED
       
      public static final int RED
      Ordinary member indicator YELLOW Reveal DetailHide Detail
      static int YELLOW
       
      public static final int YELLOW
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator create Reveal DetailHide Detail
      static AppearanceSettings create(boolean increaseContrast, boolean reduceTransparency, int tintedOption, int accentColorIndex, String highlightColorName, Color customHighlightColor)
       
      public static AppearanceSettings create(boolean increaseContrast, boolean reduceTransparency, int tintedOption, int accentColorIndex, String highlightColorName, Color customHighlightColor)
    • Methods 
      Modifier and Type Method and Description
      Overridden member indicator equals Reveal DetailHide Detail
      boolean equals(Object o)
       
      public boolean equals(Object o)
      Ordinary member indicator getAccentColorIndex Reveal DetailHide Detail
      int getAccentColorIndex()
      Return an identification of the accent color.
      public int getAccentColorIndex()
      Return an identification of the accent color.
      Ordinary member indicator getAccentColorOptionName Reveal DetailHide Detail
      String getAccentColorOptionName()
      Return the standard name of the accent color.
      public String getAccentColorOptionName()
      Return the standard name of the accent color.
      Ordinary member indicator getCustomHighlightColor Reveal DetailHide Detail
      Color getCustomHighlightColor()
      Return the highlight color, if the highlight color is a custom color or set to match the accent color.
      public Color getCustomHighlightColor()
      Return the highlight color, if the highlight color is a custom color or set to match the accent color. Otherwise, return null.
      Ordinary member indicator getHighlightColorName Reveal DetailHide Detail
      String getHighlightColorName()
      Return the name of the highlight color, if standard, or null if the highlight color is a custom color or set to match the accent color.
      public String getHighlightColorName()
      Return the name of the highlight color, if standard, or null if the highlight color is a custom color or set to match the accent color.
      Ordinary member indicator getTintedOption Reveal DetailHide Detail
      int getTintedOption()
      Return the tinted option value.
      public int getTintedOption()
      Return the tinted option value. This setting was introduced in macOS 26. Expected values are 0 or 1.
      Overridden member indicator hashCode Reveal DetailHide Detail
      int hashCode()
       
      public int hashCode()
      Ordinary member indicator isIncreaseContrast Reveal DetailHide Detail
      boolean isIncreaseContrast()
      Return the value of the increaseContrast setting.
      public boolean isIncreaseContrast()
      Return the value of the increaseContrast setting.
      Ordinary member indicator isReduceTransparency Reveal DetailHide Detail
      boolean isReduceTransparency()
      Return the value of the reduceTransparency setting.
      public boolean isReduceTransparency()
      Return the value of the reduceTransparency setting.
      Overridden member indicator toString Reveal DetailHide Detail
      String toString()
       
      public String toString()
      • Methods inherited from class Object

        getClass, notify, notifyAll, wait, wait, wait