public class ALDSwingComponentComboBoxItem extends Object implements Comparable<ALDSwingComponentComboBoxItem>
ALDSwingComponentComboBox.
An instance of this class contains all information associated with an entry
in a ALDSwingComponentComboBox, i.e. the actual object, its textual
representation and an optional tooltip text. Note that object and tooltip
text are allowed to be null.
| Constructor and Description |
|---|
ALDSwingComponentComboBoxItem(Object _item,
String _text,
String _tooltip)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ALDSwingComponentComboBoxItem o) |
String |
getItemText()
Get textual representation of object.
|
Object |
getObject()
Get the object associated with this item.
|
String |
getTooltip()
Get tooltip text.
|
String |
toString() |
public Object getObject()
public String getItemText()
public String getTooltip()
public int compareTo(ALDSwingComponentComboBoxItem o)
compareTo in interface Comparable<ALDSwingComponentComboBoxItem>Copyright © 2010–2015 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.