schmitzm.jfree.chart
Enum SelectableChartPanel.WindowSelectionMode

java.lang.Object
  extended by java.lang.Enum<SelectableChartPanel.WindowSelectionMode>
      extended by schmitzm.jfree.chart.SelectableChartPanel.WindowSelectionMode
All Implemented Interfaces:
Serializable, Comparable<SelectableChartPanel.WindowSelectionMode>
Enclosing class:
SelectableChartPanel

public static enum SelectableChartPanel.WindowSelectionMode
extends Enum<SelectableChartPanel.WindowSelectionMode>

Types of window selection on chart panel.


Enum Constant Summary
SELECT_ADD
          Add objects to the selection on window selection.
SELECT_REMOVE
          Remove objects from the selection on window selection.
SELECT_SET
          Set the set of selected objects to the inclusions of the window selection.
SELECT_SWAP
          Swap the "selection-state" of data objects in the chart on window selection.
ZOOM_IN_CHART
          Zoom on window selection (normal behavior of org.jfree.chart.ChartPanel)
 
Method Summary
static SelectableChartPanel.WindowSelectionMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SelectableChartPanel.WindowSelectionMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ZOOM_IN_CHART

public static final SelectableChartPanel.WindowSelectionMode ZOOM_IN_CHART
Zoom on window selection (normal behavior of org.jfree.chart.ChartPanel)


SELECT_SWAP

public static final SelectableChartPanel.WindowSelectionMode SELECT_SWAP
Swap the "selection-state" of data objects in the chart on window selection.


SELECT_SET

public static final SelectableChartPanel.WindowSelectionMode SELECT_SET
Set the set of selected objects to the inclusions of the window selection.


SELECT_ADD

public static final SelectableChartPanel.WindowSelectionMode SELECT_ADD
Add objects to the selection on window selection.


SELECT_REMOVE

public static final SelectableChartPanel.WindowSelectionMode SELECT_REMOVE
Remove objects from the selection on window selection.

Method Detail

values

public static SelectableChartPanel.WindowSelectionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SelectableChartPanel.WindowSelectionMode c : SelectableChartPanel.WindowSelectionMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SelectableChartPanel.WindowSelectionMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null