Package org.apache.fop.layoutmgr.table
Class TableContentPosition
java.lang.Object
org.apache.fop.layoutmgr.Position
org.apache.fop.layoutmgr.table.TableContentPosition
This class represents a Position specific to TableContentLayoutManager. Used for normal
content cases.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<org.apache.fop.layoutmgr.table.CellPart> the list of CellParts making up this positionstatic final int
The position is the first of the row group.protected int
flags for the positionstatic final int
The position is the last of the row group. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TableContentPosition
(LayoutManager lm, List<org.apache.fop.layoutmgr.table.CellPart> cellParts, EffRow row) Creates a new TableContentPosition. -
Method Summary
Methods inherited from class org.apache.fop.layoutmgr.Position
getIndex, getLM, getLM, getPosition, getShortLMName, setIndex
-
Field Details
-
FIRST_IN_ROWGROUP
public static final int FIRST_IN_ROWGROUPThe position is the first of the row group.- See Also:
-
LAST_IN_ROWGROUP
public static final int LAST_IN_ROWGROUPThe position is the last of the row group.- See Also:
-
cellParts
the list of CellParts making up this position -
flags
protected int flagsflags for the position
-
-
Constructor Details
-
TableContentPosition
protected TableContentPosition(LayoutManager lm, List<org.apache.fop.layoutmgr.table.CellPart> cellParts, EffRow row) Creates a new TableContentPosition.- Parameters:
lm
- applicable layout managercellParts
- the list of CellPart instancesrow
- effective row this position belongs to
-
-
Method Details
-
getFlag
public boolean getFlag(int which) Returns a flag for this GridUnit.- Parameters:
which
- the requested flag- Returns:
- the value of the flag
-
setFlag
public void setFlag(int which, boolean value) Sets a flag on a GridUnit.- Parameters:
which
- the flag to setvalue
- the new value for the flag
-
generatesAreas
public boolean generatesAreas()- Overrides:
generatesAreas
in classPosition
- Returns:
- true if generates areas
-
toString
-
getPosition
Description copied from class:Position
Overridden by NonLeafPosition to return the Position of its child LM.- Overrides:
getPosition
in classPosition
- Returns:
- a position or null
-