@KFStep(name="TextViewer", category="Visualization", toolTipText="View textual output", iconPath="weka/gui/knowledgeflow/icons/DefaultText.gif") public class TextViewer extends BaseStep implements DataCollector
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextViewer.TextNotificationListener |
| Constructor and Description |
|---|
TextViewer() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Map<String,String> |
getInteractiveViewers()
When running in a graphical execution environment a step can make one or
more popup Viewer components available.
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
Map<String,String> |
getResults() |
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
removeTextNotificationListener(TextViewer.TextNotificationListener l) |
void |
restoreData(Object data)
Set the data for this collector
|
Object |
retrieveData()
Get the data that this collector has collected
|
void |
setTextNotificationListener(TextViewer.TextNotificationListener l) |
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, start, stoppublic void stepInit()
StepstepInit in interface BaseStepExtenderstepInit in interface Steppublic List<String> getIncomingConnectionTypes()
StepgetIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic List<String> getOutgoingConnectionTypes()
StepgetOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic void processIncoming(Data data) throws WekaException
BaseStepprocessIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaException - if a problem occurspublic Map<String,String> getInteractiveViewers()
BaseStepgetInteractiveViewers in interface StepgetInteractiveViewers in class BaseSteppublic Object retrieveData()
DataCollectorretrieveData in interface DataCollectorpublic void restoreData(Object data)
DataCollectorrestoreData in interface DataCollectordata - the data to setpublic void setTextNotificationListener(TextViewer.TextNotificationListener l)
public void removeTextNotificationListener(TextViewer.TextNotificationListener l)
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.