|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.cwi.sen1.gui.plugin.editor.StyleRegistrar
public class StyleRegistrar
| Field Summary | |
|---|---|
private static java.lang.String |
FOCUS_STYLE_NAME
|
private static java.lang.String |
SELECTION_STYLE_NAME
|
| Constructor Summary | |
|---|---|
StyleRegistrar()
|
|
| Method Summary | |
|---|---|
private static java.awt.Color |
convertColor(nl.cwi.sen1.configapi.types.Color color)
|
private static javax.swing.text.Style |
registerAttributes(EditorPane editor,
java.lang.String name,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs)
|
static void |
registerTextCategories(EditorPane editor,
nl.cwi.sen1.configapi.types.PropertyList categories)
|
private static void |
registerTextCategory(EditorPane editor,
nl.cwi.sen1.configapi.types.property.TextCategory category)
|
private static void |
setStyleAttributes(EditorPane editor,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs,
javax.swing.text.Style style)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String FOCUS_STYLE_NAME
private static final java.lang.String SELECTION_STYLE_NAME
| Constructor Detail |
|---|
public StyleRegistrar()
| Method Detail |
|---|
public static void registerTextCategories(EditorPane editor,
nl.cwi.sen1.configapi.types.PropertyList categories)
private static void registerTextCategory(EditorPane editor,
nl.cwi.sen1.configapi.types.property.TextCategory category)
private static javax.swing.text.Style registerAttributes(EditorPane editor,
java.lang.String name,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs)
private static void setStyleAttributes(EditorPane editor,
nl.cwi.sen1.configapi.types.TextAttributeMap attrs,
javax.swing.text.Style style)
private static java.awt.Color convertColor(nl.cwi.sen1.configapi.types.Color color)
|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||