public class JDataStorePage extends JPage
This page will allow the user to edit and modify the provided connectionParameters map - but will only show parameters that match the indicated "level". If level is null it assumed to be "user".
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
connectionParameters
Connection params for datastore
|
protected DataStoreFactorySpi |
format
Factory for which we are collection connection parameters
|
backPageIdentifier, DEFAULT, FINISH, NEXT, nextPageIdentifier, pageIdentifier
Constructor and Description |
---|
JDataStorePage(DataStoreFactorySpi format) |
JDataStorePage(DataStoreFactorySpi format,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setFormat(DataStoreFactorySpi format) |
void |
setLevel(String level) |
dispose, getBackPageIdentifier, getJWizard, getModel, getNextPageIdentifier, getPageIdentifier, getPanel, postDisplayPanel, setBackPageIdentifier, setNextPageIdentifier, setPageIdentifier
protected DataStoreFactorySpi format
public JDataStorePage(DataStoreFactorySpi format)
public JDataStorePage(DataStoreFactorySpi format, Map<String,Object> params)
public void setLevel(String level)
public void setFormat(DataStoreFactorySpi format)
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.
Copyright © 1996–2023 Geotools. All rights reserved.