public class TabView extends UiElement implements Navigatable
effects, styleId, visibility, zIndex
Constructor and Description |
---|
TabView() |
TabView(java.lang.String id) |
TabView(java.lang.String id,
Button previousTabButton,
Button nextTabButton) |
addHoverListener, applyEffect, equals, getElementById, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener, setDebugEnabled
public void add(Tab tab)
public void add(int index, Tab tab)
public boolean remove(Tab tab)
public boolean remove(int index)
public void syncWithRenderNode()
syncWithRenderNode
in class UiElement
public void attach(ParentRenderNode<?,?> parentRenderNode)
public void detach(ParentRenderNode<?,?> parentRenderNode)
public void setVisibility(Visibility visibility)
setVisibility
in class UiElement
public void setStyleId(java.lang.String styleId)
setStyleId
in class UiElement
public Tab getCurrentTab()
public void setCurrentTab(Tab tab)
public int getCurrentTabIndex()
public void setCurrentTabIndex(int currentTabIndex)
public void nextTab()
public void previousTab()
public ActionableRenderNode navigate(int keycode)
navigate
in interface Navigatable
public ActionableRenderNode hotkey(int keycode)
hotkey
in interface Navigatable
public ActionableRenderNode hotkey(ControllerButton button)
hotkey
in interface Navigatable
public UiNavigation getNavigation()
getNavigation
in interface Navigatable
public void setPreviousTabHotkey(int keycode)
public void setPreviousTabHotkey(ControllerButton button)
public void setNextTabHotkey(int keycode)
public void setNextTabHotkey(ControllerButton button)
public void unsetPreviousTabHotkey(int keycode)
public void unsetPreviousTabHotkey(ControllerButton button)
public void unsetNextTabHotkey(int keycode)
public void unsetNextTabHotkey(ControllerButton button)
public void setHotkey(ControllerButton button, Actionable actionable)
setHotkey
in interface Navigatable
public void setHotkey(int keycode, Actionable actionable)
setHotkey
in interface Navigatable
public void unsetHotkey(ControllerButton button, Actionable actionable)
unsetHotkey
in interface Navigatable
public void unsetHotkey(int keycode, Actionable actionable)
unsetHotkey
in interface Navigatable
public LayoutRuleset getLayout()
public void setLayout(LayoutRuleset layoutRuleset)
public void setPreviousTabButtonLayout(LayoutRuleset layoutRuleset)
public void setNextTabButtonLayout(LayoutRuleset layoutRuleset)
public void setTabButtonLayout(LayoutRuleset tabButtonLayout)