Class FlowPanel

    • Constructor Detail

      • FlowPanel

        public FlowPanel()
        Creates an empty flow panel.
      • FlowPanel

        public FlowPanel​(java.lang.String tag)
        Creates an empty flow panel with a custom tag.
    • Method Detail

      • clear

        public void clear()
        Description copied from interface: HasWidgets
        Removes all child widgets.
        Specified by:
        clear in interface HasWidgets
        Overrides:
        clear in class Panel
      • insert

        public void insert​(Widget w,
                           int beforeIndex)
        Inserts a widget before the specified index.
        Specified by:
        insert in interface InsertPanel
        Parameters:
        w - the widget to be inserted
        beforeIndex - the index before which it will be inserted
        Throws:
        java.lang.IndexOutOfBoundsException - if beforeIndex is out of range