|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.common.AbstractOrderedTreeNode
org.foray.fotree.FObj
org.foray.fotree.fo.obj.AbstractFlow
public abstract class AbstractFlow
Abstract superclass for "flow", and "static-content" objects in XSL-FO.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Field Summary |
|---|
| Fields inherited from class org.foray.fotree.FObj |
|---|
EMPTY_CHILD_LIST, PAGE_CITATION_TEXT_SEGMENT |
| Fields inherited from interface org.axsl.fo.Fo |
|---|
DIMENSION_AUTO |
| Fields inherited from interface org.axsl.fo.fo.prop.CommonPositionPa |
|---|
ABSOLUTE_POSITION_AUTO |
| Constructor Summary | |
|---|---|
protected |
AbstractFlow(PageSequence parent,
PropertyList propertyList)
Constructor. |
| Method Summary | |
|---|---|
void |
addChild(FObj child)
Add a child to this object. |
FObj |
getChildAt(int index)
|
List<FObj> |
getChildren()
Return the List of this node's children. |
Namespace |
getNamespace()
Gets the Namespace instance that is associated with this object. |
PageSequence |
getParent()
|
org.axsl.font.FontUse |
getPrimaryFont(org.axsl.fo.FoContext context)
|
PropertyList |
getPropertyList()
Returns the property list for this FObj. |
boolean |
isValid()
|
protected void |
setIsValid(boolean isValid)
Set the validity flag. |
boolean |
traitIsReferenceArea()
|
protected void |
validateAncestry()
A hook into the parsing process which allows the subclass instance to validate its ancestry. |
protected void |
validateProperties()
A hook into the parsing process which allows the subclass instance to validate its properties. |
| Methods inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
children, getChildCount, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLevel, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSharedAncestor, hasChildren, isLeaf, isNodeAncestor, isNodeDescendant, nextPostOrderNode, nextPreOrderNode, postOrderDescendantIterator, siblingIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.axsl.fo.Fo |
|---|
acceptProxyFactory |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getChildCount, getIndex, isLeaf |
| Constructor Detail |
|---|
protected AbstractFlow(PageSequence parent,
PropertyList propertyList)
parent - The parent FObj.propertyList - The property list for this FObj.| Method Detail |
|---|
protected void validateAncestry()
throws org.axsl.fo.FoTreeException
FObj
validateAncestry in class FObjorg.axsl.fo.FoTreeException - For invalid ancestry.
protected void validateProperties()
throws org.axsl.fo.FoTreeException
FObj
validateProperties in class FObjorg.axsl.fo.FoTreeException - For invalid properties.public boolean traitIsReferenceArea()
traitIsReferenceArea in interface org.axsl.fo.FotraitIsReferenceArea in class FObjpublic Namespace getNamespace()
FObj
getNamespace in class FObjpublic PageSequence getParent()
getParent in interface TreeNodegetParent in interface org.axsl.fo.FogetParent in class FObjpublic List<FObj> getChildren()
AbstractOrderedTreeNode
getChildren in class FObj
public void addChild(FObj child)
throws org.axsl.fo.FoTreeException
FObj
addChild in class FObjchild - The child to be added.
org.axsl.fo.FoTreeException - If the child cannot be added as a child for any
reason, either because it an invalid type or is in the wrong order.public PropertyList getPropertyList()
FObj
getPropertyList in class FObjpublic org.axsl.font.FontUse getPrimaryFont(org.axsl.fo.FoContext context)
public FObj getChildAt(int index)
public boolean isValid()
protected void setIsValid(boolean isValid)
isValid - The new value for "isValid".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||