|
||||||||||
| 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 java.lang.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.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| 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(java.lang.String prefix,
AbstractDocument owner)
Creates a new SVGOMTextContentElement object. |
| Method Summary | |
|---|---|
int |
getCharNumAtPosition(SVGPoint point)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getCharNumAtPosition(SVGPoint). |
float |
getComputedTextLength()
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getComputedTextLength(). |
SVGPoint |
getEndPositionOfChar(int charnum)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getEndPositionOfChar(int). |
SVGRect |
getExtentOfChar(int charnum)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getExtentOfChar(int). |
SVGAnimatedBoolean |
getExternalResourcesRequired()
DOM: Implements org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired(). |
SVGAnimatedEnumeration |
getLengthAdjust()
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getLengthAdjust(). |
int |
getNumberOfChars()
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getNumberOfChars(). |
SVGStringList |
getRequiredExtensions()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredExtensions(). |
SVGStringList |
getRequiredFeatures()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredFeatures(). |
float |
getRotationOfChar(int charnum)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getRotationOfChar(int). |
SVGPoint |
getStartPositionOfChar(int charnum)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getStartPositionOfChar(int). |
float |
getSubStringLength(int charnum,
int nchars)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getSubStringLength(int,int). |
SVGStringList |
getSystemLanguage()
DOM: Implements org.w3c.dom.svg.SVGTests#getSystemLanguage(). |
SVGAnimatedLength |
getTextLength()
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#getTextLength(). |
protected DoublyIndexedTable |
getTraitInformationTable()
Returns the table of TraitInformation objects for this element. |
java.lang.String |
getXMLlang()
DOM: Returns the xml:lang attribute value. |
java.lang.String |
getXMLspace()
DOM: Returns the xml:space attribute value. |
boolean |
hasExtension(java.lang.String extension)
DOM: Implements org.w3c.dom.svg.SVGTests#hasExtension(String). |
protected void |
initializeAllLiveAttributes()
Initializes all live attributes for this element. |
void |
selectSubString(int charnum,
int nchars)
DOM: Implements org.w3c.dom.svg.SVGTextContentElement#selectSubString(int,int). |
void |
setXMLlang(java.lang.String lang)
DOM: Sets the xml:lang attribute value. |
void |
setXMLspace(java.lang.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 java.lang.String[] LENGTH_ADJUST_VALUES
protected SVGOMAnimatedBoolean externalResourcesRequired
protected AbstractSVGAnimatedLength textLength
protected SVGOMAnimatedEnumeration lengthAdjust
| Constructor Detail |
|---|
protected SVGOMTextContentElement()
protected SVGOMTextContentElement(java.lang.String prefix,
AbstractDocument owner)
prefix - The namespace prefix.owner - The owner document.| Method Detail |
|---|
protected void initializeAllLiveAttributes()
initializeAllLiveAttributes in class SVGStylableElementpublic SVGAnimatedLength getTextLength()
org.w3c.dom.svg.SVGTextContentElement#getTextLength().
public SVGAnimatedEnumeration getLengthAdjust()
org.w3c.dom.svg.SVGTextContentElement#getLengthAdjust().
public int getNumberOfChars()
org.w3c.dom.svg.SVGTextContentElement#getNumberOfChars().
public float getComputedTextLength()
org.w3c.dom.svg.SVGTextContentElement#getComputedTextLength().
public float getSubStringLength(int charnum,
int nchars)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getSubStringLength(int,int).
org.w3c.dom.DOMException
public SVGPoint getStartPositionOfChar(int charnum)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getStartPositionOfChar(int).
org.w3c.dom.DOMException
public SVGPoint getEndPositionOfChar(int charnum)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getEndPositionOfChar(int).
org.w3c.dom.DOMException
public SVGRect getExtentOfChar(int charnum)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getExtentOfChar(int).
org.w3c.dom.DOMException
public float getRotationOfChar(int charnum)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getRotationOfChar(int).
org.w3c.dom.DOMExceptionpublic int getCharNumAtPosition(SVGPoint point)
org.w3c.dom.svg.SVGTextContentElement#getCharNumAtPosition(SVGPoint).
public void selectSubString(int charnum,
int nchars)
throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int,int).
org.w3c.dom.DOMExceptionpublic SVGAnimatedBoolean getExternalResourcesRequired()
org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired().
public java.lang.String getXMLlang()
public void setXMLlang(java.lang.String lang)
public java.lang.String getXMLspace()
public void setXMLspace(java.lang.String space)
public SVGStringList getRequiredFeatures()
org.w3c.dom.svg.SVGTests#getRequiredFeatures().
public SVGStringList getRequiredExtensions()
org.w3c.dom.svg.SVGTests#getRequiredExtensions().
public SVGStringList getSystemLanguage()
org.w3c.dom.svg.SVGTests#getSystemLanguage().
public boolean hasExtension(java.lang.String extension)
org.w3c.dom.svg.SVGTests#hasExtension(String).
protected DoublyIndexedTable getTraitInformationTable()
getTraitInformationTable in class SVGStylableElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||