public class ShowViewer extends Object implements stream.StatefulProcessor
Modifier and Type | Field and Description |
---|---|
String |
key
The key for the data to be displayed on the screen
|
Integer[] |
range |
Constructor and Description |
---|
ShowViewer() |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
void |
init(stream.ProcessContext context) |
stream.Data |
process(stream.Data item) |
void |
resetState() |
void |
setRange(Integer[] range) |
@Parameter(required=true) public String key
@Parameter(required=false, description="The default plot range in the main viewer") public Integer[] range
public void setRange(Integer[] range)
public void init(stream.ProcessContext context) throws Exception
init
in interface stream.StatefulProcessor
Exception
public stream.Data process(stream.Data item)
process
in interface stream.Processor
Processor.process(stream.Data)
public void resetState() throws Exception
resetState
in interface stream.StatefulProcessor
Exception
Copyright © 2019. All rights reserved.