Class CellInformation<T>

java.lang.Object
org.vaadin.miki.superfields.itemgrid.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:
  • Constructor Details

    • 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 Details

    • getRow

      public int getRow()
    • getColumn

      public int getColumn()
    • getValue

      public T getValue()
    • getComponent

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

      public boolean isValueCell()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object