public class DataPlot extends DataContainer
DataContainer of DataCurves.| Modifier and Type | Field and Description |
|---|---|
static String |
CURVES_KEY
Config parameter key.
|
static String |
DATA_KEY
Config parameter key.
|
| Constructor and Description |
|---|
DataPlot()
Creates an empty instance.
|
DataPlot(ConfigParameters config)
Creates an instance from the specified config parameters.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
addDataListener, addElement, getElement, getIndexOf, getNumberOfElements, insertElementAt, removeDataListener, removeElementAt, replaceElementAtpublic static final String CURVES_KEY
public static final String DATA_KEY
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. |
public static DataPlot create(ConfigParameters config)
protected boolean isValid(DataElement element)
DataCurve.isValid in class DataContainerelement - DataElement to be checked.Copyright © 2015. All Rights Reserved.