public static class VTabsheet.TabCaption extends VCaption
VTabsheet.Tab.com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.Element |
getCloseButton()
Returns the close button if one exists.
|
int |
getRequiredWidth() |
VTabsheet.Tab |
getTab()
Returns the tab this caption belongs to.
|
boolean |
isClosable()
Returns whether the corresponding tab is closable or not.
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
setClosable(boolean closable)
Adds or removes the button for closing the corresponding tab and the
style name for a closable tab.
|
getCaptionOwnerPid, getErrorIndicatorElement, getHeight, getOwner, getOwnerPid, getRenderedWidth, getTextElement, getTooltipInfo, isCaptionAsHtml, isNeeded, mightChange, onAttach, onDetach, setAlignment, setCaptionAsHtml, setCaptionText, setCaptionText, setErrorIndicatorElementVisible, setMaxWidth, setTooltipInfo, shouldBePlacedAfterComponent, updateCaption, updateCaptionWithoutOwner, updateCaptionWithoutOwner, updateCaptionWithoutOwnergetHTML, getTextOrHtml, setHTML, setHTML, setHTML, setHTML, wrapaddClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setTextgetAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrap, updateHorizontalAlignmentaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class VCaptionpublic VTabsheet.Tab getTab()
public void setClosable(boolean closable)
closable - true if the tab is closable, false
otherwisepublic boolean isClosable()
true if the tab is closable, false otherwisepublic int getRequiredWidth()
getRequiredWidth in class VCaptionpublic com.google.gwt.user.client.Element getCloseButton()
null if not foundCopyright © 2021 Vaadin Ltd. All rights reserved.