/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabText the text to be shown on its tab */ public void add(Widget w, String tabText) { insert(w, tabText, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, String tabText, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, beforeIndex); }
/** * Inserts a widget into the tab panel. If the Widget is already attached to * the TabPanel, it will be moved to the requested index. * * @param widget the widget to be inserted * @param tabText the text to be shown on its tab * @param beforeIndex the index before which it will be inserted */ @SuppressIsSafeHtmlCastCheck public void insert(Widget widget, String tabText, int beforeIndex) { insert(widget, tabText, false, beforeIndex); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabWidget the widget to be shown in the tab */ public void add(Widget w, Widget tabWidget) { insert(w, tabWidget, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, IsWidget tabWidget, int beforeIndex) { insert(asWidgetOrNull(widget), asWidgetOrNull(tabWidget), beforeIndex); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabText the text to be shown on its tab * @param asHTML <code>true</code> to treat the specified text as HTML */ public void add(Widget w, @IsSafeHtml String tabText, boolean asHTML) { insert(w, tabText, asHTML, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, @IsSafeHtml String tabText, boolean asHTML, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, asHTML, beforeIndex); }
/** * Inserts a widget into the tab panel. If the Widget is already attached to * the TabPanel, it will be moved to the requested index. * * @param widget the widget to be inserted * @param tabText the text to be shown on its tab * @param beforeIndex the index before which it will be inserted */ public void insert(Widget widget, String tabText, int beforeIndex) { insert(widget, tabText, false, beforeIndex); }
/** * Inserts a widget into the tab panel. If the Widget is already attached to * the TabPanel, it will be moved to the requested index. * * @param widget the widget to be inserted * @param tabText the text to be shown on its tab * @param beforeIndex the index before which it will be inserted */ public void insert(Widget widget, String tabText, int beforeIndex) { insert(widget, tabText, false, beforeIndex); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, String tabText, boolean asHTML, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, asHTML, beforeIndex); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabText the text to be shown on its tab */ public void add(Widget w, String tabText) { insert(w, tabText, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, String tabText, boolean asHTML, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, asHTML, beforeIndex); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, String tabText, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, beforeIndex); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabText the text to be shown on its tab * @param asHTML <code>true</code> to treat the specified text as HTML */ public void add(Widget w, String tabText, boolean asHTML) { insert(w, tabText, asHTML, getWidgetCount()); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabText the text to be shown on its tab */ public void add(Widget w, String tabText) { insert(w, tabText, getWidgetCount()); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabWidget the widget to be shown in the tab */ public void add(Widget w, Widget tabWidget) { insert(w, tabWidget, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, String tabText, int beforeIndex) { insert(asWidgetOrNull(widget), tabText, beforeIndex); }
/** * Adds a widget to the tab panel. If the Widget is already attached to the * TabPanel, it will be moved to the right-most index. * * @param w the widget to be added * @param tabWidget the widget to be shown in the tab */ public void add(Widget w, Widget tabWidget) { insert(w, tabWidget, getWidgetCount()); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, IsWidget tabWidget, int beforeIndex) { insert(asWidgetOrNull(widget), asWidgetOrNull(tabWidget), beforeIndex); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void insert(IsWidget widget, IsWidget tabWidget, int beforeIndex) { insert(asWidgetOrNull(widget), asWidgetOrNull(tabWidget), beforeIndex); }