org.excel4j.object
Class XLReference

java.lang.Object
  extended by org.excel4j.XLObject
      extended by org.excel4j.object.XLReference

public class XLReference
extends XLObject

A reference to a cell or range.


Field Summary
 
Fields inherited from class org.excel4j.XLObject
handle, xltype
 
Method Summary
 XLArray asArray()
          Extract an array from the object.
 int colFirst()
          Get the first col id.
 int colLast()
          Get the last col id.
 int rowFirst()
          Get the first row id.
 int rowLast()
          Get the last row id.
 long sheetId()
          Get the sheet id.
 
Methods inherited from class org.excel4j.XLObject
asBoolean, asError, asInteger, asNumber, asString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sheetId

public long sheetId()
Get the sheet id.

Returns:
long.

rowFirst

public int rowFirst()
Get the first row id.

Returns:
int.

rowLast

public int rowLast()
Get the last row id.

Returns:
int.

colFirst

public int colFirst()
Get the first col id.

Returns:
int.

colLast

public int colLast()
Get the last col id.

Returns:
int.

asArray

public XLArray asArray()
Description copied from class: XLObject
Extract an array from the object.

Overrides:
asArray in class XLObject
Returns:
XLArray.