|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.chart.graph.PeriodGraphUI
public class PeriodGraphUI
A generic graph user interface that queries the user for a period. Since many of the graphs have only a single setting, the period, it makes sense for them to share a user interface.
| Constructor Summary | |
|---|---|
PeriodGraphUI(java.util.HashMap settings)
Create a new moving period user interface with the initial settings. |
|
| Method Summary | |
|---|---|
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
static int |
getPeriod(java.util.HashMap settings)
Retrieve the period from the settings hashmap. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PeriodGraphUI(java.util.HashMap settings)
settings - the initial settings| Method Detail |
|---|
public java.lang.String checkSettings()
GraphUI
checkSettings in interface GraphUInull if the settings are validpublic java.util.HashMap getSettings()
GraphUI
getSettings in interface GraphUIpublic void setSettings(java.util.HashMap settings)
GraphUI
setSettings in interface GraphUIsettings - the new settingspublic javax.swing.JPanel getPanel()
GraphUI
getPanel in interface GraphUIpublic static int getPeriod(java.util.HashMap settings)
settings - the settings
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||