|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.ui.config.DefaultConfigPage
public class DefaultConfigPage
A convinience implementation of the ConfigPage interface.
| Constructor Summary | |
|---|---|
DefaultConfigPage()
|
|
| Method Summary | |
|---|---|
void |
addSubPage(ConfigPage subPage)
|
void |
applyPage()
Applies the modifications made on this page. |
Parameter |
getConfigParam(String paramName)
|
ParamGroup |
getConfigParams()
|
PropertyMap |
getConfigParamValues(PropertyMap propertyMap)
|
Icon |
getIcon()
Returns an icon for the page which is displayed in the config dialog's tree view. |
String |
getKey()
Returns the key used to identify this page in a multiple page config dialog. |
Component |
getPageUI()
Returns the UI component which lets a user edit this page. |
ConfigPage[] |
getSubPages()
Returns an array of sub-pages this page has. |
String |
getTitle()
Returns the human readable tile of the page which is displayed in the config dialog's tree view and title bar. |
protected void |
initConfigParams(ParamGroup configParams)
|
protected void |
initPageUI()
|
boolean |
isConfigParamUIEnabled(String paramName)
|
boolean |
isModified()
Checks whether or not this page has been modified. |
void |
onOK()
Called when the config dialog is commited. |
void |
removeSubPage(ConfigPage subPage)
|
void |
restorePage()
Restores the modifications made on this page. |
void |
setConfigParamUIEnabled(String paramName,
boolean enabled)
|
void |
setConfigParamValues(PropertyMap propertyMap,
ParamExceptionHandler errorHandler)
|
void |
setIcon(Icon icon)
|
void |
setModified(boolean modified)
|
void |
setPageUI(Component pageUI)
|
void |
setTitle(String title)
|
void |
updatePageUI()
Called when the config dialog is set to visible. |
boolean |
verifyUserInput()
Verifies whether or not this page is valid or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultConfigPage()
| Method Detail |
|---|
protected void initConfigParams(ParamGroup configParams)
protected void initPageUI()
public ParamGroup getConfigParams()
getConfigParams in interface ConfigPagepublic PropertyMap getConfigParamValues(PropertyMap propertyMap)
getConfigParamValues in interface ConfigPage
public void setConfigParamValues(PropertyMap propertyMap,
ParamExceptionHandler errorHandler)
setConfigParamValues in interface ConfigPagepublic Parameter getConfigParam(String paramName)
public boolean isConfigParamUIEnabled(String paramName)
public void setConfigParamUIEnabled(String paramName,
boolean enabled)
public String getKey()
ConfigPage
getKey in interface ConfigPagenull and unique within the page.public Icon getIcon()
ConfigPage
getIcon in interface ConfigPagenull if no icon is usedpublic void setIcon(Icon icon)
public String getTitle()
ConfigPage
getTitle in interface ConfigPagenullpublic void setTitle(String title)
public boolean isModified()
ConfigPage
isModified in interface ConfigPagepublic void setModified(boolean modified)
public Component getPageUI()
ConfigPage
getPageUI in interface ConfigPagenullpublic void setPageUI(Component pageUI)
public void addSubPage(ConfigPage subPage)
public void removeSubPage(ConfigPage subPage)
public ConfigPage[] getSubPages()
ConfigPage
getSubPages in interface ConfigPagenull if no sub-pages are usedpublic void applyPage()
ConfigPage
applyPage in interface ConfigPagepublic void restorePage()
ConfigPage
restorePage in interface ConfigPagepublic void onOK()
ConfigPage
onOK in interface ConfigPagepublic void updatePageUI()
ConfigPage
updatePageUI in interface ConfigPagepublic boolean verifyUserInput()
ConfigPage
verifyUserInput in interface ConfigPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||