Class ServerView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.client.runtime.subsystem.messaging.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(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(ServerPresenter presenter)voidupdateConnectionConsumers(List<ModelNode> consumers)voidupdateConnections(List<ModelNode> connections)voidupdateConnectors(List<ModelNode> connectors)voidupdateConsumers(List<ModelNode> consumers)voidupdateProducers(List<ModelNode> producers)voidupdateRoles(List<ModelNode> roles)voidupdateSessions(List<ModelNode> sessions)voidupdateTransactions(List<ModelNode> transactions)-
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(MetadataRegistry metadataRegistry, Resources resources)
-
-
Method Detail
-
setPresenter
public void setPresenter(ServerPresenter presenter)
- Specified by:
setPresenterin interfaceHasPresenter<ServerPresenter>
-
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
-
updateConnections
public void updateConnections(List<ModelNode> connections)
- Specified by:
updateConnectionsin interfaceServerPresenter.MyView
-
updateSessions
public void updateSessions(List<ModelNode> sessions)
- Specified by:
updateSessionsin interfaceServerPresenter.MyView
-
updateConnectionConsumers
public void updateConnectionConsumers(List<ModelNode> consumers)
- Specified by:
updateConnectionConsumersin interfaceServerPresenter.MyView
-
updateConsumers
public void updateConsumers(List<ModelNode> consumers)
- Specified by:
updateConsumersin interfaceServerPresenter.MyView
-
updateProducers
public void updateProducers(List<ModelNode> producers)
- Specified by:
updateProducersin interfaceServerPresenter.MyView
-
updateConnectors
public void updateConnectors(List<ModelNode> connectors)
- Specified by:
updateConnectorsin interfaceServerPresenter.MyView
-
updateRoles
public void updateRoles(List<ModelNode> roles)
- Specified by:
updateRolesin interfaceServerPresenter.MyView
-
updateTransactions
public void updateTransactions(List<ModelNode> transactions)
- Specified by:
updateTransactionsin interfaceServerPresenter.MyView
-
-