Logo Search packages:      
Sourcecode: wims version File versions  Download package

void SharpTools::Cell::addRef ( CellPoint  reference  )  [inline]

This method adds a cell to the dependency list.

Parameters:
reference a new cell that references this one that needs to be added to the reference list

Definition at line 206 of file Cell.java.

References refs.

Referenced by SharpTools::SharpTableModel::addRefs().

                                            {
      //    System.out.println("add ref "+reference+" to ("+this);
        if (refs == null) {// check if refs is initiated
            refs = new TreeSet();
        }
        refs.add(reference);   
    }


Generated by  Doxygen 1.6.0   Back to index