|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.SVGTextElementBridge.AttributedStringBuffer
protected static class SVGTextElementBridge.AttributedStringBuffer
This class is used to build an AttributedString.
Field Summary | |
---|---|
protected List |
attributes
The attributes. |
protected int |
count
The number of items. |
protected int |
length
The length of the attributed string. |
protected List |
strings
The strings. |
Constructor Summary | |
---|---|
SVGTextElementBridge.AttributedStringBuffer()
Creates a new empty AttributedStringBuffer. |
Method Summary | |
---|---|
void |
append(String s,
Map m)
Appends a String and its associated attributes. |
int |
getLastChar()
Returns the value of the last char or -1. |
boolean |
isEmpty()
Tells whether this AttributedStringBuffer is empty. |
int |
length()
Returns the length in chars of the current Attributed String |
void |
stripFirst()
Strips the last string character. |
void |
stripLast()
Strips the last string character. |
AttributedString |
toAttributedString()
Builds an attributed string from the content of this buffer. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List strings
protected List attributes
protected int count
protected int length
Constructor Detail |
---|
public SVGTextElementBridge.AttributedStringBuffer()
Method Detail |
---|
public boolean isEmpty()
public int length()
public void append(String s, Map m)
public int getLastChar()
public void stripFirst()
public void stripLast()
public AttributedString toAttributedString()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |