|
fop 0.90alpha1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.layoutmgr.table.EffRow
This class represents an effective row in a table and holds a list of grid units occupying the row as well as some additional values.
Field Summary | |
static int |
FIRST_IN_BODY
Indicates that the row is the first in a table-body |
static int |
LAST_IN_BODY
Indicates that the row is the last in a table-body |
Constructor Summary | |
EffRow(int index,
int bodyType)
Creates a new effective row instance. |
Method Summary | |
int |
getBodyType()
|
MinOptMax |
getExplicitHeight()
|
boolean |
getFlag(int which)
Returns a flag for this effective row. |
GridUnit |
getGridUnit(int column)
Returns the grid unit at a given position. |
java.util.List |
getGridUnits()
|
MinOptMax |
getHeight()
|
int |
getIndex()
|
TableRow |
getTableRow()
|
GridUnit |
safelyGetGridUnit(int column)
Returns the grid unit at a given position. |
void |
setExplicitHeight(MinOptMax mom)
Sets the height for this row that resulted from the explicit height properties specified by the user. |
void |
setFlagForAllGridUnits(int flag,
boolean value)
Sets a flag on all grid units of this effective row. |
void |
setHeight(MinOptMax mom)
Sets the calculated height for this EffRow. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FIRST_IN_BODY
public static final int LAST_IN_BODY
Constructor Detail |
public EffRow(int index, int bodyType)
index
- index of the rowbodyType
- type of body (one of HEADER, FOOTER, BODY as found on TableRowIterator)Method Detail |
public int getIndex()
public int getBodyType()
public TableRow getTableRow()
public MinOptMax getHeight()
public void setHeight(MinOptMax mom)
mom
- the calculated heightpublic MinOptMax getExplicitHeight()
public void setExplicitHeight(MinOptMax mom)
mom
- the heightpublic java.util.List getGridUnits()
public GridUnit getGridUnit(int column)
column
- index of the grid unit in the row (zero based)public GridUnit safelyGetGridUnit(int column)
column
- index of the grid unit in the row (zero based)public void setFlagForAllGridUnits(int flag, boolean value)
flag
- which flag to set (on of the GridUnit.* constants)value
- new value for the flagpublic boolean getFlag(int which)
which
- the requested flagpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
fop 0.90alpha1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |