Class DeploymentView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.client.runtime.subsystem.undertow.DeploymentView
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,DeploymentPresenter.MyView,HalView,HasPresenter<DeploymentPresenter>
public class DeploymentView extends HalViewImpl implements DeploymentPresenter.MyView
-
-
Constructor Summary
Constructors Constructor Description DeploymentView(MetadataRegistry metadataRegistry, 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(DeploymentPresenter presenter)voidupdateServlets(List<NamedNode> model)voidupdateSessionAttributes(List<Property> attributes)voidupdateSessions(List<org.jboss.hal.client.runtime.subsystem.undertow.Session> sessions)voidupdateWebsockets(List<NamedNode> model)-
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
-
DeploymentView
@Inject public DeploymentView(MetadataRegistry metadataRegistry, 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(DeploymentPresenter presenter)
- Specified by:
setPresenterin interfaceHasPresenter<DeploymentPresenter>
-
updateSessions
public void updateSessions(List<org.jboss.hal.client.runtime.subsystem.undertow.Session> sessions)
- Specified by:
updateSessionsin interfaceDeploymentPresenter.MyView
-
updateSessionAttributes
public void updateSessionAttributes(List<Property> attributes)
- Specified by:
updateSessionAttributesin interfaceDeploymentPresenter.MyView
-
updateServlets
public void updateServlets(List<NamedNode> model)
- Specified by:
updateServletsin interfaceDeploymentPresenter.MyView
-
updateWebsockets
public void updateWebsockets(List<NamedNode> model)
- Specified by:
updateWebsocketsin interfaceDeploymentPresenter.MyView
-
-