public class XMLAnchor extends AbstractStylableText implements ParagraphElement, AnchorElement
TYPE_NONE
Constructor and Description |
---|
XMLAnchor(java.lang.String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getID()
Return the ID of the anchor.
|
java.lang.String |
getStyle()
Return the style class of the element.
|
java.lang.String |
getText()
Return the anchor text.
|
void |
setID(java.lang.String id)
Set the ID of the anchor.
|
void |
setText(java.lang.String text)
Set the anchor text.
|
getBackgroundColor, getColor, getFontFace, getNamedSize, getNumericSize, getParentStyle, getSize, getType, hasDecoration, hasFontFace, hasSize, setBackgroundColor, setColor, setFontFace, setParentStyle, setSize, setSize, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomStyles, getInlinedStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
getTitle
public XMLAnchor(java.lang.String id)
id
- the ID of the anchorpublic java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public java.lang.String getStyle()
getStyle
in interface StylableText
getStyle
in interface StyledElement
public void setText(java.lang.String text)
text
- the anchor textpublic java.lang.String getText()
getText
in interface StylableText
public java.lang.String getID()
getID
in interface AnchorElement
public void setID(java.lang.String id)
setID
in interface AnchorElement
id
- the ID of the anchorCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence