## org.das2.components.propertyeditor.Enumeration

Type-safe enumerations that are used as property types that are editable with a PropertyEditor should implement this interface.

## getListIcon

getListIcon( ) → javax.swing.Icon

An icon can be provided that will be shown in a list along with the textual description of the element. This method should return `null` if there is no icon available.

### Returns:

the icon
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## toString

toString( ) → String

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.

### Returns:

a concise string representation
[search for examples] [view on GitHub] [view on old javadoc] [view source]