|
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.TransposingChartModel
public class TransposingChartModel
A ChartModel that swaps the x and y coordinates of its delegate when the transposing property is set to true.
| Constructor Summary | |
|---|---|
TransposingChartModel(AnnotatedChartModel delegate)
|
|
TransposingChartModel(AnnotatedChartModel delegate,
String name)
|
|
| Method Summary | |
|---|---|
Annotation |
getAnnotation(int n)
Gets the nth annotation. |
int |
getAnnotationCount()
Returns the number of annotations |
Chartable |
getPoint(int n)
Gets the nth point. |
int |
getPointCount()
Gets the number of points in the data set |
boolean |
isAnnotationsVisible()
Use this method to discover whether annotations should be shown or hidden. |
boolean |
isTransposing()
|
void |
setAnnotationsVisible(boolean visible)
Specify whether annotations should be shown |
void |
setTransposing(boolean transposing)
|
protected void |
update()
|
| Methods inherited from class com.jidesoft.chart.model.AbstractDelegatingChartModel |
|---|
addChartModelListener, chartModelChanged, equals, fireModelChanged, getDelegate, getDelegate, getDelegates, getName, hashCode, 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 TransposingChartModel(AnnotatedChartModel delegate)
public TransposingChartModel(AnnotatedChartModel delegate,
String name)
| Method Detail |
|---|
public int getAnnotationCount()
AnnotationModel
getAnnotationCount in interface AnnotationModelgetAnnotationCount in class AbstractDelegatingChartModelpublic Annotation getAnnotation(int n)
AnnotationModel
getAnnotation in interface AnnotationModelgetAnnotation in class AbstractDelegatingChartModeln - the index.
public boolean isAnnotationsVisible()
AnnotationModel
public void setAnnotationsVisible(boolean visible)
AnnotationModel
visible - whether annotations should be shownpublic boolean isTransposing()
public void setTransposing(boolean transposing)
public Chartable getPoint(int n)
ChartModel
getPoint in interface ChartModelgetPoint in class AbstractDelegatingChartModeln - the index
ChartModel.public int getPointCount()
ChartModel
getPointCount in interface ChartModelgetPointCount in class AbstractDelegatingChartModelprotected void update()
update in class AbstractDelegatingChartModel
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||