public class Footnote extends FlowObject
EMPTY_ARRAY
MAP_TYPE_FLYWEIGHT, MAP_TYPE_HASH
Constructor and Description |
---|
Footnote()
Creates a new (undefined) footnote.
|
Footnote(Inline inline)
Creates a new footnote with a link-Inline.
|
Footnote(Inline inline,
FootnoteBody body)
Creates a new footnote with a link-Inline and a body.
|
Footnote(java.lang.String linkText,
java.lang.String bodyText)
Creates a new footnote with a superscripted link-text and a body.
|
Footnote(java.lang.String linkText,
Values.VerticalAlignment vAlign,
java.lang.String bodyText)
Creates a new footnote with a link-text and a body.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addUnsafe(java.lang.Object child)
Adds a NodeElement to this FormattingObject.
|
FootnoteBody |
getBody()
Gets the body, that contains the note.
|
java.util.List |
getElements()
Gets childreen of this node.
|
Inline |
getInline()
Deprecated.
Use getLink();
|
Inline |
getLink()
Gets the link, that occours in flow-area.
|
void |
setBody(FootnoteBody body)
Sets the body of this footnote.
|
void |
setInline(Inline inline)
Deprecated.
Use setLink();
|
void |
setLink(Inline link)
Sets the link of footnote.
|
addElement, addElement, addUnsafe, clone, cloned, clonedList, createUniqueID, doGetAttribute, doSetAttribute, elementCount, get, getAbsolutePosition, getAccessibility, getAttributeMap, getBackground, getBorder, getDefinedAttributes, getDocument, getFont, getID, getLanguage, getLogger, getMargin, getMeasureValue, getObjectValue, getObjectValue, getObjectValue, getObjectValue, getOrphans, getPadding, getParentFO, getRelativePosition, getWidows, hasBorder, hasID, hasPadding, isEmpty, isHyphenation, removeElement, removeElement, replaceElement, setAbsolutePosition, setAccessibility, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBackground, setBorder, setElement, setFont, setHyphenation, setID, setLanguage, setLanguage, setMargin, setOrphans, setPadding, setRelativePosition, setWidows
getDefaultMapType, setDefaultMapType
addAttributeChangeListener, addElements, addElements, clearEqualAttributes, clearInheratedAttribute, clearInheratedAttributes, clearValue, contains, contains, copyAttributes, createID, findFirstNodeWithText, findNode, findNodesWithText, fire, fireSaxEvents, firstElement, getAttrAsBoolean, getAttrAsInteger, getAttrAsString, getAttrAsString, getAttribute, getAttribute, getAttributeMap, getContentText, getContentText, getDefinedAttributes, getElements, getElements, getElements, getFirstElement, getIndex, getLocalName, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getParent, getParent, getParent, getParentOrThis, getQName, getRoot, hasEqualAttrs, indexOf, lastElement, liftInheritedAttribute, removeAttributeChangeListener, setAttribute, setAttributes, setAttrIfNotNull, setEnableAttributeChangeEvent, setNamespace, setParent, setQName, setUndefinedAttributes, writeTo, writeTo, writeTo, writeTo
public Footnote()
public Footnote(Inline inline)
inline
- Link-Inline.public Footnote(Inline inline, FootnoteBody body)
inline
- Link-Inline.body
- The body of footnote (this is the footnote).public Footnote(java.lang.String linkText, java.lang.String bodyText)
linkText
- Some link-text. It will appear superscripted.bodyText
- Some body-text.public Footnote(java.lang.String linkText, Values.VerticalAlignment vAlign, java.lang.String bodyText)
linkText
- Some link-text.vAlign
- Vertival alignment of link.bodyText
- Some body-text.public java.util.List getElements()
AbstractNode
NodeElement
or String
.getElements
in interface Node
getElements
in class AbstractNode
public Inline getInline()
public void setInline(Inline inline)
public Inline getLink()
public FootnoteBody getBody()
public void setBody(FootnoteBody body)
body
- public void setLink(Inline link)
link
- The link.public boolean addUnsafe(java.lang.Object child)
FormattingObject
addUnsafe
in class FormattingObject
child
- Element.false
if this FO is unable to add object.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.