Class TreeGridComponentWrapper<ROW>
- java.lang.Object
-
- org.linkki.core.ui.wrapper.VaadinComponentWrapper
-
- org.linkki.core.ui.creation.table.AbstractGridComponentWrapper<ROW>
-
- org.linkki.core.ui.creation.table.TreeGridComponentWrapper<ROW>
-
- Type Parameters:
ROW- a class annotated with linkki annotations used as PMO for a row in the table
- All Implemented Interfaces:
Serializable,ComponentWrapper,ColumnBasedComponentWrapper<ROW>
public class TreeGridComponentWrapper<ROW> extends AbstractGridComponentWrapper<ROW>
Wraps a vaadinGrid.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.linkki.core.defaults.columnbased.ColumnBasedComponentWrapper
COLUMN_BASED_TYPE
-
-
Constructor Summary
Constructors Constructor Description TreeGridComponentWrapper(com.vaadin.flow.component.treegrid.TreeGrid<ROW> grid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.treegrid.TreeGrid<ROW>getComponent()voidsetItems(List<ROW> rootItems)Sets the items displayed in theGridby updating the items in the data provider if the given items are not the ones currently displayed.-
Methods inherited from class org.linkki.core.ui.creation.table.AbstractGridComponentWrapper
setLabel, setPageLength, updateFooter
-
Methods inherited from class org.linkki.core.ui.wrapper.VaadinComponentWrapper
getType, registerBinding, setEnabled, setId, setTooltip, setValidationMessages, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linkki.core.defaults.columnbased.ColumnBasedComponentWrapper
getType
-
Methods inherited from interface org.linkki.core.binding.wrapper.ComponentWrapper
postUpdate, registerBinding, setEnabled, setId, setTooltip, setValidationMessages, setVisible
-
-
-
-
Constructor Detail
-
TreeGridComponentWrapper
public TreeGridComponentWrapper(com.vaadin.flow.component.treegrid.TreeGrid<ROW> grid)
-
-
Method Detail
-
getComponent
public com.vaadin.flow.component.treegrid.TreeGrid<ROW> getComponent()
- Specified by:
getComponentin interfaceComponentWrapper- Overrides:
getComponentin classAbstractGridComponentWrapper<ROW>
-
-