|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.fo.flow.TableRow.CellState
CellState
Copyright @ 2000 Circuit Court Automation Program.
state of Wisconsin.
All Rights Reserved.
This class is a container class for encapsulating a the state of a cell
Name: | CellState |
Purpose: | a helpful container class |
Description: | This class is a container class for encapsulating the state of a cell belonging to a TableRow class |
Constructor Summary | |
TableRow.CellState()
simple no args constructor. |
|
TableRow.CellState(int aLocation,
boolean completed,
int aWidth)
three argument fill everything constructor. |
Method Summary | |
int |
getColumn()
|
int |
getLocation()
returns the index of the cell starting at 0. |
int |
getWidthOfCellSoFar()
returns the horizontal offset of the cell. |
boolean |
isLayoutComplete()
returns true if the cell was completely laid out. |
void |
setColumn(int col)
|
void |
setLayoutComplete(boolean completed)
sets the layoutCompleted flag. |
void |
setLocation(int aLocation)
sets the location of the cell. |
void |
setWidthOfCellSoFar(int aWidth)
sets the width of the Cell So Far, i.e the cell's offset. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TableRow.CellState()
public TableRow.CellState(int aLocation, boolean completed, int aWidth)
int
- the location(index) of the cell.boolean
- flag of wether the cell was completely laid out or not.int
- the horizontal offset(width so far) of the cell.Method Detail |
public final int getLocation()
public final void setLocation(int aLocation)
int,
- the location of the cell.public final boolean isLayoutComplete()
public final void setLayoutComplete(boolean completed)
boolean,
- the layout Complete state of the cell.public final int getWidthOfCellSoFar()
public final void setWidthOfCellSoFar(int aWidth)
int,
- the horizontal offset of the cell.public int getColumn()
public void setColumn(int col)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |