Class RemotingView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.core.mbui.MbuiViewImpl<RemotingPresenter>
-
- org.jboss.hal.client.configuration.subsystem.remoting.RemotingView
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,RemotingPresenter.MyView,MbuiView<RemotingPresenter>,HalView,HasPresenter<RemotingPresenter>
- Direct Known Subclasses:
Mbui_RemotingView
@MbuiView public abstract class RemotingView extends MbuiViewImpl<RemotingPresenter> implements RemotingPresenter.MyView
This view is half generated, half hand written. The navigation, tables and outbound forms are generated using MBUI XML, whereas the connector forms are created in this view. This is because these forms contain nested singletons which may be null.
-
-
Method Summary
All Methods Static 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.static RemotingViewcreate(MbuiContext mbuiContext)voidupdate(ModelNode payload)voidupdateConnector(NamedNode connector)voidupdateHttpConnector(NamedNode httpConnector)voidupdateLocalOutbound(NamedNode localOutbound)voidupdateOutbound(NamedNode outbound)voidupdateRemoteOutbound(NamedNode remoteOutbound)-
Methods inherited from class org.jboss.hal.core.mbui.MbuiViewImpl
setPresenter
-
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 org.jboss.hal.core.mvp.HasPresenter
setPresenter
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
create
public static RemotingView create(MbuiContext mbuiContext)
-
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
-
update
public void update(ModelNode payload)
- Specified by:
updatein interfaceRemotingPresenter.MyView
-
updateConnector
public void updateConnector(NamedNode connector)
- Specified by:
updateConnectorin interfaceRemotingPresenter.MyView
-
updateHttpConnector
public void updateHttpConnector(NamedNode httpConnector)
- Specified by:
updateHttpConnectorin interfaceRemotingPresenter.MyView
-
updateLocalOutbound
public void updateLocalOutbound(@Nullable NamedNode localOutbound)- Specified by:
updateLocalOutboundin interfaceRemotingPresenter.MyView
-
updateOutbound
public void updateOutbound(@Nullable NamedNode outbound)- Specified by:
updateOutboundin interfaceRemotingPresenter.MyView
-
updateRemoteOutbound
public void updateRemoteOutbound(@Nullable NamedNode remoteOutbound)- Specified by:
updateRemoteOutboundin interfaceRemotingPresenter.MyView
-
-