public class ModelNodeListView<T extends ModelNode> extends Object implements Display<T>, org.jboss.gwt.elemento.core.HasElements, Attachable
Please note that the ModelNodeListView uses its own <div class="row"/> element. This is important
if you add the toolbar using the methods from LayoutBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelNodeListView.Builder<T extends ModelNode> |
| Modifier and Type | Method and Description |
|---|---|
Iterable<elemental2.dom.HTMLElement> |
asElements() |
void |
attach() |
void |
detach() |
void |
setSurroundingHeight(int surroundingHeight)
Use this method if you embed the list view into an application view and if you have additional elements
before or after the list view.
|
void |
showEmptyState(String name) |
void |
showItems(Iterable<T> items,
PageInfo pageInfo) |
void |
updateSelection(SelectionInfo selectionInfo) |
public Iterable<elemental2.dom.HTMLElement> asElements()
asElements in interface org.jboss.gwt.elemento.core.HasElementspublic void attach()
attach in interface Attachablepublic void detach()
detach in interface Attachablepublic void setSurroundingHeight(int surroundingHeight)
surroundingHeight - the sum of the height of all surrounding elementspublic void updateSelection(SelectionInfo selectionInfo)
updateSelection in interface Display<T extends ModelNode>public void showEmptyState(String name)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.