Spreadsheet Toolkit

corpus.excel
Class Intersection

java.lang.Object
  |
  +--corpus.excel.Component
        |
        +--corpus.excel.FormulaComponent
              |
              +--corpus.excel.AreaReference
                    |
                    +--corpus.excel.AreaCellReference
                          |
                          +--corpus.excel.Intersection
All Implemented Interfaces:
java.io.Serializable

public class Intersection
extends AreaCellReference

Used to store the internal representation of a Intersection. That is, two Ranges seperated by a comma.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class corpus.excel.FormulaComponent
formula
 
Fields inherited from class corpus.excel.Component
haltOnErrors
 
Constructor Summary
Intersection(AreaReference l, AreaReference r)
           
 
Method Summary
 java.util.Vector getCells()
          Returns a Vector of all cells that this AreaReference refers to.
 Range getRange()
           
 AreaReference left()
           
 int length()
           
 AreaReference right()
           
 void setDepth(int depth)
           
 void setExcelRef(java.lang.String excelref)
           
 java.lang.String toHTMLString()
          Converts information about this component into an HTML formatted String.
 java.lang.String toString()
          To String
 
Methods inherited from class corpus.excel.FormulaComponent
getReferingFormula, parseTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Intersection

public Intersection(AreaReference l,
                    AreaReference r)
Method Detail

left

public AreaReference left()

right

public AreaReference right()

getCells

public java.util.Vector getCells()
Description copied from class: AreaReference
Returns a Vector of all cells that this AreaReference refers to.

Specified by:
getCells in class AreaReference

toString

public java.lang.String toString()
Description copied from class: AreaCellReference
To String

Specified by:
toString in class AreaCellReference

toHTMLString

public java.lang.String toHTMLString()
Converts information about this component into an HTML formatted String.

Specified by:
toHTMLString in class AreaCellReference

setDepth

public void setDepth(int depth)

setExcelRef

public void setExcelRef(java.lang.String excelref)

length

public int length()

getRange

public Range getRange()
Returns:
the equivalent range to this intersection.

Spreadsheet Toolkit

Project Home Page