| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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() |
final int | getLocation() returns the index of the cell starting at 0. |
final int | getWidthOfCellSoFar() returns the horizontal offset of the cell. |
final boolean | isLayoutComplete() returns true if the cell was completely laid out. |
void | setColumn(int col) |
final void | setLayoutComplete(boolean completed) sets the layoutCompleted flag. |
final void | setLocation(int aLocation) sets the location of the cell. |
final void | setWidthOfCellSoFar(int aWidth) sets the width of the Cell So Far, i.e the cell's offset. |
Constructor Detail |
public TableRow.CellState()
public TableRow.CellState(int aLocation, boolean completed, int aWidth)
Method Detail |
public int getColumn()
public final int getLocation()
public final int getWidthOfCellSoFar()
public final boolean isLayoutComplete()
public void setColumn(int col)
public final void setLayoutComplete(boolean completed)
public final void setLocation(int aLocation)
public final void setWidthOfCellSoFar(int aWidth)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |