issrg.utils.gui
Class FieldValue

java.lang.Object
  extended by issrg.utils.gui.FieldValue

public class FieldValue
extends java.lang.Object

This object is used to represent any value kept in an AC. It has a caption that is displayed in a tree, and a value, which is displayed in the Field Value text area.

It also has the index of the AC in the array, so it is possible to find out which AC the object belongs to.

Author:
Christian Azzopardi

Constructor Summary
protected FieldValue()
           
  FieldValue(int idx, java.lang.String caption, java.lang.String value)
           
 
Method Summary
 int getIndex()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldValue

protected FieldValue()

FieldValue

public FieldValue(int idx,
                  java.lang.String caption,
                  java.lang.String value)
Method Detail

getIndex

public int getIndex()

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object