Class JGroupsView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.client.configuration.subsystem.jgroups.JGroupsView
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,JGroupsPresenter.MyView,HalView,HasPresenter<JGroupsPresenter>
public class JGroupsView extends HalViewImpl implements JGroupsPresenter.MyView
This view is not MBUI generated because there are deep neste objects as relay, transport, protocol into stacks.
-
-
Constructor Summary
Constructors Constructor Description JGroupsView(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(JGroupsPresenter presenter)voidshowChannelInnerPage(String id)voidshowStackInnerPage(String id)voidupdate(ModelNode payload)voidupdateChannelProtocols(List<NamedNode> model)voidupdateForks(List<NamedNode> model)voidupdateProtocols(List<NamedNode> model)voidupdateRelays(List<NamedNode> model)voidupdateRemoteSite(List<NamedNode> model)voidupdateTransports(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
-
JGroupsView
@Inject public JGroupsView(MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
-
-
Method Detail
-
setPresenter
public void setPresenter(JGroupsPresenter presenter)
- Specified by:
setPresenterin interfaceHasPresenter<JGroupsPresenter>
-
update
public void update(ModelNode payload)
- Specified by:
updatein interfaceJGroupsPresenter.MyView
-
updateProtocols
public void updateProtocols(List<NamedNode> model)
- Specified by:
updateProtocolsin interfaceJGroupsPresenter.MyView
-
updateTransports
public void updateTransports(List<NamedNode> model)
- Specified by:
updateTransportsin interfaceJGroupsPresenter.MyView
-
updateRemoteSite
public void updateRemoteSite(List<NamedNode> model)
- Specified by:
updateRemoteSitein interfaceJGroupsPresenter.MyView
-
updateRelays
public void updateRelays(List<NamedNode> model)
- Specified by:
updateRelaysin interfaceJGroupsPresenter.MyView
-
updateForks
public void updateForks(List<NamedNode> model)
- Specified by:
updateForksin interfaceJGroupsPresenter.MyView
-
showStackInnerPage
public void showStackInnerPage(String id)
- Specified by:
showStackInnerPagein interfaceJGroupsPresenter.MyView
-
showChannelInnerPage
public void showChannelInnerPage(String id)
- Specified by:
showChannelInnerPagein interfaceJGroupsPresenter.MyView
-
updateChannelProtocols
public void updateChannelProtocols(List<NamedNode> model)
- Specified by:
updateChannelProtocolsin interfaceJGroupsPresenter.MyView
-
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
-
-