Package com.vaadin.shared.ui.treegrid
Interface NodeCollapseRpc
-
- All Superinterfaces:
Serializable,ServerRpc
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NodeCollapseRpc extends ServerRpc
RPC to handle client originated collapse and expand actions on hierarchical rows in TreeGrid.- Since:
- 8.1
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetNodeCollapsed(String rowKey, int rowIndex, boolean collapse, boolean userOriginated)Sets the collapse state of a hierarchical row in TreeGrid.
-
-
-
Method Detail
-
setNodeCollapsed
void setNodeCollapsed(String rowKey, int rowIndex, boolean collapse, boolean userOriginated)
Sets the collapse state of a hierarchical row in TreeGrid.- Parameters:
rowKey- the row's keyrowIndex- index where the row is in grid (all rows)collapse-trueto collapse,falseto expanduserOriginated-trueif this RPC was triggered by a user interaction,falseotherwise
-
-