Class CompositeCell

  • All Implemented Interfaces:
    ICell

    public class CompositeCell
    extends Object
    implements ICell
    • Constructor Detail

      • CompositeCell

        public CompositeCell​(int column,
                             int row,
                             IGridRegion region,
                             ICell delegate,
                             IGridTable gridTable)
        parameters column and row are different from inner column and row in cell delegate.
    • Method Detail

      • getAbsoluteColumn

        public int getAbsoluteColumn()
        Specified by:
        getAbsoluteColumn in interface ICell
        Returns:
        Absolute column index inside the sheet.
      • getAbsoluteRow

        public int getAbsoluteRow()
        Specified by:
        getAbsoluteRow in interface ICell
        Returns:
        Absolute row index inside the sheet.
      • getColumn

        public int getColumn()
        Specified by:
        getColumn in interface ICell
      • getRow

        public int getRow()
        Specified by:
        getRow in interface ICell
      • getRegion

        public IGridRegion getRegion()
        Specified by:
        getRegion in interface ICell
        Returns:
        grid region, if cell belongs to any merged region. In other cases null.
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface ICell
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface ICell
      • getType

        public int getType()
        Description copied from interface: ICell
        Returns one of IGrid.CELL_TYPE_* values.
        Specified by:
        getType in interface ICell
      • getNativeBoolean

        public boolean getNativeBoolean()
        Specified by:
        getNativeBoolean in interface ICell
      • getNativeNumber

        public double getNativeNumber()
        Specified by:
        getNativeNumber in interface ICell
      • getNativeType

        public int getNativeType()
        Specified by:
        getNativeType in interface ICell
        Returns:
        IGrid.CELL_TYPE... constant, in case of CELL_TYPE_FORMULA returns cached value type
      • hasNativeType

        public boolean hasNativeType()
        Specified by:
        hasNativeType in interface ICell
        Returns:
        true if the cell has ability to provide fast access to the native value(cached) If cell has not such an ability, the native methods should not be used