|
||||||||||
| 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.AbstractPageMaster
public abstract class AbstractPageMaster
Abstract superclass for all page master classes.
| 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 | |
|---|---|
AbstractPageMaster(LayoutMasterSet 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. |
LayoutMasterSet |
getParent()
|
org.axsl.font.FontUse |
getPrimaryFont(org.axsl.fo.FoContext context)
|
PropertyList |
getPropertyList()
Returns the property list for this FObj. |
abstract boolean |
hasRegion(String flowName)
Indicates whether this page has a region matching a given flow name. |
boolean |
isContentBlock()
Reports whether the object fits the %block parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentInline()
Reports whether the object fits the %inline parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentPcdata()
Reports whether the object fits the #PCDATA content type in XSL-FO Std 1.0, Section 6.2. |
boolean |
isValid()
|
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 |
|---|
public AbstractPageMaster(LayoutMasterSet 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 abstract boolean hasRegion(String flowName)
flowName - The flow name sought.
public LayoutMasterSet 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 boolean isContentInline()
FObj
isContentInline in class FObjpublic boolean isContentBlock()
FObj
isContentBlock in class FObjpublic boolean isContentPcdata()
FObj
isContentPcdata in class FObjpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||