|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.gui.TextPaneSegment
public class TextPaneSegment
A text pane segment is a set of contiguous characters (can be empty) that share the same attribute set
| Constructor Summary | |
|---|---|
TextPaneSegment()
constructor |
|
| Method Summary | |
|---|---|
void |
addText(String zText)
add the text to the current text |
TextPaneAttributeSet |
getAttributeSet()
|
String |
getText()
|
boolean |
isAttrSetIdentical(TextPaneAttributeSet zAttrSet)
|
void |
setAttributeSet(TextPaneAttributeSet zSet)
set the attribute set for this segment |
void |
setText(String zText)
set the textfor this segment |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextPaneSegment()
| Method Detail |
|---|
public void setAttributeSet(TextPaneAttributeSet zSet)
zSet - the attribute setpublic void setText(String zText)
zText - the attribute setpublic void addText(String zText)
zText - the attribute setpublic boolean isAttrSetIdentical(TextPaneAttributeSet zAttrSet)
zAttrSet - a reference to an attribute set
public TextPaneAttributeSet getAttributeSet()
public String getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||