public abstract class TabbedViewImpl extends com.gwtplatform.mvp.client.HandlerContainerImpl implements TabbedView
| Constructor and Description |
|---|
TabbedViewImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget w) |
void |
add(com.google.gwt.user.client.ui.Widget w,
String text) |
com.google.gwt.event.shared.HandlerRegistration |
addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<Integer> handler) |
com.google.gwt.event.shared.HandlerRegistration |
addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<Integer> handler) |
void |
addToSlot(Object slot,
com.google.gwt.user.client.ui.IsWidget content) |
void |
animate(int duration) |
void |
animate(int duration,
com.google.gwt.layout.client.Layout.AnimationCallback callback) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
buildTabPanel() |
void |
clear() |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
void |
forceLayout() |
protected TabPanel |
getTabPanel() |
com.google.gwt.user.client.ui.Widget |
getWidget(int index) |
int |
getWidgetCount() |
int |
getWidgetIndex(com.google.gwt.user.client.ui.IsWidget child) |
int |
getWidgetIndex(com.google.gwt.user.client.ui.Widget child) |
void |
init(int defaultSelectedInd,
Map<Integer,String> tabNamesMap) |
void |
insert(com.google.gwt.user.client.ui.Widget child,
String text,
int beforeIndex)
Inserts a widget into the panel.
|
boolean |
isProxy(int tabInd)
Checks whenever tab by specified index is proxy or not.
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
boolean |
remove(int index) |
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
void |
removeFromSlot(Object slot,
com.google.gwt.user.client.ui.IsWidget content) |
void |
replaceProxy(int tabInd,
com.google.gwt.user.client.ui.IsWidget w)
Replaces proxy specified by tabInd with some widget.
|
void |
selectTab(int ind) |
void |
selectTab(int ind,
boolean fireEvents) |
void |
setInSlot(Object slot,
com.google.gwt.user.client.ui.IsWidget content) |
bind, isBound, onBind, onUnbind, registerHandler, unbindpublic void add(com.google.gwt.user.client.ui.Widget w)
add in interface com.google.gwt.user.client.ui.HasWidgetspublic void add(com.google.gwt.user.client.ui.Widget w,
String text)
add in interface TabbedViewpublic com.google.gwt.event.shared.HandlerRegistration addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<Integer> handler)
addBeforeSelectionHandler in interface com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers<Integer>public com.google.gwt.event.shared.HandlerRegistration addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<Integer> handler)
addSelectionHandler in interface com.google.gwt.event.logical.shared.HasSelectionHandlers<Integer>public void addToSlot(Object slot, com.google.gwt.user.client.ui.IsWidget content)
addToSlot in interface com.gwtplatform.mvp.client.Viewpublic void animate(int duration)
animate in interface com.google.gwt.user.client.ui.AnimatedLayoutpublic void animate(int duration,
com.google.gwt.layout.client.Layout.AnimationCallback callback)
animate in interface com.google.gwt.user.client.ui.AnimatedLayoutpublic com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetprotected void buildTabPanel()
public void clear()
clear in interface com.google.gwt.user.client.ui.HasWidgetspublic void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent in interface com.google.gwt.event.shared.HasHandlerspublic void forceLayout()
forceLayout in interface com.google.gwt.user.client.ui.AnimatedLayoutprotected TabPanel getTabPanel()
public com.google.gwt.user.client.ui.Widget getWidget(int index)
getWidget in interface com.google.gwt.user.client.ui.IndexedPanelpublic int getWidgetCount()
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanelpublic int getWidgetIndex(com.google.gwt.user.client.ui.IsWidget child)
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidgetpublic int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanelpublic void init(int defaultSelectedInd,
Map<Integer,String> tabNamesMap)
init in interface TabbedViewpublic void insert(com.google.gwt.user.client.ui.Widget child,
String text,
int beforeIndex)
TabbedViewinsert in interface TabbedViewchild - the widget to be addedtext - the text to be shown on its tabbeforeIndex - the index before which it will be insertedpublic final boolean isProxy(int tabInd)
throws IndexOutOfBoundsException
ProxyViewisProxy in interface ProxyViewtabInd - tab indexIndexOutOfBoundsException - if the index is out of rangepublic Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public boolean remove(int index)
remove in interface com.google.gwt.user.client.ui.IndexedPanelpublic boolean remove(com.google.gwt.user.client.ui.Widget w)
remove in interface com.google.gwt.user.client.ui.HasWidgetspublic void removeFromSlot(Object slot, com.google.gwt.user.client.ui.IsWidget content)
removeFromSlot in interface com.gwtplatform.mvp.client.Viewpublic void replaceProxy(int tabInd,
com.google.gwt.user.client.ui.IsWidget w)
throws IndexOutOfBoundsException
ProxyViewreplaceProxy in interface ProxyViewtabInd - tab indexw - real tab as widgetIndexOutOfBoundsException - if the index is out of rangepublic void selectTab(int ind)
selectTab in interface TabbedViewpublic void selectTab(int ind,
boolean fireEvents)
selectTab in interface TabbedViewpublic void setInSlot(Object slot, com.google.gwt.user.client.ui.IsWidget content)
setInSlot in interface com.gwtplatform.mvp.client.ViewCopyright © 2012–2014 RedSoft. All rights reserved.