|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.chart.model.AbstractDelegatingChartModel
com.jidesoft.chart.model.FilterableChartModel
public class FilterableChartModel
A simple implementation of a FilteringChartModel. TODO: Not the best implementation, as it maintains a model of its own instead of delegating all calls
| Constructor Summary | |
|---|---|
FilterableChartModel()
|
|
FilterableChartModel(AnnotatedChartModel delegate)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
applyFilter()
|
boolean |
equals(Object obj)
|
Annotation |
getAnnotation(int n)
Gets the nth annotation. |
int |
getAnnotationCount()
Returns the number of annotations |
Filter<Chartable> |
getFilter()
|
Chartable |
getPoint(int n)
Gets the nth point. |
int |
getPointCount()
Gets the number of points in the data set |
int |
hashCode()
|
boolean |
isAnnotationsVisible()
Use this method to discover whether annotations should be shown or hidden. |
void |
setAnnotationsVisible(boolean visible)
Specify whether annotations should be shown |
void |
setFilter(Filter<Chartable> filter)
|
protected void |
update()
|
| Methods inherited from class com.jidesoft.chart.model.AbstractDelegatingChartModel |
|---|
addChartModelListener, chartModelChanged, fireModelChanged, getDelegate, getDelegate, getDelegates, getName, init, isCyclical, iterator, removeChartModelListener, setDelegate, setDelegates, setDelegates, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterableChartModel()
public FilterableChartModel(AnnotatedChartModel delegate)
delegate - the delegate chart model| Method Detail |
|---|
public int getAnnotationCount()
AnnotationModel
getAnnotationCount in interface AnnotationModelgetAnnotationCount in class AbstractDelegatingChartModelAbstractDelegatingChartModel.getAnnotationCount()public Annotation getAnnotation(int n)
AnnotationModel
getAnnotation in interface AnnotationModelgetAnnotation in class AbstractDelegatingChartModeln - the index.
AbstractDelegatingChartModel.getAnnotation(int)public boolean isAnnotationsVisible()
AnnotationModel
public void setAnnotationsVisible(boolean visible)
AnnotationModel
visible - whether annotations should be shownpublic Chartable getPoint(int n)
ChartModel
getPoint in interface ChartModelgetPoint in class AbstractDelegatingChartModeln - the index
ChartModel.AbstractDelegatingChartModel.getPoint(int)public int getPointCount()
ChartModel
getPointCount in interface ChartModelgetPointCount in class AbstractDelegatingChartModelAbstractDelegatingChartModel.getPointCount()public Filter<Chartable> getFilter()
public void setFilter(Filter<Chartable> filter)
protected void applyFilter()
protected void update()
update in class AbstractDelegatingChartModelAbstractDelegatingChartModel.update()public int hashCode()
hashCode in class AbstractDelegatingChartModelpublic boolean equals(Object obj)
equals in class AbstractDelegatingChartModel
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||