Problems getting items value from TreeTable

This is the method I use to fill my TreeTable:


CheckBox cb = new CheckBox("hello");
cb.setData(new Object[] { "data1", "data2", "data3");
ttable.addItem(new Object[] { cb }, est_func);

How do I retrieve the contents of the Checkbox to get its data? (CheckBox.getData())?

Help please!