|
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.SchemaView
public class SchemaView
A view component used to display the information contained in
SchemaMetaData.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private SchemaMetaData |
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 | |
|---|---|
SchemaView(SchemaMetaData 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 SchemaMetaData metaData
| Constructor Detail |
|---|
public SchemaView(SchemaMetaData 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 invoke the Collection.size() method instead of just the accessor in
the model.
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 | |||||||||