|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--table.model.RowContainer
This class stores information about EnvelopeTableModel's row.
Field Summary | |
protected java.util.ArrayList |
children
List of row's children (for grouped data). |
protected int |
groupLevel
Store group level. |
protected boolean |
isOriginal
Flag shows whether the row represents original row. |
protected int |
originalRowIndex
Index of row of original data. |
protected RowContainer |
parent
Parent row (for grouped data). |
protected java.util.ArrayList |
rowData
Row data. |
Constructor Summary | |
RowContainer(int originalRowIndex,
boolean isOriginal,
int columnCount)
Constructs new row container instance. |
|
RowContainer(int originalRowIndex,
boolean isOriginal,
int columnCount,
int groupLevel)
Constructs new row container instance. |
Method Summary | |
RowContainer |
getChildAt(int index)
Gets row's child. |
int |
getChildCount()
Gets count of children. |
int |
getLevel()
Gets row level. |
int |
getOriginalRowNumber()
Gets number of original row. |
RowContainer |
getParent()
Gets the row's parent. |
java.lang.Object |
getRowData(int columnIndex)
Gets data from specified row's cell. |
boolean |
isOriginal()
Gets whether the row has original prototype. |
void |
setGroupFunctionEMPTY(int columnIndex)
Removes data from specified column. |
void |
setOriginalRowNumber(int index)
Sets number of original row. |
void |
setParent(RowContainer newParent)
Sets the row's parent. |
void |
setRowData(int columnIndex,
java.lang.Object value)
Sets data to specified cell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int originalRowIndex
protected java.util.ArrayList rowData
protected java.util.ArrayList children
protected RowContainer parent
protected boolean isOriginal
protected int groupLevel
Constructor Detail |
public RowContainer(int originalRowIndex, boolean isOriginal, int columnCount)
originalRowIndex
- index of original row (-1 means the row isn't
original).isOriginal
- flag shows whether the row is original.columnCount
- column count.public RowContainer(int originalRowIndex, boolean isOriginal, int columnCount, int groupLevel)
originalRowIndex
- index of original row (-1 means the row isn't
original).isOriginal
- flag shows whether the row is original.columnCount
- column count.groupLevel
- group level number (original rows have level 0).Method Detail |
public void setParent(RowContainer newParent)
newParent
- parent row.public RowContainer getParent()
public RowContainer getChildAt(int index)
index
- child index.
public int getChildCount()
public boolean isOriginal()
public int getOriginalRowNumber()
public void setOriginalRowNumber(int index)
index
- original row number.public java.lang.Object getRowData(int columnIndex)
columnIndex
- index of cell.
public void setRowData(int columnIndex, java.lang.Object value)
columnIndex
- index of cellvalue
- new cell data.public int getLevel()
public void setGroupFunctionEMPTY(int columnIndex)
columnIndex
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |