|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentComboBoxItem
public class ALDSwingComponentComboBoxItem
Alida-specific combobox item linked to a 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 Summary | |
---|---|
ALDSwingComponentComboBoxItem(Object _item,
String _text,
String _tooltip)
Default constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ALDSwingComponentComboBoxItem(Object _item, String _text, String _tooltip)
_item
- Object linked to item._text
- Textual representation of object._tooltip
- Tooltip text.Method Detail |
---|
public Object getObject()
public String getItemText()
public String getTooltip()
public int compareTo(ALDSwingComponentComboBoxItem o)
compareTo
in interface Comparable<ALDSwingComponentComboBoxItem>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |