public class Leader extends FlowObjectWithElements implements InlineElement
EMPTY_ARRAY
MAP_TYPE_FLYWEIGHT, MAP_TYPE_HASH
Constructor and Description |
---|
Leader() |
Leader(Measure length) |
Leader(Measure length,
Values.Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
Leader |
add(InlineElement element)
Adds an formatting object (that is an inline-group-member) to this FO
at end.
|
Leader |
add(int idx,
InlineElement element)
Adds an formatting object (that is an inline-group-member) to this FO
at the given index.
|
Leader |
add(int idx,
java.lang.String pcdata)
Adds PCdata (Text) to this FO at the given index.
|
Leader |
add(java.lang.String pcdata)
Adds PCdata (Text) to this FO.
|
Accessibility |
getAccessibility()
Gets the accessibilty of this fo.
|
Background |
getBackground()
Gets the background of this fo.
|
Border |
getBorder()
Gets the border of this fo.
|
Measure |
getLength()
Gets the length of this leader.
|
Padding |
getPadding()
Gets the padding of this fo.
|
Values.Pattern |
getPattern()
Gets the pattern of this leader (spaces, dots, rule and more..).
|
RelativePosition |
getRelativePosition()
Gets the relative position of this fo.
|
boolean |
hasBorder()
Returns true if at least one border attribute is set.
|
void |
setAccessibility(Accessibility access)
Sets the accessibility of this fo.
|
void |
setBackground(Background bg)
Sets the background of this fo.
|
void |
setBorder(Border border)
Sets the border of this fo.
|
void |
setLength(Measure value)
Sets the length of this leader.
|
void |
setPadding(Padding padding)
Sets the padding of this fo.
|
void |
setPattern(Values.Pattern value)
Sets the pattern of this leader.
|
void |
setRelativePosition(RelativePosition pos)
Sets the relative position of this fo.
|
add, add, add, add, addAllImpl, addAllUnsafe, addAllUnsafe, addElement, addElement, addElements, addElements, addUnsafe, addUnsafe, clone, firstElement, getElementCount, getElements, isEmpty, lastElement, remove, remove, removeAll, removeElement, removeElement, removeLast, replaceElement, setElement
cloned, clonedList, createUniqueID, createUniqueID, doGetAttribute, doSetAttribute, elementCount, get, getAbsolutePosition, getAttributeMap, getDefinedAttributes, getDocument, getFont, getID, getLanguage, getLogger, getMargin, getMeasureValue, getObjectValue, getObjectValue, getObjectValue, getObjectValue, getOrphans, getParentFO, getWidows, hasID, hasPadding, isHyphenation, setAbsolutePosition, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setFont, setHyphenation, setID, setLanguage, setLanguage, setMargin, setOrphans, setWidows
getDefaultMapType, setDefaultMapType
addAttributeChangeListener, clearEqualAttributes, clearInheratedAttribute, clearInheratedAttributes, clearValue, contains, contains, copyAttributes, createID, findFirstNodeWithText, findNode, findNodesWithText, fire, fireSaxEvents, 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, liftInheritedAttribute, removeAttributeChangeListener, setAttribute, setAttributes, setAttrIfNotNull, setEnableAttributeChangeEvent, setNamespace, setParent, setQName, setUndefinedAttributes, writeTo, writeTo, writeTo, writeTo
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeChangeListener, addElement, addElement, clearInheratedAttribute, clearInheratedAttributes, clearValue, contains, fireSaxEvents, firstElement, getAttrAsString, getAttrAsString, getAttribute, getAttribute, getAttributeMap, getContentText, getDefinedAttributes, getElements, getElements, getLocalName, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getQName, getRoot, indexOf, isEmpty, lastElement, removeAttributeChangeListener, removeElement, removeElement, replaceElement, setAttribute, setAttributes, setElement, setNamespace
clone, getParent, setParent, writeTo
public Leader()
public Leader(Measure length)
public Leader(Measure length, Values.Pattern pattern)
public Padding getPadding()
getPadding
in class FormattingObject
public void setPadding(Padding padding)
setPadding
in class FormattingObject
padding
- Padding.public boolean hasBorder()
hasBorder
in class FormattingObject
public Border getBorder()
getBorder
in class FormattingObject
public void setBorder(Border border)
setBorder
in class FormattingObject
border
- Border.public Background getBackground()
getBackground
in class FormattingObject
public void setBackground(Background bg)
setBackground
in class FormattingObject
bg
- Background.public Accessibility getAccessibility()
getAccessibility
in class FormattingObject
public void setAccessibility(Accessibility access)
setAccessibility
in class FormattingObject
access
- Accessibility.public RelativePosition getRelativePosition()
getRelativePosition
in class FormattingObject
public void setRelativePosition(RelativePosition pos)
setRelativePosition
in class FormattingObject
pos
- RelativePosition.public Leader add(InlineElement element)
element
- FormattingObject.public Leader add(java.lang.String pcdata)
pcdata
- Text/PCdata.public Leader add(int idx, InlineElement element)
idx
- Index.element
- FormattingObject.public Leader add(int idx, java.lang.String pcdata)
idx
- Index.pcdata
- Text/PCdata.public Measure getLength()
public void setLength(Measure value)
value
- Length of leader.public Values.Pattern getPattern()
public void setPattern(Values.Pattern value)
value
- Pattern.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.