Package org.geotools.swing.data
Class JDataChoosePage
-
public class JDataChoosePage extends JPage
A wizard page that will allow the user to choose a format (ie DataAccess factory).
-
-
Field Summary
Fields Modifier and Type Field Description protected DataStoreFactorySpiformatFactory for which we are collection connection parameters-
Fields inherited from class JPage
backPageIdentifier, DEFAULT, FINISH, NEXT, nextPageIdentifier, pageIdentifier
-
-
Constructor Summary
Constructors Constructor Description JDataChoosePage()JDataChoosePage(DataStoreFactorySpi format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JPanelcreatePanel()Called to initialize the page for the first time.booleanisValid()Validation of page state; if the page isValid then the next or finish button will be enabled.voidpreClosePanel()Override this method to perform functionality just before the panel is to be hidden.voidpreDisplayPanel()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
-
-
-
-
Field Detail
-
format
protected DataStoreFactorySpi format
Factory for which we are collection connection parameters
-
-
Constructor Detail
-
JDataChoosePage
public JDataChoosePage()
-
JDataChoosePage
public JDataChoosePage(DataStoreFactorySpi format)
-
-
Method Detail
-
createPanel
public JPanel createPanel()
Description copied from class:JPageCalled to initialize the page for the first time.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.
- Overrides:
createPanelin classJPage
-
preDisplayPanel
public void preDisplayPanel()
Description copied from class:JPageCalled just before the panel is to be displayed.This is a good time to populate your fields with values; hook up any listeners and gernally muck about.
- Overrides:
preDisplayPanelin classJPage
-
preClosePanel
public void preClosePanel()
Description copied from class:JPageOverride this method to perform functionality just before the panel is to be hidden.- Overrides:
preClosePanelin classJPage
-
isValid
public boolean isValid()
Description copied from class:JPageValidation of page state; if the page isValid then the next or finish button will be enabled.If you need to call setNextPageIdentifier based on input this is the time to do it.
-
-