|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcckit.data.DataContainer
jcckit.data.DataPlot
public class DataPlot
A plot is a DataContainer
of DataCurves
.
Field Summary | |
---|---|
static String |
CURVES_KEY
Config parameter key. |
static String |
DATA_KEY
Config parameter key. |
Constructor Summary | |
---|---|
DataPlot()
Creates an empty instance. |
|
DataPlot(ConfigParameters config)
Creates an instance from the specified config parameters. |
Method Summary | |
---|---|
static DataPlot |
create(ConfigParameters config)
Convenient method to create a DataPlot based on the specified config parameters. |
protected boolean |
isValid(DataElement element)
Returns true if element is an instance of DataCurve . |
Methods inherited from class jcckit.data.DataContainer |
---|
addDataListener, addElement, getElement, getIndexOf, getNumberOfElements, insertElementAt, removeDataListener, removeElementAt, replaceElementAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CURVES_KEY
public static final String DATA_KEY
Constructor Detail |
---|
public DataPlot()
public DataPlot(ConfigParameters config)
Key & Default Value | Type | Mandatory | Description |
---|---|---|---|
curves | String[] | yes | List of keys denoting data curves. Each key refers to
config parameters used in the
constructor of DataCurve . |
Method Detail |
---|
public static DataPlot create(ConfigParameters config)
protected boolean isValid(DataElement element)
DataCurve
.
isValid
in class DataContainer
element
- DataElement to be checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |