public abstract class DataVisualizer extends ConditionedProcessor
This class is a base class for a data processor that allows for a visualization of data items received.
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
height |
(package private) Long |
updateInterval |
protected Integer |
width |
conditioncontext| Constructor and Description |
|---|
DataVisualizer() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHeight() |
Long |
getUpdateInterval() |
Integer |
getWidth() |
Data |
processMatchingData(Data data) |
void |
setHeight(Integer height) |
void |
setUpdateInterval(String updateInterval) |
void |
setWidth(Integer width) |
getCondition, matches, process, setConditionfinish, init, resetStateprotected Integer width
protected Integer height
Long updateInterval
public Integer getWidth()
@Parameter(required=false, min=0.0, max=2048.0, description="Preferred width of the visualization component") public void setWidth(Integer width)
width - the width to setpublic Integer getHeight()
@Parameter(required=false, min=0.0, max=1536.0, description="Preferred height of the visualization component") public void setHeight(Integer height)
height - the height to setpublic Long getUpdateInterval()
public void setUpdateInterval(String updateInterval)
updateInterval - the updateInterval to setpublic Data processMatchingData(Data data)
processMatchingData in class ConditionedProcessorConditionedDataProcessorCopyright © 2017. All rights reserved.