public class SvgText extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sModemContentAndSubtagList| Constructor and Description |
|---|
SvgText() |
SvgText(String inText) |
SvgText(String inText,
Font inFont,
Point2D inLocation) |
SvgText(XMLTag inXMLTag) |
| Modifier and Type | Method and Description |
|---|---|
SvgText |
addStyle(String inValue) |
SvgTSpan |
addTSpan() |
SvgTSpan |
addTSpan(CharSequence inTitle) |
void |
draw(Graphics2D g2) |
Rectangle |
getBoundsBox() |
String |
getDx() |
String |
getDy() |
int |
getHeight() |
int |
getWidth() |
Float |
getX() |
Float |
getY() |
SvgText |
setAttribute(String inName,
Object inValue) |
SvgText |
setClass(String inValue) |
SvgText |
setDx(String inValue)
Sets a relative (delta) X coordinate adjustment to the text position.
|
SvgText |
setDy(String inValue)
Sets a relative (delta) Y coordinate adjustment to the text position.
|
SvgText |
setFill(Color inColor) |
SvgText |
setFilter(String inValue) |
SvgText |
setFont(Font inValue) |
SvgText |
setId(String inValue) |
SvgText |
setStyle(String inValue) |
SvgText |
setTitle(String inValue) |
SvgText |
setTransform(String inValue) |
SvgText |
setX(float inValue) |
SvgText |
setX(int inValue) |
SvgText |
setY(float inValue) |
SvgText |
setY(int inValue) |
addClass, adjustBoundsForTransform, applyTransform, applyTransforms, drawSubnodes, getAdjustedFont, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, initFromXMLTag, rangeCheckOpacityValue, setOnClick, setOnMouseDown, setOnMouseOut, setOnMouseOver, setOnMouseUp, setPositionaddSubtag, addSubtag, addXMLNamespaceDeclaration, clone, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagNameaddContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtagsfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCenterPoint, getTransform, setPositionfindNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagNameaddContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtagsclone, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXMLpublic SvgText()
public SvgText setDx(String inValue)
inValue - a relative X coordinate adjustment to the text positionpublic SvgText setDy(String inValue)
inValue - a relative Y coordinate adjustment to the text positionpublic int getWidth()
public int getHeight()
public SvgText setFilter(String inValue)
setFilter in class AbstractSvgNodepublic SvgText setTitle(String inValue)
setTitle in class AbstractSvgNodepublic SvgText setClass(String inValue)
setClass in class AbstractSvgNodepublic SvgText setId(String inValue)
setId in class AbstractSvgNodepublic SvgText addStyle(String inValue)
addStyle in interface SvgNodeaddStyle in class AbstractSvgNodepublic SvgText setStyle(String inValue)
setStyle in class AbstractSvgNodepublic SvgText setTransform(String inValue)
setTransform in interface SvgNodesetTransform in class AbstractSvgNodepublic SvgText setAttribute(String inName, Object inValue)
setAttribute in interface XMLNodesetAttribute in class XMLTagpublic SvgTSpan addTSpan(CharSequence inTitle)
public Rectangle getBoundsBox()
getBoundsBox in interface SvgNodegetBoundsBox in class AbstractSvgNodepublic void draw(Graphics2D g2)
draw in class AbstractSvgNode
jataylor@hairyfatguy.com