public class TabButton extends Button
Tab
Modifier and Type | Field and Description |
---|---|
protected Image |
icon |
protected Label |
label |
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
deferredQueue, effects, 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, setEnabled
add, add, addAsync, defer, detach, getElementById, getFlexDirection, getLayout, getTotalChildren, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setStyleId, setVisibility, setZIndex, syncWithRenderNode
addEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addHoverListener, getId, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener
public TabButton()
public TabButton(java.lang.String id)
public TabButton(java.lang.String id, HorizontalAlignment iconAlignment)
public void attach(ParentRenderNode<?,?> parentRenderNode)
UiElement
RenderNode
for this element to a parent
RenderNode
attach
in class ParentUiElement
parentRenderNode
- 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)
ParentUiElement
setLayout
in class ParentUiElement