public enum TrackBallSnapMode extends Enum<TrackBallSnapMode>
ChartTrackBallBehavior
or a
ChartPopupBehavior
instance should snap to the closest to a physical lastLocation data points.Enum Constant and Description |
---|
ALL_CLOSE_POINTS
The behavior will snap to the closest data points from all chart series.
|
CLOSEST_POINT
The behavior will snap to the closest data point, regardless of the chart series that own it.
|
NONE
The trackball will not be snapped to any of the closest data points.
|
Modifier and Type | Method and Description |
---|---|
static TrackBallSnapMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackBallSnapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackBallSnapMode NONE
public static final TrackBallSnapMode CLOSEST_POINT
public static final TrackBallSnapMode ALL_CLOSE_POINTS
public static TrackBallSnapMode[] values()
for (TrackBallSnapMode c : TrackBallSnapMode.values()) System.out.println(c);
public static TrackBallSnapMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null