|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.ext.gxt.control.TableRow
public class TableRow
The TableRow is a single row in a Grid component. It will be used to transfer
data between server and client.
| Nested Class Summary | |
|---|---|
static class |
TableRow.RowState
The valid row states. |
| Constructor Summary | |
|---|---|
TableRow()
Creates a new instance of TableRow. |
|
TableRow(Map<String,Object> pColumns)
Creates a new instance of TableRow with predefined properties
and values. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object pObject)
|
|
|
get(String pProperty)
|
|
FormattedValue |
getColumn(String pName)
Gets a specific column. |
|
Map<String,Object> |
getProperties()
|
|
Collection<String> |
getPropertyNames()
|
|
int |
getRowNum()
Gets the row number for this row. |
|
TableRow.RowState |
getState()
Gets the current row state. |
|
int |
hashCode()
|
|
|
remove(String pProperty)
|
|
|
set(String pProperty,
V pValue)
|
|
FormattedValue |
setColumn(String pName,
FormattedValue pColumn)
Sets a specific column. |
|
void |
setRowNum(int pRowNum)
Sets the row number for this row. |
|
void |
setState(TableRow.RowState pState)
Sets the current row state. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableRow()
TableRow.
public TableRow(Map<String,Object> pColumns)
TableRow with predefined properties
and values.
pColumns - the predefined property/value mapping| Method Detail |
|---|
public <V> V set(String pProperty,
V pValue)
set in interface ModelDatapublic <V> V get(String pProperty)
get in interface ModelDatapublic <V> V remove(String pProperty)
remove in interface ModelDatapublic Map<String,Object> getProperties()
getProperties in interface ModelDatapublic Collection<String> getPropertyNames()
getPropertyNames in interface ModelDatapublic boolean equals(Object pObject)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void setRowNum(int pRowNum)
pRowNum - the row numberpublic int getRowNum()
public void setState(TableRow.RowState pState)
pState - the stateTableRow.RowStatepublic TableRow.RowState getState()
TableRow.RowState
public FormattedValue setColumn(String pName,
FormattedValue pColumn)
pName - the column namepColumn - the column
null if there was no column set beforepublic FormattedValue getColumn(String pName)
pName - the column name
null if there is no column with the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||