Class ServerView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.client.configuration.subsystem.undertow.ServerView
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,ServerPresenter.MyView,HalView,HasPresenter<ServerPresenter>
public class ServerView extends HalViewImpl implements ServerPresenter.MyView
-
-
Constructor Summary
Constructors Constructor Description ServerView(Dispatcher dispatcher, MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach()This method should be called after the view's elements are attached to the DOM.voidsetPresenter(ServerPresenter presenter)voidupdate(ModelNode payload)voidupdateFilterRef(List<NamedNode> filters, boolean showPage)voidupdateLocation(List<NamedNode> locations, boolean showPage)voidupdateLocationFilterRef(List<NamedNode> filters, boolean showPage)-
Methods inherited from class org.jboss.hal.core.mvp.HalViewImpl
detach, element, iterator
-
Methods inherited from class com.gwtplatform.mvp.client.ViewImpl
addToSlot, asWidget, removeFromSlot, setInSlot
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Constructor Detail
-
ServerView
@Inject public ServerView(Dispatcher dispatcher, MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
-
-
Method Detail
-
attach
public void attach()
Description copied from interface:HalViewThis method should be called after the view's elements are attached to the DOM. Typically this method is called fromHalPresenter.onReveal().Do not use
ViewImpl.onAttach()to initialize PatternFly components. This works for widgets only, but not for elements!- Specified by:
attachin interfaceHalView- Overrides:
attachin classHalViewImpl
-
setPresenter
public void setPresenter(ServerPresenter presenter)
- Specified by:
setPresenterin interfaceHasPresenter<ServerPresenter>
-
update
public void update(ModelNode payload)
- Specified by:
updatein interfaceServerPresenter.MyView
-
updateFilterRef
public void updateFilterRef(List<NamedNode> filters, boolean showPage)
- Specified by:
updateFilterRefin interfaceServerPresenter.MyView
-
updateLocation
public void updateLocation(List<NamedNode> locations, boolean showPage)
- Specified by:
updateLocationin interfaceServerPresenter.MyView
-
updateLocationFilterRef
public void updateLocationFilterRef(List<NamedNode> filters, boolean showPage)
- Specified by:
updateLocationFilterRefin interfaceServerPresenter.MyView
-
-