|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines a user interface for a graph. Graphs often have user-definable settings, such as the period of a moving average graph. Since there are many types of graphs it makes sense standardising how the user-definable settings are handled and how the user interface is displayed to the user. Therefore each graph may have an associated user interface which lets the user modify the graph's settings.
Each implementation of this class is instantiated by the associated graph. Therefore this interface has no set constructor as the constructor can vary depending on the graph.
This user interface will be displayed by the GraphSettingsDialog.
AbstractGraph,
Graph,
GraphSettingsDialog,
GraphSource| Method Summary | |
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
java.lang.String |
checkSettings(java.util.HashMap settings)
Check previously set settings. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
java.util.HashMap |
getSettings()
Return the current settings displayed in the user interface. |
void |
setSettings(java.util.HashMap settings)
Display the given settings in the user interface. |
| Method Detail |
public java.util.HashMap getSettings()
public java.lang.String checkSettings()
null if the settings are validpublic java.lang.String checkSettings(java.util.HashMap settings)
settings - Previously saved settings
null if the settings are validpublic void setSettings(java.util.HashMap settings)
settings - the new settingspublic javax.swing.JPanel getPanel()
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||