org.das2.components.propertyeditor
Interface Enumeration

All Known Implementing Classes:
DasColorBar.Type, DefaultPlotSymbol, FillStyle, Orientation, Psym, PsymConnector, SpectrogramRenderer.RebinnerEnum, StackedHistogramRenderer.PeaksIndicator, SymColor, TickCurveRenderer.TickStyle

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

toString

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.

Overrides:
toString in class java.lang.Object

getListIcon

javax.swing.Icon getListIcon()
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.