public class DefaultLanguageColorsPage extends java.lang.Object implements RainbowColorSettingsPage, DisplayPrioritySortable
EP_NAME| Constructor and Description |
|---|
DefaultLanguageColorsPage() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,TextAttributesKey> |
getAdditionalHighlightingTagToDescriptorMap()
Returns the mapping from special tag names surrounding the regions to be highlighted
in the preview text (see
ColorSettingsPage.getDemoText()) to text attribute keys used to
highlight the regions. |
java.util.Map<java.lang.String,TextAttributesKey> |
getAdditionalInlineElementToDescriptorMap() |
AttributesDescriptor [] |
getAttributeDescriptors()
Returns the list of descriptors specifying the
TextAttributesKey instances
for which colors are specified in the page. |
ColorDescriptor [] |
getColorDescriptors()
Returns the list of descriptors specifying the
ColorKey
instances for which colors are specified in the page. |
java.lang.String |
getDemoText()
Returns the text shown in the preview pane.
|
java.lang.String |
getDisplayName()
Returns the title of the page, shown as text in the dialog tab.
|
SyntaxHighlighter |
getHighlighter()
Returns the syntax highlighter which is used to highlight the text shown in the preview
pane of the page.
|
javax.swing.Icon |
getIcon()
Returns the icon for the page, shown in the dialog tab.
|
Language |
getLanguage() |
DisplayPriority |
getPriority() |
boolean |
isRainbowType(TextAttributesKey type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalHighlightingTagToColorKeyMappublic javax.swing.Icon getIcon()
ColorSettingsPagegetIcon in interface ColorSettingsPagepublic SyntaxHighlighter getHighlighter()
ColorSettingsPagegetHighlighter in interface ColorSettingsPagepublic java.lang.String getDemoText()
ColorSettingsPage<class>MyClass</class>.
The mapping between the names of the tags and the text attribute keys used for highlighting
is defined by the ColorSettingsPage.getAdditionalHighlightingTagToDescriptorMap() method.getDemoText in interface ColorSettingsPagepublic java.util.Map<java.lang.String,TextAttributesKey> getAdditionalHighlightingTagToDescriptorMap()
ColorSettingsPageColorSettingsPage.getDemoText()) to text attribute keys used to
highlight the regions.getAdditionalHighlightingTagToDescriptorMap in interface ColorSettingsPagepublic java.util.Map<java.lang.String,TextAttributesKey> getAdditionalInlineElementToDescriptorMap()
getAdditionalInlineElementToDescriptorMap in interface ColorSettingsPagepublic AttributesDescriptor [] getAttributeDescriptors()
ColorAndFontDescriptorsProviderTextAttributesKey instances
for which colors are specified in the page. For such attribute keys, the user can choose
all highlighting attributes (font type, background color, foreground color, error stripe color and
effects).getAttributeDescriptors in interface ColorAndFontDescriptorsProviderpublic ColorDescriptor [] getColorDescriptors()
ColorAndFontDescriptorsProviderColorKey
instances for which colors are specified in the page. For such color keys, the user can
choose only the background or foreground color.getColorDescriptors in interface ColorAndFontDescriptorsProviderpublic java.lang.String getDisplayName()
ColorAndFontDescriptorsProvidergetDisplayName in interface ColorAndFontDescriptorsProviderpublic DisplayPriority getPriority()
getPriority in interface DisplayPrioritySortablepublic boolean isRainbowType(TextAttributesKey type)
isRainbowType in interface RainbowColorSettingsPagepublic Language getLanguage()
getLanguage in interface RainbowColorSettingsPage