exe
Class GAIGSItem

java.lang.Object
  extended by exe.GAIGSItem

public class GAIGSItem
extends java.lang.Object

GAIGSItem is used by a number of GAIGS XML Support classes to store an item and its associated display color.

Known clients are GAIGSarray, GAIGSlist, GAIGSqueue, and GAIGSstack.

Version:
5/28/06
Author:
Myles McNally

Constructor Summary
GAIGSItem(java.lang.Object v, java.lang.String c)
          Create a GAIGSItem
 
Method Summary
 java.lang.String getColor()
          Get the display color of this item
 java.lang.Object getValue()
          Get the value of this item
 void setColor(java.lang.String c)
          Set the display color of this item
 void setValue(java.lang.Object v)
          Set the value of this item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAIGSItem

public GAIGSItem(java.lang.Object v,
                 java.lang.String c)
Create a GAIGSItem

Parameters:
v - The value.
c - The color.
Method Detail

getValue

public java.lang.Object getValue()
Get the value of this item

Returns:
The value of this item

setValue

public void setValue(java.lang.Object v)
Set the value of this item

Parameters:
v - The value of this item

getColor

public java.lang.String getColor()
Get the display color of this item

Returns:
The color of this item

setColor

public void setColor(java.lang.String c)
Set the display color of this item

Parameters:
v - The color of this item