public static class VTabsheet.Tab
extends com.google.gwt.user.client.ui.SimplePanel
implements com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler) |
void |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler) |
void |
blur() |
void |
focus() |
protected com.google.gwt.user.client.Element |
getContainerElement() |
VTabsheet |
getTabsheet() |
TooltipInfo |
getTooltipInfo() |
boolean |
hasTooltip() |
boolean |
isClosable() |
boolean |
isEnabledOnServer() |
boolean |
isHiddenOnServer() |
void |
onClose() |
void |
recalculateCaptionWidth() |
void |
removeAssistiveDescription() |
void |
setAssistiveDescription(String descriptionId) |
void |
setCloseHandler(com.vaadin.client.ui.VTabsheet.VCloseHandler closeHandler) |
void |
setEnabledOnServer(boolean enabled) |
void |
setHiddenOnServer(boolean hiddenOnServer) |
void |
setStyleNames(boolean selected,
boolean first)
Toggles the style names for the Tab.
|
void |
setStyleNames(boolean selected,
boolean first,
boolean keyboardFocus) |
void |
setTabulatorIndex(int tabIndex) |
add, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public boolean isHiddenOnServer()
public void setHiddenOnServer(boolean hiddenOnServer)
protected com.google.gwt.user.client.Element getContainerElement()
getContainerElement
in class com.google.gwt.user.client.ui.SimplePanel
public boolean isEnabledOnServer()
public void setEnabledOnServer(boolean enabled)
public void addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
public void setCloseHandler(com.vaadin.client.ui.VTabsheet.VCloseHandler closeHandler)
public void setStyleNames(boolean selected, boolean first)
selected
- true if the Tab is selectedfirst
- true if the Tab is the first visible Tabpublic void setStyleNames(boolean selected, boolean first, boolean keyboardFocus)
public void setTabulatorIndex(int tabIndex)
public boolean isClosable()
public void onClose()
public VTabsheet getTabsheet()
public void recalculateCaptionWidth()
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
addFocusHandler
in interface com.google.gwt.event.dom.client.HasFocusHandlers
public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
addBlurHandler
in interface com.google.gwt.event.dom.client.HasBlurHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler
in interface com.google.gwt.event.dom.client.HasMouseDownHandlers
public com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler)
addKeyDownHandler
in interface com.google.gwt.event.dom.client.HasKeyDownHandlers
public void focus()
public void blur()
public boolean hasTooltip()
public TooltipInfo getTooltipInfo()
public void setAssistiveDescription(String descriptionId)
public void removeAssistiveDescription()
Copyright © 2018 Vaadin Ltd. All rights reserved.