|
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.Grid
com.sptci.rwt.webui.SaveQueryComponent
public class SaveQueryComponent
A component that is used to display the components necessary to prompt the user for entering information to save a SQL statement.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private ComboBox |
category
The component used to display available categories. |
private MainController |
controller
The controller to use to interact with the rest of the application. |
private TextField |
name
The component used to enter the name for the query. |
| Fields inherited from class nextapp.echo2.app.Grid |
|---|
DEFAULT_SIZE, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PROPERTY_BORDER, PROPERTY_COLUMN_WIDTH, PROPERTY_HEIGHT, PROPERTY_INSETS, PROPERTY_ORIENTATION, PROPERTY_ROW_HEIGHT, PROPERTY_SIZE, PROPERTY_WIDTH |
| Constructor Summary | |
|---|---|
SaveQueryComponent(MainController controller)
Create a new instance with the specified controller. |
|
| Method Summary | |
|---|---|
protected void |
createCategory()
Initialise the category component with data from the Queries data object. |
protected void |
createName()
Initialise the name component and its associated Label. |
String |
getCategory()
Return the value entered/selected in category field. |
String |
getName()
Return the value entered in name field. |
void |
init()
Life-cycle method used to initialise the component. |
| Methods inherited from class nextapp.echo2.app.Grid |
|---|
getBorder, getColumnWidth, getHeight, getInsets, getOrientation, getRowHeight, getSize, getWidth, setBorder, setColumnWidth, setHeight, setInsets, setOrientation, setRowHeight, setSize, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ComboBox category
private TextField name
private final MainController controller
| Constructor Detail |
|---|
public SaveQueryComponent(MainController controller)
controller - The controller to use to interact with the
application.| Method Detail |
|---|
public void init()
init in class ComponentcreateCategory(),
createName()protected void createCategory()
category component with data from the Queries data object.
protected void createName()
name component and its associated Label.
public String getCategory()
category field.
public String getName()
name field.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||