| |
|
| java.lang.Object com.sun.svg.component.SVGTextBinding
SVGTextBinding | public class SVGTextBinding (Code) | | Simple helper class to bind an SVG <text> element with a
data source.
|
Field Summary | |
final public static String | DEFAULT_TEXT_VALUE The text binding's default value. | protected String | id The id of the bound element. | protected SVGElement | text A reference to the bound element instance in the
current skin. |
DEFAULT_TEXT_VALUE | final public static String DEFAULT_TEXT_VALUE(Code) | | The text binding's default value.
|
text | protected SVGElement text(Code) | | A reference to the bound element instance in the
current skin.
|
SVGTextBinding | public SVGTextBinding(String id)(Code) | | Parameters: id - the <text> element in which the "#text" trait should be set. |
hookSkin | public void hookSkin(Document doc)(Code) | | Parameters: doc - - the Document skin where an element with thisbinding's id should be found. |
set | public void set(String value)(Code) | | Sets the binding's value.
Parameters: value - the new value to display in the text element. |
|
|
|