public class ServerView extends HalViewImpl implements ServerPresenter.MyView
| Constructor and Description |
|---|
ServerView(Dispatcher dispatcher,
MetadataRegistry metadataRegistry,
TableButtonFactory tableButtonFactory,
Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach()
This method should be called after the view's elements are attached to the DOM.
|
void |
setPresenter(ServerPresenter presenter) |
void |
update(ModelNode payload) |
void |
updateFilterRef(List<NamedNode> filters) |
void |
updateLocation(List<NamedNode> locations) |
void |
updateLocationFilterRef(List<NamedNode> filters) |
asElement, asElements, 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, wait@Inject public ServerView(Dispatcher dispatcher, MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
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 setPresenter(ServerPresenter presenter)
setPresenter in interface HasPresenter<ServerPresenter>public void update(ModelNode payload)
update in interface ServerPresenter.MyViewpublic void updateFilterRef(List<NamedNode> filters)
updateFilterRef in interface ServerPresenter.MyViewpublic void updateLocation(List<NamedNode> locations)
updateLocation in interface ServerPresenter.MyViewpublic void updateLocationFilterRef(List<NamedNode> filters)
updateLocationFilterRef in interface ServerPresenter.MyViewCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.