de.lessvoid.nifty.examples.table
Class TableExampleMain.TableRowViewConverter

java.lang.Object
  extended by de.lessvoid.nifty.examples.table.TableExampleMain.TableRowViewConverter
All Implemented Interfaces:
ListBox.ListBoxViewConverter<TableExampleMain.TableRow>
Enclosing class:
TableExampleMain

public static class TableExampleMain.TableRowViewConverter
extends Object
implements ListBox.ListBoxViewConverter<TableExampleMain.TableRow>

The ViewConverter class that connects the model class (TableRow) to the nifty world.


Constructor Summary
TableExampleMain.TableRowViewConverter()
           
 
Method Summary
 void display(Element listBoxItem, TableExampleMain.TableRow item)
           
 int getWidth(Element listBoxItem, TableExampleMain.TableRow item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableExampleMain.TableRowViewConverter

public TableExampleMain.TableRowViewConverter()
Method Detail

display

public void display(Element listBoxItem,
                    TableExampleMain.TableRow item)
Specified by:
display in interface ListBox.ListBoxViewConverter<TableExampleMain.TableRow>

getWidth

public int getWidth(Element listBoxItem,
                    TableExampleMain.TableRow item)
Specified by:
getWidth in interface ListBox.ListBoxViewConverter<TableExampleMain.TableRow>


Copyright © 2011. All Rights Reserved.