com.jidesoft.chart.filter
Class AxisFilter
java.lang.Object
com.jidesoft.chart.filter.AxisFilter
- All Implemented Interfaces:
- Filter<Chartable>
public class AxisFilter
- extends Object
- implements Filter<Chartable>
A class that enables you to create one or more filters on chartable points. For example, only display points in the
region p <= x <= q is an AxisFilter on x
- Author:
- Simon White (swhite@catalysoft.com)
AxisFilter
public AxisFilter()
AxisFilter
public AxisFilter(Orientation orientation)
AxisFilter
public AxisFilter(double min,
double max)
AxisFilter
public AxisFilter(Orientation orientation,
double min,
double max)
getMin
public Double getMin()
setMin
public void setMin(Double min)
getMax
public Double getMax()
setMax
public void setMax(Double max)
getOrientation
public Orientation getOrientation()
setOrientation
public void setOrientation(Orientation orientation)
isValueFiltered
public boolean isValueFiltered(Chartable p)
- Description copied from interface:
Filter
- Specifies whether the object should be removed by the filter
- Specified by:
isValueFiltered
in interface Filter<Chartable>
- Parameters:
p
- the input object to test for removal
- Returns:
- a boolean to indicate whether the object is to be removed
toString
public String toString()
- Overrides:
toString
in class Object