Class CWmonitoredElements
java.lang.Object
|
+--CWmonitoredElements
- public class CWmonitoredElements
- extends java.lang.Object
The purpose of this class is to maintain a list of all
information that can be displayed as output. The information
can be retrieved from a variety of classes. If a class can
supply information for monitoring, it must implement the
CWmonitorable interface, meaning that it implements
- String name; // A name
- String[] fields; // An array of names of elements.
- double getValue(TMYdata tmystuff, int month, int day, int hour, int fieldnum)
The class also manages a set of List objects that are used to
select monitored information. As monitored elements are added,
a string representing that object is added to each registered List.
Field Summary |
static java.util.Vector |
lists
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
lists
public static java.util.Vector lists
CWmonitoredElements
public CWmonitoredElements()
addElements
public static void addElements(CWmonitorable obj)
- Register all of the monitorable elements for a given class.
addElement
public static void addElement(CWmonitorable obj,
int fi)
- Add a monitorable element to the list.
addList
public static void addList(java.awt.List li)
size
public static int size()
objectAt
public static CWmonitorable objectAt(int i)
indexAt
public static int indexAt(int i)