Interface HalView

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void attach()
      This method should be called after the view's elements are attached to the DOM.
      default void detach()
      Counterpart to attach().
      • Methods inherited from interface org.jboss.elemento.IsElement

        element
      • Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

        asWidget
      • Methods inherited from interface com.gwtplatform.mvp.client.View

        addToSlot, removeFromSlot, setInSlot
    • Method Detail

      • attach

        void attach()
        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!

      • detach

        default void detach()
        Counterpart to attach(). Implement this method if you need to remove stuff which was setup in attach(). The default implementation does nothing.