static AppearanceSettingscreate(boolean increaseContrast,
boolean reduceTransparency,
int tintedOption,
int accentColorIndex,
String highlightColorName,
Color customHighlightColor)
public static AppearanceSettingscreate(boolean increaseContrast,
boolean reduceTransparency,
int tintedOption,
int accentColorIndex,
String highlightColorName,
Color customHighlightColor)
Methods
Modifier and Type
Method and Description
equals
boolean equals(Object o)
public boolean equals(Object o)
getAccentColorIndex
int getAccentColorIndex()
Return an identification of the accent color.
public int getAccentColorIndex()
Return an identification of the accent color.
getAccentColorOptionName
String getAccentColorOptionName()
Return the standard name of the accent color.
public String getAccentColorOptionName()
Return the standard name of the accent color.
getCustomHighlightColor
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.
getHighlightColorName
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.
getTintedOption
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.
hashCode
int hashCode()
public int hashCode()
isIncreaseContrast
boolean isIncreaseContrast()
Return the value of the increaseContrast setting.
public boolean isIncreaseContrast()
Return the value of the increaseContrast setting.
isReduceTransparency
boolean isReduceTransparency()
Return the value of the reduceTransparency setting.
public boolean isReduceTransparency()
Return the value of the reduceTransparency setting.