spreadsheet
Class Node

java.lang.Object
  |
  +--spreadsheet.Node

public class Node
extends java.lang.Object


Constructor Summary
Node(Cell cell, java.lang.String value)
           
Node(Cell cell, java.lang.String value, int level)
          Constructs a Node
 
Method Summary
 void addReference(Cell cell)
           
 Cell getCell()
           
 Expression getExpression()
           
 int getLevel()
           
 float getNumericValue()
           
 boolean getRecalculation()
           
 java.util.Enumeration getReferences()
           
 java.lang.String getValue()
           
 boolean higherLevel(Node n)
           
 boolean isSame(Node n)
           
 void removeReference(Cell cell)
           
 boolean sameLevel(Node n)
           
 void setCell(Cell cell)
           
 void setExpression(Expression expr)
           
 void setLevel(int level)
           
 void setNumericValue(float value)
           
 void setRecalculation(boolean b)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(Cell cell,
            java.lang.String value,
            int level)
Constructs a Node

Node

public Node(Cell cell,
            java.lang.String value)
Method Detail

getCell

public Cell getCell()

setCell

public void setCell(Cell cell)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getNumericValue

public float getNumericValue()

setNumericValue

public void setNumericValue(float value)

getExpression

public Expression getExpression()

setExpression

public void setExpression(Expression expr)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getRecalculation

public boolean getRecalculation()

setRecalculation

public void setRecalculation(boolean b)

addReference

public void addReference(Cell cell)

removeReference

public void removeReference(Cell cell)

getReferences

public java.util.Enumeration getReferences()

isSame

public boolean isSame(Node n)

sameLevel

public boolean sameLevel(Node n)

higherLevel

public boolean higherLevel(Node n)

toString

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