nl.cwi.sen1.gui.plugin.editor
Class StyleRegistrar
java.lang.Object
nl.cwi.sen1.gui.plugin.editor.StyleRegistrar
public class StyleRegistrar
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOCUS_STYLE_NAME
private static final java.lang.String FOCUS_STYLE_NAME
- See Also:
- Constant Field Values
SELECTION_STYLE_NAME
private static final java.lang.String SELECTION_STYLE_NAME
- See Also:
- Constant Field Values
StyleRegistrar
public StyleRegistrar()
registerTextCategories
public static void registerTextCategories(EditorPane editor,
nl.cwi.sen1.configapi.types.PropertyList categories)
registerTextCategory
private static void registerTextCategory(EditorPane editor,
nl.cwi.sen1.configapi.types.property.TextCategory category)
registerAttributes
private static javax.swing.text.Style registerAttributes(EditorPane editor,
java.lang.String name,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs)
setStyleAttributes
private static void setStyleAttributes(EditorPane editor,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs,
javax.swing.text.Style style)
convertColor
private static java.awt.Color convertColor(nl.cwi.sen1.configapi.types.Color color)