|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.area.Area | +--org.apache.fop.area.Span
The span-reference-area. This is a block-area with 0 border and padding that is stacked within the main-reference-area This object holds one or more normal-flow-reference-area children based on the column-count trait in effect for this span. See fo:region-body definition in the XSL Rec for more information.
Fields inherited from class org.apache.fop.area.Area |
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB |
Constructor Summary | |
Span(int colCount,
int colGap,
int ipd)
Create a span area with the number of columns for this span area. |
Method Summary | |
int |
getColumnCount()
Get the column count for this span area. |
int |
getColumnWidth()
Get the width of a single column within this Span |
NormalFlow |
getCurrentFlow()
Get the NormalFlow area currently being processed |
int |
getCurrentFlowIndex()
|
int |
getHeight()
Get the height of this span area. |
NormalFlow |
getNormalFlow(int colRequested)
Get the normal flow area for a particular column. |
boolean |
hasMoreFlows()
Indicates if the Span has unprocessed flows. |
NormalFlow |
moveToNextFlow()
Indicate to the Span that the next column is being processed. |
void |
notifyFlowsFinished()
Called to notify the span that all its flows have been fully generated so it can update its own BPD extent. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.fop.area.Area |
addChildArea, addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Span(int colCount, int colGap, int ipd)
colCount
- the number of columns in the spancolGap
- the column gap between each columnipd
- the total ipd of the spanMethod Detail |
public int getColumnCount()
public int getColumnWidth()
public int getHeight()
public NormalFlow getNormalFlow(int colRequested)
colRequested
- the zero-based column number of the flowpublic NormalFlow getCurrentFlow()
public int getCurrentFlowIndex()
public NormalFlow moveToNextFlow()
public boolean hasMoreFlows()
public void notifyFlowsFinished()
public java.lang.String toString()
toString
in class Area
Object.toString()
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |