org.das2.components.propertyeditor.Displayable

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


drawListIcon

drawListIcon( java.awt.Graphics2D g, int x, int y ) → void

implement this to provide nice drawing of icon on printing graphics context.

Parameters

g - the graphics context.
x - the x position, typically 0.
y - the y position, typically 0.

Returns:

void (returns nothing)

search for examples view on GitHub view source


getListLabel

getListLabel( ) → String

return a String that will help the user identify this item when choosing from a list.

Returns:

the list label.

search for examples view on GitHub view source