|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.PseudoArrayDataModel
public class PseudoArrayDataModel extends java.lang.Object implements ChartDataModelListener, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ArrayDataModel |
model
|
protected AxisMapper |
xMapper
|
protected AxisMapper |
yMapper
|
| Constructor and Description |
|---|
PseudoArrayDataModel(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
calculateNullPointValue(ArrayDataModel model,
int index)
Calculates x or y values instead of null values in data model. |
java.lang.Object |
calculateNullValue(ArrayDataModel model,
DataColumnType valType,
int index)
|
boolean |
containsNulls(DataColumnType valType,
int index)
Checks if there are nulls in the data model contained in the lower parts of the stacked series |
void |
dispose()
Disposes object |
protected void |
finalize()
|
PseudoArrayDataModel |
getBottomPseudoModel()
|
java.lang.Object |
getValueAt(DataColumnType valType,
int index)
|
protected java.lang.Object |
getX(ArrayDataModel model,
int index)
Gets x value |
protected java.lang.Object |
getY(ArrayDataModel model,
int index)
Gets y value |
boolean |
isValueNull(int index)
Checks if there are points in the data model (stacked ones or not stacked ones) where both points are null |
void |
modelChanged(DataModelChangeEvent event)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AxisMapper xMapper
protected AxisMapper yMapper
protected ArrayDataModel model
| Constructor Detail |
|---|
public PseudoArrayDataModel(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
| Method Detail |
|---|
public void dispose()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void modelChanged(DataModelChangeEvent event)
modelChanged in interface ChartDataModelListenerpublic boolean isValueNull(int index)
index - index of the data point
public java.lang.Object getValueAt(DataColumnType valType,
int index)
public java.lang.Object calculateNullValue(ArrayDataModel model,
DataColumnType valType,
int index)
public boolean containsNulls(DataColumnType valType,
int index)
index - index of the data point
public java.lang.Object calculateNullPointValue(ArrayDataModel model,
int index)
index - index of the data point
protected java.lang.Object getX(ArrayDataModel model,
int index)
model - data model from where to retrieve xindex - index of the data point
protected java.lang.Object getY(ArrayDataModel model,
int index)
model - data model from where to retrieve yindex - index of the data pointpublic PseudoArrayDataModel getBottomPseudoModel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||