public class TableButtonFactory extends Object
| Constructor and Description |
|---|
TableButtonFactory(CrudOperations crud,
Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
<T extends ModelNode> |
add(AddressTemplate template,
ButtonHandler<T> handler) |
<T extends ModelNode> |
add(String id,
String type,
AddressTemplate template,
CrudOperations.AddCallback callback) |
<T extends ModelNode> |
add(String id,
String type,
AddressTemplate template,
Iterable<String> attributes,
CrudOperations.AddCallback callback) |
<T extends ModelNode> |
remove(AddressTemplate template,
ButtonHandler<T> handler) |
<T> Button<T> |
remove(String type,
AddressTemplate template,
Callback callback) |
<T> Button<T> |
remove(String type,
AddressTemplate template,
Function<Table<T>,String> nameFunction,
Callback callback) |
@Inject public TableButtonFactory(CrudOperations crud, Resources resources)
public <T extends ModelNode> Button<T> add(AddressTemplate template, ButtonHandler<T> handler)
public <T extends ModelNode> Button<T> add(String id, String type, AddressTemplate template, CrudOperations.AddCallback callback)
public <T extends ModelNode> Button<T> add(String id, String type, AddressTemplate template, Iterable<String> attributes, CrudOperations.AddCallback callback)
public <T extends ModelNode> Button<T> remove(AddressTemplate template, ButtonHandler<T> handler)
public <T> Button<T> remove(String type, AddressTemplate template, Callback callback)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.