public abstract class MbuiViewImpl<P extends MbuiPresenter> extends HalViewImpl implements MbuiView<P>
@MbuiView.| Modifier and Type | Field and Description |
|---|---|
protected MbuiContext |
mbuiContext |
protected P |
presenter |
| Modifier | Constructor and Description |
|---|---|
protected |
MbuiViewImpl(MbuiContext mbuiContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(String id,
String type,
AddressTemplate template) |
protected void |
addSingleton(String id,
String type,
AddressTemplate template) |
protected <T> void |
removeSingletonForm(String type,
ResourceAddress address,
Form<T> form) |
protected <T> void |
resetForm(String type,
String name,
ResourceAddress address,
Form<T> form,
Metadata metadata) |
protected <T> void |
resetSingletonForm(String type,
ResourceAddress address,
Form<T> form,
Metadata metadata) |
protected void |
saveForm(String type,
String name,
ResourceAddress address,
Map<String,Object> changedValues,
Metadata metadata) |
protected void |
saveSingletonForm(String type,
ResourceAddress address,
Map<String,Object> changedValues,
Metadata metadata) |
void |
setPresenter(P presenter) |
asElement, asElements, attach, detach, initElement, initElement, initElements, initElements, registerAttachable, registerAttachablesaddToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final MbuiContext mbuiContext
protected P extends MbuiPresenter presenter
protected MbuiViewImpl(MbuiContext mbuiContext)
public void setPresenter(P presenter)
setPresenter in interface HasPresenter<P extends MbuiPresenter>protected void add(String id, String type, AddressTemplate template)
protected void addSingleton(String id, String type, AddressTemplate template)
protected void saveForm(String type, String name, ResourceAddress address, Map<String,Object> changedValues, Metadata metadata)
protected void saveSingletonForm(String type, ResourceAddress address, Map<String,Object> changedValues, Metadata metadata)
protected <T> void resetForm(String type, String name, ResourceAddress address, Form<T> form, Metadata metadata)
protected <T> void resetSingletonForm(String type, ResourceAddress address, Form<T> form, Metadata metadata)
protected <T> void removeSingletonForm(String type, ResourceAddress address, Form<T> form)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.