|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractParentChildNode
org.apache.batik.dom.AbstractElement
org.apache.batik.dom.svg.AbstractElement
org.apache.batik.dom.svg.SVGOMElement
org.apache.batik.dom.svg.SVGStylableElement
org.apache.batik.dom.svg.SVGOMTextContentElement
public abstract class SVGOMTextContentElement
This class provides a common superclass for all graphics elements.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.batik.dom.svg.SVGStylableElement |
|---|
SVGStylableElement.OverrideStyleDeclaration, SVGStylableElement.PresentationAttributeColorValue, SVGStylableElement.PresentationAttributePaintValue, SVGStylableElement.PresentationAttributeValue, SVGStylableElement.StyleDeclaration |
| Nested classes/interfaces inherited from class org.apache.batik.dom.svg.SVGOMElement |
|---|
SVGOMElement.UnitContext |
| Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractElement |
|---|
AbstractElement.ExtendedNamedNodeHashMap |
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractElement |
|---|
AbstractElement.ElementTypeInfo, AbstractElement.Entry, AbstractElement.NamedNodeHashMap |
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
| Field Summary | |
|---|---|
protected SVGOMAnimatedBoolean |
externalResourcesRequired
The 'externalResourcesRequired' attribute value. |
protected static String[] |
LENGTH_ADJUST_VALUES
The 'lengthAdjust' attribute values. |
protected SVGOMAnimatedEnumeration |
lengthAdjust
The 'lengthAdjust' attribute value. |
protected AbstractSVGAnimatedLength |
textLength
The 'textLength' attribute value. |
protected static DoublyIndexedTable |
xmlTraitInformation
Table mapping XML attribute names to TraitInformation objects. |
| Fields inherited from class org.apache.batik.dom.svg.SVGStylableElement |
|---|
className, computedStyleMap, overrideStyleDeclaration, style |
| Fields inherited from class org.apache.batik.dom.svg.SVGOMElement |
|---|
prefix, readonly, svgContext, targetListeners, unitContext |
| Fields inherited from class org.apache.batik.dom.svg.AbstractElement |
|---|
liveAttributeValues |
| Fields inherited from class org.apache.batik.dom.AbstractElement |
|---|
attributes, typeInfo |
| Fields inherited from class org.apache.batik.dom.AbstractParentChildNode |
|---|
nextSibling, parentNode, previousSibling |
| Fields inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
childNodes |
| Fields inherited from class org.apache.batik.dom.AbstractNode |
|---|
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers |
| Fields inherited from interface org.apache.batik.dom.anim.AnimationTarget |
|---|
PERCENTAGE_FONT_SIZE, PERCENTAGE_VIEWPORT_HEIGHT, PERCENTAGE_VIEWPORT_SIZE, PERCENTAGE_VIEWPORT_WIDTH |
| Constructor Summary | |
|---|---|
protected |
SVGOMTextContentElement()
Creates a new SVGOMTextContentElement. |
protected |
SVGOMTextContentElement(String prefix,
AbstractDocument owner)
Creates a new SVGOMTextContentElement object. |
| Method Summary | |
|---|---|
int |
getCharNumAtPosition(SVGPoint point)
DOM: Implements svg.SVGTextContentElement. |
float |
getComputedTextLength()
DOM: Implements svg.SVGTextContentElement. |
SVGPoint |
getEndPositionOfChar(int charnum)
DOM: Implements svg.SVGTextContentElement. |
SVGRect |
getExtentOfChar(int charnum)
DOM: Implements svg.SVGTextContentElement. |
SVGAnimatedBoolean |
getExternalResourcesRequired()
DOM: Implements svg.SVGExternalResourcesRequired. |
SVGAnimatedEnumeration |
getLengthAdjust()
DOM: Implements svg.SVGTextContentElement. |
int |
getNumberOfChars()
DOM: Implements svg.SVGTextContentElement. |
SVGStringList |
getRequiredExtensions()
DOM: Implements svg.SVGTests. |
SVGStringList |
getRequiredFeatures()
DOM: Implements svg.SVGTests. |
float |
getRotationOfChar(int charnum)
DOM: Implements svg.SVGTextContentElement. |
SVGPoint |
getStartPositionOfChar(int charnum)
DOM: Implements svg.SVGTextContentElement. |
float |
getSubStringLength(int charnum,
int nchars)
DOM: Implements svg.SVGTextContentElement. |
SVGStringList |
getSystemLanguage()
DOM: Implements svg.SVGTests. |
SVGAnimatedLength |
getTextLength()
DOM: Implements svg.SVGTextContentElement. |
protected DoublyIndexedTable |
getTraitInformationTable()
Returns the table of TraitInformation objects for this element. |
String |
getXMLlang()
DOM: Returns the xml:lang attribute value. |
String |
getXMLspace()
DOM: Returns the xml:space attribute value. |
boolean |
hasExtension(String extension)
DOM: Implements svg.SVGTests. |
protected void |
initializeAllLiveAttributes()
Initializes all live attributes for this element. |
void |
selectSubString(int charnum,
int nchars)
DOM: Implements svg.SVGTextContentElement. |
void |
setXMLlang(String lang)
DOM: Sets the xml:lang attribute value. |
void |
setXMLspace(String space)
DOM: Sets the xml:space attribute value. |
| Methods inherited from class org.apache.batik.dom.svg.SVGStylableElement |
|---|
addTargetListener, getClassName, getComputedStyleMap, getCSSBase, getCSSClass, getOverrideStyle, getOverrideStyleDeclarationProvider, getPresentationAttribute, getStyle, getXMLId, isPseudoInstanceOf, removeTargetListener, setComputedStyleMap, updatePropertyValue, useLinearRGBColorInterpolation |
| Methods inherited from class org.apache.batik.dom.svg.AbstractElement |
|---|
attrAdded, attrModified, attrRemoved, createAttributes, fireDOMAttrModifiedEvent, getAttributeInitializer, getCSSFirstChild, getCSSLastChild, getCSSNextSibling, getCSSParentNode, getCSSPreviousSibling, getLiveAttributeValue, initializeAttributes, isHiddenFromSelectors, putLiveAttributeValue, resetAttribute, setUnspecifiedAttribute |
| Methods inherited from class org.apache.batik.dom.AbstractParentChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling, setNextSibling, setParentNode, setPreviousSibling |
| Methods inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
appendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, removeChild, replaceChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.apache.batik.dom.events.NodeEventTarget |
|---|
addEventListenerNS, dispatchEvent, getEventSupport, getParentNodeEventTarget, removeEventListenerNS |
| Methods inherited from interface org.w3c.dom.events.EventTarget |
|---|
addEventListener, removeEventListener |
| Field Detail |
|---|
protected static DoublyIndexedTable xmlTraitInformation
protected static final String[] LENGTH_ADJUST_VALUES
protected SVGOMAnimatedBoolean externalResourcesRequired
protected AbstractSVGAnimatedLength textLength
protected SVGOMAnimatedEnumeration lengthAdjust
| Constructor Detail |
|---|
protected SVGOMTextContentElement()
protected SVGOMTextContentElement(String prefix,
AbstractDocument owner)
prefix - The namespace prefix.owner - The owner document.| Method Detail |
|---|
protected void initializeAllLiveAttributes()
initializeAllLiveAttributes in class SVGStylableElementpublic SVGAnimatedLength getTextLength()
svg.SVGTextContentElement.
public SVGAnimatedEnumeration getLengthAdjust()
svg.SVGTextContentElement.
public int getNumberOfChars()
svg.SVGTextContentElement.
public float getComputedTextLength()
svg.SVGTextContentElement.
public float getSubStringLength(int charnum,
int nchars)
throws DOMException
svg.SVGTextContentElement.
DOMException
public SVGPoint getStartPositionOfChar(int charnum)
throws DOMException
svg.SVGTextContentElement.
DOMException
public SVGPoint getEndPositionOfChar(int charnum)
throws DOMException
svg.SVGTextContentElement.
DOMException
public SVGRect getExtentOfChar(int charnum)
throws DOMException
svg.SVGTextContentElement.
DOMException
public float getRotationOfChar(int charnum)
throws DOMException
svg.SVGTextContentElement.
DOMExceptionpublic int getCharNumAtPosition(SVGPoint point)
svg.SVGTextContentElement.
public void selectSubString(int charnum,
int nchars)
throws DOMException
svg.SVGTextContentElement.
DOMExceptionpublic SVGAnimatedBoolean getExternalResourcesRequired()
svg.SVGExternalResourcesRequired.
public String getXMLlang()
public void setXMLlang(String lang)
public String getXMLspace()
public void setXMLspace(String space)
public SVGStringList getRequiredFeatures()
svg.SVGTests.
public SVGStringList getRequiredExtensions()
svg.SVGTests.
public SVGStringList getSystemLanguage()
svg.SVGTests.
public boolean hasExtension(String extension)
svg.SVGTests.
protected DoublyIndexedTable getTraitInformationTable()
getTraitInformationTable in class SVGStylableElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||