Class HalViewImpl

    • Method Detail

      • element

        public elemental2.dom.HTMLElement element()
        Specified by:
        element in interface org.jboss.elemento.IsElement
      • iterator

        public Iterator<elemental2.dom.HTMLElement> iterator()
        Specified by:
        iterator in interface Iterable<elemental2.dom.HTMLElement>
      • attach

        public void attach()
        Description copied from interface: HalView
        This method should be called after the view's elements are attached to the DOM. Typically this method is called from HalPresenter.onReveal().

        Do not use ViewImpl.onAttach() to initialize PatternFly components. This works for widgets only, but not for elements!

        Specified by:
        attach in interface HalView
      • detach

        public void detach()
        Description copied from interface: HalView
        Counterpart to HalView.attach(). Implement this method if you need to remove stuff which was setup in HalView.attach(). The default implementation does nothing.
        Specified by:
        detach in interface HalView