|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.swing.etable.ETable.RowMapping
public static final class ETable.RowMapping
Item to the collection when doing the sorting of table rows.
| Constructor Summary | |
|---|---|
ETable.RowMapping(int index,
TableModel model)
Create a new table row mapping. |
|
ETable.RowMapping(int index,
TableModel model,
ETable table)
Create a new table row mapping. |
|
| Method Summary | |
|---|---|
Object |
getModelObject(int column)
Get the model object at the row index of this mapping and the given column. |
int |
getModelRowIndex()
Get the model row index. |
Object |
getTransformedValue(int column)
Get the transformed value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ETable.RowMapping(int index,
TableModel model)
index - The row indexmodel - The table model
public ETable.RowMapping(int index,
TableModel model,
ETable table)
index - The row indexmodel - The table modeltable - The table. This argument needs to be set when
getTransformedValue(int) is to be used.| Method Detail |
|---|
public int getModelRowIndex()
public Object getModelObject(int column)
column - The column
#getTransformedValue(int)}public Object getTransformedValue(int column)
#RowMapping(int, javax.swing.table.TableModel, org.netbeans.swing.etable.ETable).
column - The column
table.transformValue(getModelObject(column)).
IllegalStateException - when table is not set
|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||