|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Enumeration
Type-safe enumerations that are used as property types that are editable with a PropertyEditor should implement this interface.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.Object
javax.swing.Icon getListIcon()
null
if there
is no icon available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |