|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectJPage
JDataChoosePage
public class JDataChoosePage
A wizard page that will allow the user to choose a format (ie DataAccess factory).
modules/unsupported/swing (gt-swing.jar)
Field Summary | |
---|---|
protected DataStoreFactorySpi |
format
Factory for which we are collection connection parameters |
Fields inherited from class JPage |
---|
backPageIdentifier, DEFAULT, FINISH, NEXT, nextPageIdentifier, pageIdentifier |
Constructor Summary | |
---|---|
JDataChoosePage()
|
|
JDataChoosePage(DataStoreFactorySpi format)
|
Method Summary | |
---|---|
JPanel |
createPanel()
Called to initialize the page for the first time. |
boolean |
isValid()
Validation of page state; if the page isValid then the next or finish button will be enabled. |
void |
preClosePanel()
Override this method to perform functionality just before the panel is to be hidden. |
void |
preDisplayPanel()
Called just before the panel is to be displayed. |
Methods inherited from class JPage |
---|
dispose, getBackPageIdentifier, getJWizard, getModel, getNextPageIdentifier, getPageIdentifier, getPanel, postDisplayPanel, setBackPageIdentifier, setNextPageIdentifier, setPageIdentifier |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DataStoreFactorySpi format
Constructor Detail |
---|
public JDataChoosePage()
public JDataChoosePage(DataStoreFactorySpi format)
Method Detail |
---|
public JPanel createPanel()
JPage
Please note this method will normally only be called once; even if the user clicks forwards and backwards to return to your page. It is only called if getPanel() returns null.
Calling this method directly will erase any previously constructed panel.
createPanel
in class JPage
public void preDisplayPanel()
JPage
This is a good time to populate your fields with values; hook up any listeners and gernally muck about.
preDisplayPanel
in class JPage
public void preClosePanel()
JPage
preClosePanel
in class JPage
public boolean isValid()
JPage
If you need to call setNextPageIdentifier based on input this is the time to do it.
isValid
in class JPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |