public class TabButton extends ContentButton
Tab| Modifier and Type | Field and Description |
|---|---|
protected Image |
icon |
protected Label |
label |
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 for this
Button |
void |
setText(java.lang.String text) |
add, detach, getElementById, getTotalChildren, remove, setStyleId, setVisibility, setZIndex, syncWithRenderNodeaddActionListener, getLayout, isEnabled, notifyActionListenersOfBeginEvent, notifyActionListenersOfEndEvent, removeActionListener, setEnabledaddEffectListener, 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 ContentButtonparentRenderNode - 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)
ButtonButtonsetLayout in class ContentButton