Class HeaderRow.HeaderCell
java.lang.Object
io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell
io.jmix.groupgridflowui.kit.vaadin.grid.HeaderRow.HeaderCell
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HeaderRow
public static class HeaderRow.HeaderCell
extends io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell
A header cell in a Grid.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentGets the component content of this cell.Gets the custom part name of the cell.getText()Gets the text content of this cell.voidsetComponent(com.vaadin.flow.component.Component component) Sets the component as the content of this cell.voidsetPartName(String partName) Sets a custom part name for the cell.voidSets the text content of this cell.Methods inherited from class io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell
getColumn, setColumn
-
Method Details
-
getText
Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellGets the text content of this cell.- Specified by:
getTextin classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Returns:
- text content of the cell
-
setText
Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellSets the text content of this cell.This will remove a component set with
AbstractRow.AbstractCell.setComponent(Component).- Specified by:
setTextin classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Parameters:
text- the text to be shown in this cell
-
getComponent
public com.vaadin.flow.component.Component getComponent()Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellGets the component content of this cell.- Specified by:
getComponentin classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Returns:
- component content of the cell
-
setComponent
public void setComponent(com.vaadin.flow.component.Component component) Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellSets the component as the content of this cell.This will remove text set with
AbstractRow.AbstractCell.setText(String).- Specified by:
setComponentin classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Parameters:
component- the component to set
-
setPartName
Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellSets a custom part name for the cell.- Specified by:
setPartNamein classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Parameters:
partName- the part name to set
-
getPartName
Description copied from class:io.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCellGets the custom part name of the cell.- Specified by:
getPartNamein classio.jmix.groupgridflowui.kit.vaadin.grid.AbstractRow.AbstractCell- Returns:
- the part name
-