|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Generically represents an object that can be configured by
the MetamorphoSysGUI.
| Method Summary | |
void |
addDataChangeListener(DataChangeListener dcl)
Adds a DataChangeListener that responds to configuration changes. |
Color |
getColor()
Returns the Color that should be used to display
the name. |
GUIConfigurable |
getGUIConfigurableForValidationFailure()
Returns the GUIConfigurable whose tab should next be displayed
to allow the user to correct an error or warning. |
JPanel |
getHelpPanel()
Returns a JPanel that will be displayed when the
user selects the corresponding menu item from the Help menu
and will provide the user with detailed instructions on the tab's use. |
String |
getName()
Returns the name. |
JPanel |
getPanel()
Returns a JPanel containing configuration options. |
String |
getTabDescription()
Returns the description to be used in conjunction with the panel when presented to the user. |
String[] |
getValidationErrors()
Returns the messages indicating why validation failed. |
String[] |
getValidationWarnings()
Returns warnings that were indicated during validation. |
boolean |
hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options. |
boolean |
hasDataChanged()
Indicates whether or not the configuration information has changed. |
void |
removeDataChangeListener(DataChangeListener dcl)
Removes the specified DataChangeListener. |
void |
resetDataChanged()
Sets the data changed flag to false. |
void |
setDataChanged(boolean b)
Sets the value of the data changed flag. |
void |
setPanelSelections()
Updates the view to reflect the data model. |
void |
showOptions()
Presents an advanced options GUI to the user. |
boolean |
validate()
Indicates whether or not the validation rules have passed. |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
getConfigurationDetails, getProperties, resetToDefaults, setConfiguration, setConfiguration, setProperties |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public JPanel getPanel()
JPanel containing configuration options.
JPanel containing configuration optionspublic boolean hasDataChanged()
true if data has changed;
false otherwisepublic void setDataChanged(boolean b)
b - the boolean value for the data changed flagpublic void resetDataChanged()
false.
public void addDataChangeListener(DataChangeListener dcl)
DataChangeListener that responds to configuration changes.
Allows main GUI to record all changes to
this gui in the undo/redo mechanism.
dcl - the DataChangeListener to addpublic void removeDataChangeListener(DataChangeListener dcl)
DataChangeListener.
dcl - the DataChangeListener to removepublic Color getColor()
Color that should be used to display
the name.
Color that should be used to display the name.public String getName()
public String getTabDescription()
public void showOptions()
public boolean hasAdvancedOptions()
true if so; false otherwisepublic JPanel getHelpPanel()
JPanel that will be displayed when the
user selects the corresponding menu item from the Help menu
and will provide the user with detailed instructions on the tab's use.
JPanel to be used when showing user helppublic void setPanelSelections()
public boolean validate()
booleantrue if so;
false otherwisepublic String[] getValidationErrors()
validate() returns false.
public String[] getValidationWarnings()
public GUIConfigurable getGUIConfigurableForValidationFailure()
GUIConfigurable whose tab should next be displayed
to allow the user to correct an error or warning.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||