|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.Column
com.sptci.rwt.webui.model.TableTypeDataView
public class TableTypeDataView
A view Component for displaying
the data contained in a table.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private TableTypeMetaData |
metaData
The meta data object whose data is being displayed. |
private SortableRowTableModel |
model
The TableModel used to build the
Table in which the data is displayed. |
| Fields inherited from class nextapp.echo2.app.Column |
|---|
PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
TableTypeDataView(TableTypeMetaData metaData)
Create a new instance for the specified meta data. |
|
TableTypeDataView(TableTypeMetaData metaData,
SortableRowTableModel model)
Create a new instance for the specified meta data. |
|
| Method Summary | |
|---|---|
protected void |
createNavigation()
Create a TableNavigation for the specified
SortableRowTable if necessary. |
protected void |
createTitle()
Create a title for the component. |
protected void |
display()
Add the appropriate components to this view to display the data encapsulated in model. |
void |
init()
Builds the display. |
void |
setModel(SortableRowTableModel model)
Set the model for the table displayed in this view. |
| Methods inherited from class nextapp.echo2.app.Column |
|---|
getBorder, getCellSpacing, getInsets, setBorder, setCellSpacing, setInsets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final TableTypeMetaData metaData
private SortableRowTableModel model
TableModel used to build the
Table in which the data is displayed.
| Constructor Detail |
|---|
public TableTypeDataView(TableTypeMetaData metaData)
metaData - The metaData to use.
public TableTypeDataView(TableTypeMetaData metaData,
SortableRowTableModel model)
metaData - The metaData to use.| Method Detail |
|---|
public void init()
model has been
initialised.
init in class ComponentsetModel(com.sptci.rwt.webui.SortableRowTableModel),
display()protected void display()
model.
createTitle(),
createNavigation()protected void createTitle()
protected void createNavigation()
TableNavigation for the specified
SortableRowTable if necessary.
public void setModel(SortableRowTableModel model)
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||