com.vaadin.client.ui
Class VTabsheet.Tab
java.lang.Object
SimplePanel
com.vaadin.client.ui.VTabsheet.Tab
- Enclosing class:
- VTabsheet
public static class VTabsheet.Tab
- extends SimplePanel
Representation of a single "tab" shown in the TabBar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isHiddenOnServer
public boolean isHiddenOnServer()
setHiddenOnServer
public void setHiddenOnServer(boolean hiddenOnServer)
getContainerElement
protected com.google.gwt.user.client.Element getContainerElement()
isEnabledOnServer
public boolean isEnabledOnServer()
setEnabledOnServer
public void setEnabledOnServer(boolean enabled)
addClickHandler
public void addClickHandler(ClickHandler handler)
setCloseHandler
public void setCloseHandler(com.vaadin.client.ui.VTabsheet.VCloseHandler closeHandler)
setStyleNames
public void setStyleNames(boolean selected,
boolean first)
- Toggles the style names for the Tab
- Parameters:
selected - true if the Tab is selectedfirst - true if the Tab is the first visible Tab
setStyleNames
public void setStyleNames(boolean selected,
boolean first,
boolean keyboardFocus)
setTabulatorIndex
public void setTabulatorIndex(int tabIndex)
isClosable
public boolean isClosable()
onClose
public void onClose()
getTabsheet
public VTabsheet getTabsheet()
recalculateCaptionWidth
public void recalculateCaptionWidth()
addFocusHandler
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(FocusHandler handler)
addBlurHandler
public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(BlurHandler handler)
addMouseDownHandler
public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(MouseDownHandler handler)
addKeyDownHandler
public com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(KeyDownHandler handler)
focus
public void focus()
blur
public void blur()
hasTooltip
public boolean hasTooltip()
getTooltipInfo
public TooltipInfo getTooltipInfo()
setAssistiveDescription
public void setAssistiveDescription(java.lang.String descriptionId)
removeAssistiveDescription
public void removeAssistiveDescription()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.