i need any body help
com.vaadin.ui.Tree.setItemDescriptionGenerator(ItemDescriptionGenerator)
i want code for that
tree.setItemDescriptionGenerator(new ItemDescriptionGenerator(){
public String generateDescription(Component source, Object itemId,
Object propertyId){
return "This is my item";
}
});
public String generateDescription(Component source, Object itemId,
Object propertyId)
what arguments i have to pass for above method
my objective is when mouse is placed on any item in tree should show it level names