org.das2.graph
Class StackedHistogramRenderer.PeaksIndicator

java.lang.Object
  extended by org.das2.graph.StackedHistogramRenderer.PeaksIndicator
All Implemented Interfaces:
Displayable, Enumeration
Enclosing class:
StackedHistogramRenderer

public static class StackedHistogramRenderer.PeaksIndicator
extends java.lang.Object
implements Enumeration, Displayable


Field Summary
static StackedHistogramRenderer.PeaksIndicator BlackPeaks
           
static StackedHistogramRenderer.PeaksIndicator GrayPeaks
           
static StackedHistogramRenderer.PeaksIndicator MaxLines
           
static StackedHistogramRenderer.PeaksIndicator NoPeaks
           
 
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

NoPeaks

public static final StackedHistogramRenderer.PeaksIndicator NoPeaks

GrayPeaks

public static final StackedHistogramRenderer.PeaksIndicator GrayPeaks

BlackPeaks

public static final StackedHistogramRenderer.PeaksIndicator BlackPeaks

MaxLines

public static final StackedHistogramRenderer.PeaksIndicator MaxLines
Method Detail

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

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

getListIcon

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