de.lessvoid.nifty.controls.tabs
Class TabControl
java.lang.Object
de.lessvoid.nifty.controls.AbstractController
de.lessvoid.nifty.controls.tabs.TabControl
- All Implemented Interfaces:
- Controller, NiftyControl, Tab
public class TabControl
- extends AbstractController
- implements Tab
- Author:
- ractoc
Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
TabControl
public TabControl()
bind
public void bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
- Specified by:
bind
in interface Controller
onStartScreen
public void onStartScreen()
- Specified by:
onStartScreen
in interface Controller
inputEvent
public boolean inputEvent(NiftyInputEvent inputEvent)
- Specified by:
inputEvent
in interface Controller
setCaption
public void setCaption(String caption)
- Description copied from interface:
Tab
- Set the caption for the tab.
- Specified by:
setCaption
in interface Tab
- Parameters:
caption
- The caption for the tab.
getCaption
public String getCaption()
- Description copied from interface:
Tab
- Get the caption for the tab.
- Specified by:
getCaption
in interface Tab
- Returns:
- The caption for the tab.
Copyright © 2011. All Rights Reserved.