|
org.netbeans.modules.editor.settings/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.editor.settings.FontColorSettings
public abstract class FontColorSettings
The map of coloring names and their parameters.
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
StyleConstants
and
EditorStyleConstants
classes.
Supported keys for FontColorSettings are:
EditorStyleConstants
Instances of this class should be retrieved from MimeLookup
.
This class must NOT be extended by any API clients.
Field Summary | |
---|---|
static String |
PROP_FONT_COLORS
Deprecated. This should have never been made public. Nobody can listen on this property. |
Constructor Summary | |
---|---|
FontColorSettings()
Construction prohibited for API clients. |
Method Summary | |
---|---|
abstract AttributeSet |
getFontColors(String settingName)
Gets the font and colors. |
abstract AttributeSet |
getTokenFontColors(String tokenName)
Gets the token font and colors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_FONT_COLORS
Constructor Detail |
---|
public FontColorSettings()
Method Detail |
---|
public abstract AttributeSet getFontColors(String settingName)
settingName
- font and colors setting name
public abstract AttributeSet getTokenFontColors(String tokenName)
tokenName
- token name
|
org.netbeans.modules.editor.settings/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |