public class TextChunk
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TextChunk[] |
EMPTY_ARRAY |
Constructor and Description |
---|
TextChunk(TextAttributes attributes,
java.lang.String text) |
TextChunk(TextAttributes attributes,
java.lang.String text,
UsageType type) |
Modifier and Type | Method and Description |
---|---|
TextAttributes |
getAttributes() |
SimpleTextAttributes |
getSimpleAttributesIgnoreBackground() |
java.lang.String |
getText() |
UsageType |
getType() |
java.lang.String |
toString() |
public static final TextChunk[] EMPTY_ARRAY
public TextChunk(TextAttributes attributes, java.lang.String text)
public TextChunk(TextAttributes attributes, java.lang.String text, UsageType type)
public TextAttributes getAttributes()
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.lang.Object
public UsageType getType()
public SimpleTextAttributes getSimpleAttributesIgnoreBackground()