Interface Dialog

All Superinterfaces:
org.timepedia.exporter.client.Exportable

public interface Dialog extends org.timepedia.exporter.client.Exportable
Dialog in FirstSpirit WebEdit style.
Since:
5.0.106
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dialog button.
  • Method Summary

    Modifier and Type
    Method
    Description
    addButton(String text, com.google.gwt.core.client.JavaScriptObject clickHandler)
    Adds a button to the dialog.
    void
    Sets the dialog invisible.
    void
    setContent(com.google.gwt.dom.client.Element element)
    Sets the inner content of this dialog.
    void
    setSize(int width, int height)
    Sets the dialog size.
    void
    Sets dialog's title.
    void
    Sets the dialog visible.
  • Method Details

    • setTitle

      void setTitle(String title)
      Sets dialog's title.
      Parameters:
      title - dialog title.
      Since:
      5.0.106
    • setContent

      void setContent(com.google.gwt.dom.client.Element element)
      Sets the inner content of this dialog.
      Parameters:
      element - html content.
      Since:
      5.0.106
    • addButton

      Dialog.Button addButton(String text, com.google.gwt.core.client.JavaScriptObject clickHandler)
      Adds a button to the dialog.
      Parameters:
      text - button label.
      clickHandler - called when the user clicks the button.
      Returns:
      button to enabled/disable it.
      Since:
      5.0.106
    • setSize

      void setSize(int width, int height)
      Sets the dialog size.
      Parameters:
      width - total width of the dialog.
      height - total height of the dialog.
      Since:
      5.0.106
    • show

      void show()
      Sets the dialog visible. Important: The caller is responsible to hide the dialog, e.g. after pressing a button.
      Since:
      5.0.106
    • hide

      void hide()
      Sets the dialog invisible.
      Since:
      5.0.106