public class InlineContainer extends FlowObjectWithElements implements InlineElement
EMPTY_ARRAYMAP_TYPE_FLYWEIGHT, MAP_TYPE_HASH| Constructor and Description |
|---|
InlineContainer() |
| Modifier and Type | Method and Description |
|---|---|
InlineContainer |
add(BlockElement element)
Adds an formatting object (that is a block-group-member) to this FO.
|
InlineContainer |
add(int idx,
BlockElement element)
Adds an formatting object (that is a block-group-member) to this FO.
|
Background |
getBackground()
Gets the background of this fo.
|
Border |
getBorder()
Gets the border of this fo.
|
Values.DisplayAlignment |
getDisplayAlign()
Gets the display-alignment.
|
Padding |
getPadding()
Gets the padding of this fo.
|
RelativePosition |
getRelativePosition()
Gets the relative position of this fo.
|
Values.WritingMode |
getWritingMode()
Gets the writing mode of this formatting object.
|
boolean |
hasBorder()
Returns true if at least one border attribute is set.
|
void |
setBackground(Background bg)
Sets the background of this fo.
|
void |
setBorder(Border border)
Sets the border of this fo.
|
void |
setDisplayAlign(Values.DisplayAlignment align)
Sets the display-alignment.
|
void |
setPadding(Padding padding)
Sets the padding of this fo.
|
void |
setRelativePosition(RelativePosition pos)
Sets the relative position of this fo.
|
void |
setWritingMode(Values.WritingMode mode)
Sets the writing mode for this formatting object.
|
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, setElementcloned, clonedList, createUniqueID, createUniqueID, doGetAttribute, doSetAttribute, elementCount, get, getAbsolutePosition, getAccessibility, getAttributeMap, getDefinedAttributes, getDocument, getFont, getID, getLanguage, getLogger, getMargin, getMeasureValue, getObjectValue, getObjectValue, getObjectValue, getObjectValue, getOrphans, getParentFO, getWidows, hasID, hasPadding, isHyphenation, setAbsolutePosition, setAccessibility, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setFont, setHyphenation, setID, setLanguage, setLanguage, setMargin, setOrphans, setWidowsgetDefaultMapType, setDefaultMapTypeaddAttributeChangeListener, 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, writeToequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttributeChangeListener, 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, setNamespaceclone, getParent, setParent, writeTopublic InlineContainer add(BlockElement element)
element - FormattingObject.public InlineContainer add(int idx, BlockElement element)
idx - Index.element - FormattingObject.public Padding getPadding()
getPadding in class FormattingObjectpublic void setPadding(Padding padding)
setPadding in class FormattingObjectpadding - Padding.public boolean hasBorder()
hasBorder in class FormattingObjectpublic Border getBorder()
getBorder in class FormattingObjectpublic void setBorder(Border border)
setBorder in class FormattingObjectborder - Border.public Background getBackground()
getBackground in class FormattingObjectpublic void setBackground(Background bg)
setBackground in class FormattingObjectbg - Background.public RelativePosition getRelativePosition()
getRelativePosition in class FormattingObjectpublic void setRelativePosition(RelativePosition pos)
setRelativePosition in class FormattingObjectpos - RelativePosition.public void setDisplayAlign(Values.DisplayAlignment align)
align - Alignment.public Values.DisplayAlignment getDisplayAlign()
public Values.WritingMode getWritingMode()
public void setWritingMode(Values.WritingMode mode)
mode - Writing mode.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.