de.lessvoid.nifty.examples.defaultcontrols.common
Class JustAnExampleModelClass

java.lang.Object
  extended by de.lessvoid.nifty.examples.defaultcontrols.common.JustAnExampleModelClass

public class JustAnExampleModelClass
extends Object

This is just an example. This should really be your own model. The ListBox does call toString() on this to get the label it should display. But you can use your own ListBoxViewConverter if you want to use more sophisticated mechanism.

Author:
void

Constructor Summary
JustAnExampleModelClass(String label)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JustAnExampleModelClass

public JustAnExampleModelClass(String label)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.