Class XMLContext
java.lang.Object
javax.swing.text.StyleContext
org.apache.batik.util.gui.xmleditor.XMLContext
- All Implemented Interfaces:
Serializable, AbstractDocument.AttributeContext
A pool of styles and their associated resources
- Version:
- $Id$
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class StyleContext
StyleContext.NamedStyle, StyleContext.SmallAttributeSet -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Mapprotected Mapstatic final StringFields inherited from class StyleContext
DEFAULT_STYLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSyntaxFont(int ctx) getSyntaxFont(String name) getSyntaxForeground(int ctx) getSyntaxForeground(String name) getSyntaxName(int ctx) voidsetSyntaxFont(Map syntaxFontMap) voidsetSyntaxForeground(Map syntaxForegroundMap) Methods inherited from class StyleContext
addAttribute, addAttributes, addChangeListener, addStyle, createLargeAttributeSet, createSmallAttributeSet, getBackground, getChangeListeners, getCompressionThreshold, getDefaultStyleContext, getEmptySet, getFont, getFont, getFontMetrics, getForeground, getStaticAttribute, getStaticAttributeKey, getStyle, getStyleNames, readAttributes, readAttributeSet, reclaim, registerStaticAttributeKey, removeAttribute, removeAttributes, removeAttributes, removeChangeListener, removeStyle, toString, writeAttributes, writeAttributeSet
-
Field Details
-
XML_DECLARATION_STYLE
- See Also:
-
DOCTYPE_STYLE
- See Also:
-
COMMENT_STYLE
- See Also:
-
ELEMENT_STYLE
- See Also:
-
CHARACTER_DATA_STYLE
- See Also:
-
ATTRIBUTE_NAME_STYLE
- See Also:
-
ATTRIBUTE_VALUE_STYLE
- See Also:
-
CDATA_STYLE
- See Also:
-
syntaxForegroundMap
-
syntaxFontMap
-
-
Constructor Details
-
XMLContext
public XMLContext() -
XMLContext
-
-
Method Details
-
setSyntaxForeground
-
setSyntaxFont
-
getSyntaxForeground
-
getSyntaxForeground
-
getSyntaxFont
-
getSyntaxFont
-
getSyntaxName
-