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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Intersection
public Intersection(AreaReference l,
AreaReference r)
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.
Project Home Page