|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComplexPanel
com.vaadin.client.ui.VTabsheetBase
com.vaadin.client.ui.VTabsheet
public class VTabsheet
| Nested Class Summary | |
|---|---|
class |
VTabsheet.PlaceHolder
Deprecated. as of 7.1, VTabsheet only keeps the active tab in the DOM without any place holders. |
static class |
VTabsheet.Tab
Representation of a single "tab" shown in the TabBar |
static class |
VTabsheet.TabCaption
|
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
Element |
contentNode
For internal use only. |
static java.lang.String |
SCROLLER_CLASSNAME
|
protected VTabsheetPanel |
tabPanel
For internal use only. |
Element |
tabs
For internal use only. |
static java.lang.String |
TABS_CLASSNAME
|
boolean |
waitingForResponse
For internal use only. |
| Fields inherited from class com.vaadin.client.ui.VTabsheetBase |
|---|
activeTabIndex, client, connector, disabled, disabledTabKeys, readonly, tabKeys |
| Constructor Summary | |
|---|---|
VTabsheet()
|
|
| Method Summary | |
|---|---|
void |
blur()
|
protected void |
clearPaintables()
Clears current tabs and contents |
void |
focus()
Sets focus to this widget. |
ApplicationConnection |
getApplicationConnection()
Deprecated. since 7.2 - use more specific methods instead (getRpcProxy(), getConnectorForWidget(Widget) etc.) |
protected int |
getCloseTabKey()
|
int |
getContentAreaBorderWidth()
For internal use only. |
Widget |
getCurrentlyDisplayedWidget()
Returns the currently displayed widget in the tab panel. |
protected int |
getNextTabKey()
|
protected int |
getPreviousTabKey()
|
protected com.vaadin.shared.ui.tabsheet.TabsheetServerRpc |
getRpcProxy()
Returns the client to server RPC proxy for the tabsheet. |
protected int |
getSelectTabKey()
Gets the key to activate the selected tab when navigating using previous/next (left/right) keys. |
com.google.gwt.user.client.Element |
getSubPartElement(java.lang.String subPart)
Locates an element inside a component using the identifier provided in subPart. |
java.lang.String |
getSubPartName(com.google.gwt.user.client.Element subElement)
Provides an identifier that identifies the element within the component. |
ComponentConnector |
getTab(int index)
Implement in extending classes. |
int |
getTabCount()
Implement in extending classes. |
java.util.Iterator<Widget> |
getWidgetIterator()
|
void |
handleStyleNames(com.vaadin.shared.AbstractComponentState state)
For internal use only. |
void |
hideTabs()
Makes tab bar invisible. |
void |
iLayout()
Run internal layouting. |
boolean |
loadTabSheet(int tabIndex)
Load the content of a tab of the provided index. |
void |
onBrowserEvent(Event event)
|
void |
removeTab(int index)
Implement in extending classes. |
void |
renderContent(Widget newWidget)
Renders the widget content for a tab sheet. |
void |
renderTab(com.vaadin.shared.ui.tabsheet.TabState tabState,
int index)
Implement in extending classes. |
void |
selectTab(int index)
For internal use only. |
void |
setConnector(AbstractComponentConnector connector)
Sets the connector that should be notified of events etc. |
void |
showAllTabs()
For internal use only. |
void |
showTabs()
Makes tab bar visible. |
void |
tabSizeMightHaveChanged(VTabsheet.Tab tab)
|
void |
updateContentNodeHeight()
For internal use only. |
void |
updateDynamicWidth()
For internal use only. |
void |
updateOpenTabSize()
Sets the size of the visible tab (component). |
| Methods inherited from class com.vaadin.client.ui.VTabsheetBase |
|---|
addTabKey, clearTabKeys, getConnectorForWidget, isDynamicHeight, isDynamicWidth, isEnabled, isTabCaptionsAsHtml, setActiveTabIndex, setClient, setEnabled, setReadonly, setTabCaptionsAsHtml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
public static final java.lang.String TABS_CLASSNAME
public static final java.lang.String SCROLLER_CLASSNAME
public final Element tabs
protected final VTabsheetPanel tabPanel
public final Element contentNode
public boolean waitingForResponse
| Constructor Detail |
|---|
public VTabsheet()
| Method Detail |
|---|
public boolean loadTabSheet(int tabIndex)
index - of the tab to load
public Widget getCurrentlyDisplayedWidget()
protected com.vaadin.shared.ui.tabsheet.TabsheetServerRpc getRpcProxy()
@Deprecated public ApplicationConnection getApplicationConnection()
public void tabSizeMightHaveChanged(VTabsheet.Tab tab)
public void onBrowserEvent(Event event)
public void handleStyleNames(com.vaadin.shared.AbstractComponentState state)
public void updateDynamicWidth()
public void renderTab(com.vaadin.shared.ui.tabsheet.TabState tabState,
int index)
VTabsheetBase
renderTab in class VTabsheetBasepublic void renderContent(Widget newWidget)
newWidget - public void updateContentNodeHeight()
public void iLayout()
public void updateOpenTabSize()
For internal use only. May be removed or replaced in the future.
public void showAllTabs()
protected void clearPaintables()
VTabsheetBase
clearPaintables in class VTabsheetBasepublic java.util.Iterator<Widget> getWidgetIterator()
getWidgetIterator in class VTabsheetBasepublic int getContentAreaBorderWidth()
public int getTabCount()
VTabsheetBase
getTabCount in class VTabsheetBasepublic ComponentConnector getTab(int index)
VTabsheetBase
getTab in class VTabsheetBasepublic void removeTab(int index)
VTabsheetBase
removeTab in class VTabsheetBasepublic void selectTab(int index)
VTabsheetBase
selectTab in class VTabsheetBasepublic void focus()
Focusable
focus in interface Focusablepublic void blur()
public void setConnector(AbstractComponentConnector connector)
VTabsheetBase
setConnector in class VTabsheetBaseprotected int getPreviousTabKey()
protected int getSelectTabKey()
getNextTabKey(),
getPreviousTabKey()protected int getNextTabKey()
protected int getCloseTabKey()
public void showTabs()
public void hideTabs()
public com.google.gwt.user.client.Element getSubPartElement(java.lang.String subPart)
SubPartAwaresubPart. The subPart identifier is component specific and
may be any string of characters, numbers, space characters and brackets.
getSubPartElement in interface SubPartAwaresubPart - The identifier for the element inside the component
public java.lang.String getSubPartName(com.google.gwt.user.client.Element subElement)
SubPartAwaresubElement is a part of the component and must never be null.
Note!
getSubPartElement(getSubPartName(element)) == element is not
always true. A component can choose to provide a more generic
identifier for any given element if the results of all interactions with
subElement are the same as interactions with the element
identified by the return value. For example a button can return an
identifier for the root element even though a DIV inside the button was
passed as subElement because interactions with the DIV and the
root button element produce the same result.
getSubPartName in interface SubPartAwaresubElement - The element the identifier string should uniquely identify
subElement or null
if no identifier could be provided.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||