Class CellData

    • Constructor Detail

      • CellData

        public CellData()
        Constructor: fast initialization
      • CellData

        public CellData​(T value)
        Constructor: fast initialization
        Type Parameters:
        T - Cell value type
        Parameters:
        value - Date value
      • CellData

        public CellData​(Integer value)
        Constructor: for C JNI calls
        Parameters:
        value - Integer value
      • CellData

        public CellData​(Float value)
        Constructor: for C JNI calls
        Parameters:
        value - Float value
      • CellData

        public CellData​(Date value)
        Constructor: for C JNI calls
        Parameters:
        value - Date value
      • CellData

        public CellData​(String value)
        Constructor: for C JNI calls
        Parameters:
        value - String value
    • Method Detail

      • getStringValue

        public String getStringValue()
        Retrieve the string value
        Returns:
        CellData value as String
      • getDoubleValue

        public Double getDoubleValue()
        Returns the value casted as double
        Returns:
        CellData value as Object
      • getIntegerValue

        public Integer getIntegerValue()
        Returns the value casted as integer
        Returns:
        CellData value as Integer
      • getDateValue

        public Date getDateValue()
        Returns the value casted as date
        Returns:
        CellData value as Date
      • setNull

        public CellData setNull()
        Stores a null value
        Returns:
        this
      • isEmpty

        public boolean isEmpty()
        Request if cell is printable
        Returns:
        the printable
      • compareTo

        public int compareTo​(CellData cell2)
        Compare to another cell to see which one is higher
        Specified by:
        compareTo in interface Comparable<CellData>
        Parameters:
        cell2 - Cell to compare to
        Returns:
        Comparison
      • getValue

        public Object getValue()
        Returns the object value
        Returns:
        Total pages
      • setValue

        public CellData setValue​(Object value)
        Stores an object value
        Parameters:
        value - Object value
        Returns:
        this
      • copy

        public CellData copy()
        Description copied from interface: Copyable
        Get a copy of this element
        Specified by:
        copy in interface Copyable
        Returns:
        element copy