public class AxisConstraintStrategies extends Object
AxisConstraintStrategy
.Constructor and Description |
---|
AxisConstraintStrategies() |
Modifier and Type | Method and Description |
---|---|
static AxisConstraintStrategy |
getDefault()
The default strategy restricts to horizontal axis if event is in the X axis, vertical if in Y axis, else allows
both axes.
|
static AxisConstraintStrategy |
getFixed(AxisConstraint constraint)
Returns a strategy that always returns the given
AxisConstraint . |
static AxisConstraintStrategy |
getIgnoreOutsideChart()
Restricts to horizontal axis if event is in the X axis, vertical if in Y axis, allows both if in the plot area,
or none if in none of those areas.
|
public static AxisConstraintStrategy getDefault()
public static AxisConstraintStrategy getIgnoreOutsideChart()
public static AxisConstraintStrategy getFixed(AxisConstraint constraint)
AxisConstraint
.Copyright © 2013–2016 Jason Winnebeck. All rights reserved.