|
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.AbstractView
com.sptci.rwt.webui.model.PrimaryKeyView
public class PrimaryKeyView
A view component used to display the information contained in
PrimaryKeyMetaData.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private PrimaryKeyMetaData |
metaData
The meta data object whose details are to be displayed. |
| Fields inherited from class nextapp.echo2.app.Column |
|---|
PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
PrimaryKeyView(PrimaryKeyMetaData metaData)
Create a new instance of the view using the specified model object. |
|
| Method Summary | |
|---|---|
protected Component |
createDetails()
Create the component used to display the default limits enforced by the database engine. |
protected void |
createLabels(String name,
MetaData metaData,
Component component)
Create standard Label components that
represent the name of the specified field and the value in the
specified model. |
void |
init()
Lifecycle method used to initialise component when added to a container hierarchy. |
| Methods inherited from class com.sptci.rwt.webui.model.AbstractView |
|---|
processFatalException |
| 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 PrimaryKeyMetaData metaData
| Constructor Detail |
|---|
public PrimaryKeyView(PrimaryKeyMetaData metaData)
metaData - The metaData model object to use.| Method Detail |
|---|
public void init()
init in class ComponentcreateDetails()protected Component createDetails()
createLabels(java.lang.String, com.sptci.rwt.MetaData, nextapp.echo2.app.Component)
protected void createLabels(String name,
MetaData metaData,
Component component)
Label components that
represent the name of the specified field and the value in the
specified model. Over-ridden to process the
java.util.Collection}<ColumnMetaData> and create a
multi-dimensional grid.
createLabels in class AbstractViewname - The name of the field.metaData - The model object.component - The container component to which the labels are to
be added.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||