|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI.Run.GEVAGraphPaneConfig
public class GEVAGraphPaneConfig
Store all configuration details by name. Graphs that want to use these configuration details must specify it by this name. Currently (2008y08M21d) only one name is used, 'GEVA'. I figured someday, someone might add another graph pane for more output, and reuse this class to configure how its data is displayed, and could do so by adding more names
Nested Class Summary | |
---|---|
static class |
GEVAGraphPaneConfig.Categories
|
Method Summary | |
---|---|
static void |
addCategory(java.lang.String name,
GEVAGraphPaneCategory category)
Add a new category to the named configuration. |
static GEVAGraphPaneConfig.Categories |
getCategories(java.lang.String name)
Get all the categories that were added to the named configuration in a list |
static GEVAGraphPaneCategory |
getCategoryWithItem(java.lang.String name,
java.lang.String itemName)
Get the first category in a named configuration that contains the named item |
static GEVAGraphPaneItem |
getItem(java.lang.String name,
java.lang.String itemName)
Get the named item in the named configuration. |
static GEVAGraphPaneItem |
getItem(java.lang.String name,
java.lang.String categoryName,
java.lang.String itemName)
Get the named item in the named configuration. |
static void |
reset()
When the system resets, the graph configuration also needs to be reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void reset()
public static void addCategory(java.lang.String name, GEVAGraphPaneCategory category)
name
- An identifier for the configuration this category will belong
tocategory
- The category to addpublic static GEVAGraphPaneConfig.Categories getCategories(java.lang.String name)
name
- An identifier for the configuration this category will belong
to
public static GEVAGraphPaneCategory getCategoryWithItem(java.lang.String name, java.lang.String itemName)
name
- An identifier for the configuration this category will belong
toitemName
- The identifier name of the graph item
public static GEVAGraphPaneItem getItem(java.lang.String name, java.lang.String itemName)
name
- An identifier for the configuration this category will belong
toitemName
- The identifier name of the graph item
public static GEVAGraphPaneItem getItem(java.lang.String name, java.lang.String categoryName, java.lang.String itemName)
name
- An identifier for the configuration this category will belong
tocategoryName
- The category to search first. If the named item is
not found in this category, all other categories are searcheditemName
- The identifier name of the graph item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |