Spreadsheet Toolkit

corpus.excel
Class Union

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

public class Union
extends AreaCellReference

Used to store the internal representation of a Union. 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
Union(AreaReference l, AreaReference r)
           
 
Method Summary
 java.util.Vector getCells()
          Returns a Vector of all cells that this AreaReference refers to.
 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

Union

public Union(AreaReference l,
             AreaReference r)
Method Detail

left

public AreaReference left()
Returns:
The left component of the union.

right

public AreaReference right()
Returns:
The right component of the union.

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

length

public int length()

setDepth

public void setDepth(int depth)

setExcelRef

public void setExcelRef(java.lang.String excelref)

Spreadsheet Toolkit

Project Home Page