Interface HasOneWidget

    • Method Detail

      • getWidget

        Widget getWidget()
        Gets the panel's child widget.
        Returns:
        the child widget, or null if none is present
      • setWidget

        void setWidget​(Widget w)
        Sets this panel's widget. Any existing child widget will be removed.
        Parameters:
        w - the panel's new widget, or null to clear the panel