|
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.SaveConnectionComponent
public class SaveConnectionComponent
A component that is used to display the components necessary to prompt the user for entering information to save a JDBC connection.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
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 connection. |
| 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 | |
|---|---|
SaveConnectionComponent(MainController controller)
Create a new instance with the specified controller. |
|
| Method Summary | |
|---|---|
protected void |
createName()
Initialise the name component and its associated Label. |
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 TextField name
private final MainController controller
| Constructor Detail |
|---|
public SaveConnectionComponent(MainController controller)
controller - The controller to use to interact with the
application.| Method Detail |
|---|
public void init()
init in class ComponentcreateName()protected void createName()
name component and its associated Label.
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 | |||||||||