|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.openapi.editor.colors.TextAttributesKey
public final class TextAttributesKey
A type of item with a distinct highlighting in an editor or in other views.
| Method Summary | |
|---|---|
int |
compareTo(TextAttributesKey key)
|
static TextAttributesKey |
createTextAttributesKey(java.lang.String externalName)
Registers a text attribute key with the specified identifier. |
static TextAttributesKey |
createTextAttributesKey(java.lang.String externalName,
TextAttributes defaultAttributes)
Registers a text attribute key with the specified identifier and default attributes. |
static TextAttributesKey |
find(java.lang.String externalName)
|
TextAttributes |
getDefaultAttributes()
Returns the default text attributes associated with the key. |
java.lang.String |
getExternalName()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
@NotNull public static TextAttributesKey find(java.lang.String externalName)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getExternalName()
public int compareTo(TextAttributesKey key)
compareTo in interface java.lang.Comparable<TextAttributesKey>public TextAttributes getDefaultAttributes()
public static TextAttributesKey createTextAttributesKey(@NonNls
java.lang.String externalName,
TextAttributes defaultAttributes)
externalName - the unique identifier of the key.defaultAttributes - the default text attributes associated with the key.
public static TextAttributesKey createTextAttributesKey(@NonNls
java.lang.String externalName)
externalName - the unique identifier of the key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||