Spreadsheet Toolkit

corpus.excel
Class RowRange

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

public class RowRange
extends VectorReference

Used to store the internal representation of a Row Range. That is, two Cells seperated by a colin.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class corpus.excel.VectorReference
excelref
 
Fields inherited from class corpus.excel.FormulaComponent
formula
 
Fields inherited from class corpus.excel.Component
haltOnErrors
 
Constructor Summary
RowRange(Row l, Row r)
           
 
Method Summary
 java.util.Vector getCells()
          Returns a Vector of all cells that this AreaReference refers to.
 int length()
          The length of excels reference
 javax.swing.tree.DefaultMutableTreeNode parseTree()
          Creates a parseTree for this FormulaComponent and any of its sub components.
 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.VectorReference
setExcelRef
 
Methods inherited from class corpus.excel.FormulaComponent
getReferingFormula
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowRange

public RowRange(Row l,
                Row r)
Method Detail

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: VectorReference
To String

Specified by:
toString in class VectorReference

toHTMLString

public java.lang.String toHTMLString()
Description copied from class: VectorReference
Converts information about this component into an HTML formatted String.

Specified by:
toHTMLString in class VectorReference

length

public int length()
Description copied from class: VectorReference
The length of excels reference

Specified by:
length in class VectorReference

parseTree

public javax.swing.tree.DefaultMutableTreeNode parseTree()
Creates a parseTree for this FormulaComponent and any of its sub components.

Overrides:
parseTree in class FormulaComponent
Returns:
A DefaultMutableTreeNode representing this FormulaComponent and any sub components it may have.

Spreadsheet Toolkit

Project Home Page