com.f1j.ss
Class CellRef

java.lang.Object
  |
  +--com.actuate.util.Debug
        |
        +--com.f1j.util.Debug
              |
              +--com.f1j.util.ObjConst
                    |
                    +--com.f1j.util.Obj
                          |
                          +--com.f1j.ss.CellRef

public class CellRef
extends com.f1j.util.Obj

This class provides the number of the active row and the active column in the worksheet.


Method Summary
 int getCol()
          Returns the active column in the worksheet.
 int getPane()
          Returns the active pane in the worksheet.
 int getRow()
          Returns the active row in the worksheet.
 

Method Detail

getCol

public int getCol()
Returns the active column in the worksheet.
Returns:
the number identifying the column.
See Also:
getRow()

getPane

public int getPane()

Returns the active pane in the worksheet.

If the worksheet view is not split, the active pane is always 3:

  3  

If the view is split horizontally, the lower pane is 2:

  3  

  2  

If the view is split vertically, the right pane is 1:

 3   1 

If the view is split both ways, the lower-right pane is 0:

 3 

 1 

 2   0 
Returns:
the number identifying the pane.

getRow

public int getRow()
Returns the active row in the worksheet.
Returns:
the number identifying the row.
See Also:
getCol()