de.matthiasmann.twl
Interface ListBoxDisplay

All Known Implementing Classes:
ListBox.ListBoxLabel

public interface ListBoxDisplay

A interface which needs to be implemented by Widget subclasses to be used as cells in a Listbox


Method Summary
 void addListBoxCallback(CallbackWithReason<ListBox.CallbackReason> cb)
           
 Widget getWidget()
           
 boolean isFocused()
           
 boolean isSelected()
           
 void removeListBoxCallback(CallbackWithReason<ListBox.CallbackReason> cb)
           
 void setData(java.lang.Object data)
           
 void setFocused(boolean focused)
           
 void setSelected(boolean selected)
           
 void setTooltipContent(java.lang.Object content)
           
 

Method Detail

isSelected

boolean isSelected()

setSelected

void setSelected(boolean selected)

isFocused

boolean isFocused()

setFocused

void setFocused(boolean focused)

setData

void setData(java.lang.Object data)

setTooltipContent

void setTooltipContent(java.lang.Object content)

getWidget

Widget getWidget()

addListBoxCallback

void addListBoxCallback(CallbackWithReason<ListBox.CallbackReason> cb)

removeListBoxCallback

void removeListBoxCallback(CallbackWithReason<ListBox.CallbackReason> cb)