|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.chart.model.LeanMemoryChartModel
public final class LeanMemoryChartModel
| Constructor Summary | |
|---|---|
LeanMemoryChartModel(double[][] points)
|
|
LeanMemoryChartModel(List<double[]> points)
|
|
LeanMemoryChartModel(String name,
double[][] points)
|
|
LeanMemoryChartModel(String name,
List<double[]> points)
|
|
| Method Summary | |
|---|---|
void |
addChartModelListener(ChartModelListener listener)
Register the listener's interest in this chart model. |
boolean |
equals(Object obj)
|
protected void |
fireModelChanged()
|
String |
getName()
The name of a ChartModel is important, as different chart models are assumed to have different names. |
Chartable |
getPoint(int n)
Gets the nth point. |
int |
getPointCount()
Gets the number of points in the data set |
double[] |
getPointPositions(int n)
|
int |
hashCode()
|
protected void |
init()
|
boolean |
isCyclical()
Should a line be drawn from the last to the first point? |
Iterator<Chartable> |
iterator()
|
void |
removeChartModelListener(ChartModelListener listener)
De-register the listener's interest in this chart model. |
void |
setCyclical(boolean cyclical)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeanMemoryChartModel(List<double[]> points)
public LeanMemoryChartModel(double[][] points)
public LeanMemoryChartModel(String name,
List<double[]> points)
public LeanMemoryChartModel(String name,
double[][] points)
| Method Detail |
|---|
protected void init()
public String getName()
ChartModelChart, make sure they have different names.
getName in interface ChartModelgetName in interface Namedpublic Chartable getPoint(int n)
ChartModel
getPoint in interface ChartModeln - the index
ChartModel.public double[] getPointPositions(int n)
getPointPositions in interface LeanChartModelpublic int getPointCount()
ChartModel
getPointCount in interface ChartModelpublic void setCyclical(boolean cyclical)
public boolean isCyclical()
ChartModel
isCyclical in interface ChartModelprotected void fireModelChanged()
public void addChartModelListener(ChartModelListener listener)
ChartModel
addChartModelListener in interface ChartModellistener - the listener that will receive eventspublic void removeChartModelListener(ChartModelListener listener)
ChartModel
removeChartModelListener in interface ChartModellistener - the listener that will no longer receive eventspublic Iterator<Chartable> iterator()
iterator in interface Iterable<Chartable>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||