javax.swing.text.rtf
class: TextToken [javadoc |
source]
java.lang.Object
javax.swing.text.rtf.Token
javax.swing.text.rtf.TextToken
A special
Token that represents a piece of text in RTF.
- author:
Roman - Kennke (roman@ontographics.com)
| Field Summary |
|---|
| public String | text | The text. |
| Constructor: |
public TextToken(String text) {
super(Token.TEXT);
this.text = text;
}
Constructs a new TextToken with the specified textual data. Parameters:
text - the text for this token
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |