|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.svg.component.SVGTextBinding
public class SVGTextBinding
Simple helper class to bind an SVG <text>
element with a
data source.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TEXT_VALUE
The text binding's default value. |
protected java.lang.String |
id
The id of the bound |
protected org.w3c.dom.svg.SVGElement |
text
A reference to the bound |
Constructor Summary | |
---|---|
SVGTextBinding(java.lang.String id)
|
Method Summary | |
---|---|
void |
hookSkin(org.w3c.dom.Document doc)
|
void |
set(java.lang.String value)
Sets the binding's value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_TEXT_VALUE
protected java.lang.String id
protected org.w3c.dom.svg.SVGElement text
Constructor Detail |
---|
public SVGTextBinding(java.lang.String id)
id
- the <text> element in which the "#text" trait should
be set.Method Detail |
---|
public void hookSkin(org.w3c.dom.Document doc)
doc
- - the Document
skin where an element with this
binding's id should be found.public void set(java.lang.String value)
value
- the new value to display in the text element.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |