public class TabButton extends Button
Tab| Modifier and Type | Field and Description |
|---|---|
protected Image |
icon |
protected Label |
label |
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode| Constructor and Description |
|---|
TabButton() |
TabButton(java.lang.String id) |
TabButton(java.lang.String id,
HorizontalAlignment iconAlignment) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(ParentRenderNode<?,?> parentRenderNode)
Attaches a
RenderNode for this element to a parent
RenderNode |
Image |
getIcon() |
Label |
getLabel() |
boolean |
isCurrentTab() |
void |
setHorizontalLayout(java.lang.String layout)
Sets the current horizontal layout rules
|
void |
setIconPath(java.lang.String imagePath) |
void |
setText(java.lang.String text) |
addActionListener, createRenderNode, isEnabled, notifyActionListenersOfBeginEvent, notifyActionListenersOfEndEvent, removeActionListener, setEnabledadd, add, addAsync, detach, get, getElementById, getFlexDirection, getHorizontalLayout, getTotalChildren, getVerticalLayout, isOverflowClipped, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setOverflowClipped, setStyleId, setVerticalLayout, setVisibility, setZIndex, syncWithRenderNodeaddEffectListener, addHoverListener, applyEffect, defer, defer, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, processDeferred, removeEffectListener, removeHoverListener, setDebugEnabledclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddHoverListener, getId, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListenerpublic TabButton()
public TabButton(java.lang.String id)
public TabButton(java.lang.String id,
HorizontalAlignment iconAlignment)
public void attach(ParentRenderNode<?,?> parentRenderNode)
UiElementRenderNode for this element to a parent
RenderNodeattach in class ParentUiElementparentRenderNode - The parent RenderNode to attach topublic void setText(java.lang.String text)
public void setIconPath(java.lang.String imagePath)
public boolean isCurrentTab()
public void setHorizontalLayout(java.lang.String layout)
ParentUiElementsetHorizontalLayout in class ParentUiElementpublic Label getLabel()
public Image getIcon()