torero.gui
Class AttributeCellData

java.lang.Object
  |
  +--torero.gui.AttributeCellData

public class AttributeCellData
extends Object

Helper Object used by GrammarNode. It encapsulates an Attribute and some information for this attriute, stating if there is an assignment that has this attribute as its destination attribute. It is used for rendering f(x) symbols of the nodes.

See Also:
AttributeCellRenderer, GrammarNode

Field Summary
 Attribute attrib
          The contained attribute.
 int stateinfo
          Status information, one of these values is allowed: AttriubteAssignment.NO_ASSIGNMENT (default), INVALID_ASSIGNMENT, VALID_ASSIGNMENT.
 
Constructor Summary
AttributeCellData(Attribute attrib, int stateinfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attrib

public Attribute attrib
The contained attribute.

stateinfo

public int stateinfo
Status information, one of these values is allowed: AttriubteAssignment.NO_ASSIGNMENT (default), INVALID_ASSIGNMENT, VALID_ASSIGNMENT.
Constructor Detail

AttributeCellData

public AttributeCellData(Attribute attrib,
                         int stateinfo)