Class CellInformation<T>

  • Type Parameters:
    T - Type of data associated with the cell.
    All Implemented Interfaces:
    Serializable

    public class CellInformation<T>
    extends Object
    implements Serializable
    Information about a cell in an ItemGrid.
    Since:
    2020-04-15
    Author:
    miki
    See Also:
    Serialized Form
    • Constructor Detail

      • CellInformation

        public CellInformation​(int row,
                               int column,
                               T value,
                               com.vaadin.flow.component.Component component)
        Constructs cell information for a non-padding cell.
        Parameters:
        row - Row number.
        column - Column number.
        value - Value in the cell.
        component - Component in the cell.
      • CellInformation

        public CellInformation​(int row,
                               int column,
                               com.vaadin.flow.component.Component component)
        Constructs cell information for a padding cell.
        Parameters:
        row - Row number.
        column - Column number.
        component - Component in the cell.
    • Method Detail

      • getRow

        public int getRow()
      • getColumn

        public int getColumn()
      • getValue

        public T getValue()
      • getComponent

        public com.vaadin.flow.component.Component getComponent()
      • isValueCell

        public boolean isValueCell()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object