public interface Enumeration
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
java.lang.String |
toString()
Type-safe Enumerations implementing this interface
should override the toString() method to return a
String that will be helpful to the user
when choosing this as an option from a list. |
java.lang.String toString()
String that will be helpful to the user
when choosing this as an option from a list.toString in class java.lang.Objectjavax.swing.Icon getListIcon()
null if there
is no icon available.