Package org.jboss.hal.core.mbui.table
Class ModelNodeTable<T extends ModelNode>
- java.lang.Object
-
- org.jboss.hal.ballroom.table.DataTable<T>
-
- org.jboss.hal.core.mbui.table.ModelNodeTable<T>
-
- All Implemented Interfaces:
org.jboss.elemento.IsElement,Attachable,Table<T>
public class ModelNodeTable<T extends ModelNode> extends DataTable<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelNodeTable.Builder<T extends ModelNode>Builder to create tables based on resource metadata.-
Nested classes/interfaces inherited from interface org.jboss.hal.ballroom.table.Table
Table.SelectionChangeHandler<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach()Initialized theApiinstance using theOptionsgiven at constructor argument.voidselect(T data)Shortcut forsuper.select(data, NamedNode::getName)voidselect(T data, Function<T,String> identifier)Selects the row with the specified data.voidupdate(Iterable<T> data)Shortcut forsuper.update(data, NamedNode::getName)voidupdate(Iterable<T> data, RefreshMode mode, Function<T,String> identifier)Replaces the existing data with the new one.-
Methods inherited from class org.jboss.hal.ballroom.table.DataTable
applySecurity, bindForm, bindForms, clear, element, enableButton, getRows, hide, onSelectionChange, selectedRow, selectedRows, show, update, update
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.hal.ballroom.Attachable
detach
-
Methods inherited from interface org.jboss.hal.ballroom.table.Table
hasSelection
-
-
-
-
Method Detail
-
attach
public void attach()
Description copied from class:DataTableInitialized theApiinstance using theOptionsgiven at constructor argument. Make sure to call this method before using any of the API methods. It's safe to call the methods multiple times (the initialization will happen only once).
-
select
public void select(T data)
Shortcut forsuper.select(data, NamedNode::getName)
-
select
public void select(T data, Function<T,String> identifier)
Description copied from class:DataTableSelects the row with the specified data.
-
-