|
||||||||||
| 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(java.lang.Object _item,
java.lang.String _text,
java.lang.String _tooltip)
Default constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(ALDSwingComponentComboBoxItem o)
|
java.lang.String |
getItemText()
Get textual representation of object. |
java.lang.Object |
getObject()
Get the object associated with this item. |
java.lang.String |
getTooltip()
Get tooltip text. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ALDSwingComponentComboBoxItem(java.lang.Object _item,
java.lang.String _text,
java.lang.String _tooltip)
_item - Object linked to item._text - Textual representation of object._tooltip - Tooltip text.| Method Detail |
|---|
public java.lang.Object getObject()
public java.lang.String getItemText()
public java.lang.String getTooltip()
public int compareTo(ALDSwingComponentComboBoxItem o)
compareTo in interface java.lang.Comparable<ALDSwingComponentComboBoxItem>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||