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 anItemGrid.- Since:
- 2020-04-15
- Author:
- miki
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CellInformation(int row, int column, com.vaadin.flow.component.Component component)Constructs cell information for a padding cell.CellInformation(int row, int column, T value, com.vaadin.flow.component.Component component)Constructs cell information for a non-padding cell.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetColumn()com.vaadin.flow.component.ComponentgetComponent()intgetRow()TgetValue()inthashCode()booleanisValueCell()StringtoString()
-
-
-
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()
-
-