Interface PopoverView

  • All Superinterfaces:
    org.jboss.errai.common.client.api.IsElement, org.jboss.errai.ui.client.local.api.IsElement
    All Known Subinterfaces:
    ErrorReportPopover
    All Known Implementing Classes:
    AbstractPopoverView, ErrorReportPopoverView

    public interface PopoverView
    extends org.jboss.errai.ui.client.local.api.IsElement
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  PopoverView.Position  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void hide()  
      boolean isShown()  
      void setup​(Optional<String> editorTitle, int mx, int my, PopoverView.Position position)
      Method to set/update status of the elements before actually showing the view.
      void show()
      Method that actually show the view
      • Methods inherited from interface org.jboss.errai.ui.client.local.api.IsElement

        getElement
    • Method Detail

      • setup

        void setup​(Optional<String> editorTitle,
                   int mx,
                   int my,
                   PopoverView.Position position)
        Method to set/update status of the elements before actually showing the view. Implemented to decouple this setup from the actual show, to be able to eventually add other modifications (e.g. change vertical position based on the actual height, that is available only after this method has been invoked)
        Parameters:
        editorTitle -
        mx -
        my -
        position -
      • show

        void show()
        Method that actually show the view
      • isShown

        boolean isShown()
      • hide

        void hide()