org.das2.graph
Class FillStyle

java.lang.Object
  extended by org.das2.graph.FillStyle
All Implemented Interfaces:
Displayable, Enumeration

public class FillStyle
extends java.lang.Object
implements Displayable, Enumeration


Field Summary
static FillStyle STYLE_DRAW
           
static FillStyle STYLE_FILL
           
static FillStyle STYLE_OUTLINE
           
 
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 getListLabel()
          return a String that will help the user identify this item when choosing from a list.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STYLE_FILL

public static final FillStyle STYLE_FILL

STYLE_DRAW

public static final FillStyle STYLE_DRAW

STYLE_OUTLINE

public static final FillStyle STYLE_OUTLINE
Method Detail

getListLabel

public java.lang.String getListLabel()
Description copied from interface: Displayable
return a String that will help the user identify this item when choosing from a list.

Specified by:
getListLabel in interface Displayable

toString

public java.lang.String toString()
Description copied from interface: Enumeration
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.

Specified by:
toString in interface Enumeration
Overrides:
toString in class java.lang.Object

getListIcon

public javax.swing.Icon getListIcon()
Description copied from interface: Displayable
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.

Specified by:
getListIcon in interface Displayable
Specified by:
getListIcon in interface Enumeration