public class TabButton extends Button
Tab| Modifier and Type | Field and Description |
|---|---|
protected Image |
icon |
protected Label |
label |
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNodeeffects, styleId, visibility, zIndex| 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 |
boolean |
isCurrentTab() |
void |
setIconPath(java.lang.String imagePath) |
void |
setLayout(java.lang.String layout)
Sets the current layout
|
void |
setText(java.lang.String text) |
addActionListener, createRenderNode, isEnabled, notifyActionListenersOfBeginEvent, notifyActionListenersOfEndEvent, removeActionListener, setEnabledadd, add, addAsync, detach, getElementById, getFlexDirection, getLayout, getTotalChildren, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setStyleId, setVisibility, setZIndex, syncWithRenderNodeaddEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, 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 setLayout(java.lang.String layout)
ParentUiElementsetLayout in class ParentUiElement