public abstract class FontColorSettings extends Object
The term coloring refers to a set attributes that can be used for rendering text in an editor window. These attributes may be but are not limited to a font, foreground and background color, etc.
The coloring names are defined by modules. Each coloring is represented by
AttributeSet, which contains keys and values for all the attributes
that should be used for rendering text that was colorified by the coloring.
The keys that can be used to obtain particular attributes are defined in the
Supported keys for FontColorSettings are:
Instances of this class should be retrieved from
This class must NOT be extended by any API clients.
|Modifier and Type||Field and Description|
This should have never been made public. Nobody can listen on this property.
|Constructor and Description|
Construction prohibited for API clients.
|Modifier and Type||Method and Description|
Gets the font and colors.
Gets the token font and colors.
public static final String PROP_FONT_COLORS
public abstract AttributeSet getFontColors(String settingName)
settingName- font and colors setting name
public abstract AttributeSet getTokenFontColors(String tokenName)
tokenName- token name
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.