com.threerings.opengl.gui
Interface ComboBox.Formatter

All Known Implementing Classes:
ComboBox.DefaultFormatter
Enclosing class:
ComboBox

public static interface ComboBox.Formatter

Formats the items held in a ComboBox into their icon and label.


Method Summary
 Icon getIcon(Object o)
          Get the icon (may be null) for the specified item.
 String getText(Object o)
          Get the label (may not be null) for the specified item.
 

Method Detail

getIcon

Icon getIcon(Object o)
Get the icon (may be null) for the specified item.


getText

String getText(Object o)
Get the label (may not be null) for the specified item.