gov.lanl.GUITools
Class GUIData

java.lang.Object
  |
  +--gov.lanl.GUITools.GUIData

public class GUIData
extends java.lang.Object

Acquires and holds the data for a GUI built from xml

 

Constructor Summary
GUIData(java.lang.String fileName)
          Read the xmlfile, process the w3c DOM document, and put the items into an Infolist and the namepairs into a Hashtable.
 
Method Summary
 gov.lanl.Utility.InfoList getInfoList()
          Provide access the the InfoList for this GUIData
 java.util.Hashtable getNamePairs()
          Provide access to the name pairs in the hash table
 java.lang.String getPairValueForName(java.lang.String name)
          Get the corresponding value for the name from the name pairs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIData

public GUIData(java.lang.String fileName)
Read the xmlfile, process the w3c DOM document, and put the items into an Infolist and the namepairs into a Hashtable.

Parameters:
fileName - is the xml file to read
Method Detail

getInfoList

public gov.lanl.Utility.InfoList getInfoList()
Provide access the the InfoList for this GUIData

Returns:
the InfoList for this object

getNamePairs

public java.util.Hashtable getNamePairs()
Provide access to the name pairs in the hash table

Returns:
the namePairs hash table

getPairValueForName

public java.lang.String getPairValueForName(java.lang.String name)
Get the corresponding value for the name from the name pairs

Parameters:
name - is the name to look up in the name pairs