de.lessvoid.nifty.controls.treebox
Class TreeBoxControl

java.lang.Object
  extended by de.lessvoid.nifty.controls.AbstractController
      extended by de.lessvoid.nifty.controls.treebox.TreeBoxControl
All Implemented Interfaces:
Controller, NiftyControl, TreeBox

public class TreeBoxControl
extends AbstractController
implements TreeBox

Author:
ractoc

Constructor Summary
TreeBoxControl()
           
 
Method Summary
 void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
           
 boolean inputEvent(NiftyInputEvent inputEvent)
           
 void onListBoxSelectionChanged(String id, ListBoxSelectionChangedEvent<TreeEntryModelClass> event)
          When the selection of the ListBox changes this method is called.
 void onStartScreen()
           
 void setTree(TreeItem treeRoot)
           
 
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
 

Constructor Detail

TreeBoxControl

public TreeBoxControl()
Method Detail

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

setTree

public void setTree(TreeItem treeRoot)
Specified by:
setTree in interface TreeBox

onListBoxSelectionChanged

public void onListBoxSelectionChanged(String id,
                                      ListBoxSelectionChangedEvent<TreeEntryModelClass> event)
When the selection of the ListBox changes this method is called.



Copyright © 2011. All Rights Reserved.