Package org.jboss.hal.core.mvp
Class HalViewImpl
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,HalView
- Direct Known Subclasses:
ApplicationSecurityDomainView,BaseView,BrowseContentView,CacheContainerView,ChannelView,ConfigurationChangesView,DataSourceView,DataSourceView,DataSourceXAView,DeploymentView,DistributedCacheView,EEView,EjbView,ErrorView,ExpertModeView,FactoriesView,FinderViewImpl,FooterView,GenericSubsystemView,HaPolicyView,HeaderView,HomepageView,HostView,InvalidationCacheView,JcaView,JGroupsView,JmsBridgeView,JmsQueueView,JmxView,JndiView,JobView,JpaView,LocalCacheView,LogFileView,MacroEditorView,MailSessionView,ManagementOperationsView,MbuiViewImpl,MicroProfileHealthView,MicroProfileMetricsView,ModelBrowserView,OtherSettingsView,RealmsView,RealmsView,RemoteCacheContainerView,ReplicatedCacheView,ScatteredCacheView,SecurityManagerView,ServerBootErrorsView,ServerGroupDeploymentView,ServerRuntimeView,ServerView,ServerView,ServerView,ServletContainerView,SSLView,StandaloneDeploymentView,StandaloneServerView,StoresView,SystemPropertiesView,TransactionsView,UnauthorizedView,UnderTheBridgeView,WebserviceView
public abstract class HalViewImpl extends com.gwtplatform.mvp.client.ViewImpl implements HalView
View which initializes JavaScript based PatternFly components like select picker, tooltips or data tables in itsattach()method.
-
-
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.voiddetach()Counterpart toHalView.attach().elemental2.dom.HTMLElementelement()Iterator<elemental2.dom.HTMLElement>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, spliterator
-
-
-
-
Method Detail
-
element
public elemental2.dom.HTMLElement element()
- Specified by:
elementin interfaceorg.jboss.elemento.IsElement
-
iterator
public Iterator<elemental2.dom.HTMLElement> iterator()
-
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!
-
detach
public void detach()
Description copied from interface:HalViewCounterpart toHalView.attach(). Implement this method if you need to remove stuff which was setup inHalView.attach(). The default implementation does nothing.
-
-