JIDE 3.5.15

com.jidesoft.chart.filter
Class AxisFilter

java.lang.Object
  extended by 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)

Constructor Summary
AxisFilter()
           
AxisFilter(double min, double max)
           
AxisFilter(Orientation orientation)
           
AxisFilter(Orientation orientation, double min, double max)
           
 
Method Summary
 Double getMax()
           
 Double getMin()
           
 Orientation getOrientation()
           
 boolean isValueFiltered(Chartable p)
          Specifies whether the object should be removed by the filter
 void setMax(Double max)
           
 void setMin(Double min)
           
 void setOrientation(Orientation orientation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AxisFilter

public AxisFilter()

AxisFilter

public AxisFilter(Orientation orientation)

AxisFilter

public AxisFilter(double min,
                  double max)

AxisFilter

public AxisFilter(Orientation orientation,
                  double min,
                  double max)
Method Detail

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

JIDE 3.5.15