@MbuiView public abstract class EjbView extends MbuiViewImpl<EjbPresenter> implements EjbPresenter.MyView
mbuiContext, presenter| Modifier and Type | Method and Description |
|---|---|
void |
attach()
This method should be called after the view's elements are attached to the DOM.
|
static EjbView |
create(MbuiContext mbuiContext,
Environment environment) |
void |
detach()
Counterpart to
HalView.attach(). |
void |
update(ModelNode payload) |
add, addSingleton, removeSingletonForm, resetForm, resetSingletonForm, saveForm, saveSingletonForm, setPresenterasElement, asElements, initElement, initElement, initElements, initElements, registerAttachable, registerAttachablesaddToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPresenterpublic static EjbView create(MbuiContext mbuiContext, Environment environment)
public void attach()
HalViewHalPresenter.onReveal().
Do not use ViewImpl.onAttach() to initialize PatternFly components. This works for widgets
only, but not for elements!
attach in interface HalViewattach in class HalViewImplpublic void detach()
HalViewHalView.attach(). Implement this method if you need to remove stuff which was setup in HalView.attach(). The default implementation does nothing.detach in interface HalViewdetach in class HalViewImplpublic void update(ModelNode payload)
update in interface EjbPresenter.MyViewCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.