Class CellRef

java.lang.Object
org.jxls.common.CellRef
All Implemented Interfaces:
Comparable<CellRef>

public class CellRef extends Object implements Comparable<CellRef>
Represents cell reference
Author:
Leonid Vysochyn
  • Constructor Details

    • CellRef

      public CellRef(String sheetName, int row, int col)
    • CellRef

      public CellRef(int row, int col)
    • CellRef

      public CellRef(CellRef ref)
      Copy constructor
      Parameters:
      ref - -
    • CellRef

      public CellRef(String cellRef)
  • Method Details

    • getCellName

      public String getCellName()
    • getFormattedSheetName

      public String getFormattedSheetName()
    • getSheetName

      public String getSheetName()
    • setSheetName

      public CellRef setSheetName(String sheetName)
    • isIgnoreSheetNameInFormat

      public boolean isIgnoreSheetNameInFormat()
    • setIgnoreSheetNameInFormat

      public CellRef setIgnoreSheetNameInFormat(boolean ignoreSheetNameInFormat)
    • getCol

      public int getCol()
    • setCol

      public CellRef setCol(int col)
    • getRow

      public int getRow()
    • setRow

      public CellRef setRow(int row)
    • isColAbs

      public boolean isColAbs()
    • setIsColAbs

      public CellRef setIsColAbs(boolean isColAbs)
    • isRowAbs

      public boolean isRowAbs()
    • setIsRowAbs

      public CellRef setIsRowAbs(boolean isRowAbs)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString(boolean ignoreSheetName)
    • isValid

      public boolean isValid()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(CellRef that)
      Specified by:
      compareTo in interface Comparable<CellRef>