public class GraphAnalyzerChartItem extends ChartItem
chartItemSpecification, CONTINUE, flowChartinstance, NEWITERATION, TERMINATE
Constructor and Description |
---|
GraphAnalyzerChartItem() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification)
Initialize the chart item
|
int |
postprocess(int signal)
Cause the chart item to perform the postprocess tasks
|
int |
preprocess(int signal)
Cause the chart item to perform the preprocess tasks
|
int |
process(int signal)
Cause the chart item to perform the process task (for every sentence)
|
void |
terminate()
Terminates and cleans up the chart item
|
getChartElement, getChartItemSpecification, getFlowChartInstance, getOptionContainerIndex, setChartItemSpecification, setFlowChartInstance
public GraphAnalyzerChartItem()
public void initialize(FlowChartInstance flowChartinstance, ChartItemSpecification chartItemSpecification) throws MaltChainedException
ChartItem
initialize
in class ChartItem
flowChartinstance
- the flow chart instance that the chart item belongs tochartItemSpecification
- a specification of the chart itemMaltChainedException
public int preprocess(int signal) throws MaltChainedException
ChartItem
preprocess
in class ChartItem
signal
- returned by the previous chart itemMaltChainedException
public int process(int signal) throws MaltChainedException
ChartItem
process
in class ChartItem
signal
- returned by the previous chart itemMaltChainedException
public int postprocess(int signal) throws MaltChainedException
ChartItem
postprocess
in class ChartItem
signal
- returned by the previous chart itemMaltChainedException
public void terminate() throws MaltChainedException
ChartItem
terminate
in class ChartItem
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.