public class DisplayImage extends stream.AbstractProcessor implements WindowListener
| Modifier and Type | Class and Description |
|---|---|
static class |
DisplayImage.ImagePanel |
| Constructor and Description |
|---|
DisplayImage() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
String |
getKey() |
String |
getOnClose() |
void |
init(stream.ProcessContext ctx) |
boolean |
isOnTop() |
stream.Data |
process(stream.Data input) |
void |
setImage(String img) |
void |
setKey(String key) |
void |
setOnClose(String onClose) |
void |
setOnTop(boolean onTop) |
void |
windowActivated(WindowEvent e) |
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e) |
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
public stream.Data process(stream.Data input)
process in interface stream.Processorstream.Processor#process(stream.data.Data)public void init(stream.ProcessContext ctx)
throws Exception
init in interface stream.StatefulProcessorinit in class stream.AbstractProcessorExceptionAbstractProcessor.init(stream.ProcessContext)public void finish()
throws Exception
finish in interface stream.StatefulProcessorfinish in class stream.AbstractProcessorExceptionAbstractProcessor.finish()public String getKey()
@Parameter(description="The name/key of the attribute containing the RGB image object, defaults to `image`.") public void setImage(String img)
key - the key to setpublic void setKey(String key)
public boolean isOnTop()
public void setOnTop(boolean onTop)
onTop - the onTop to setpublic String getOnClose()
@Parameter(description="If set to `shutdown`, closing the window will shutdown the JVM (ie. the process container).") public void setOnClose(String onClose)
onClose - the onClose to setpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerWindowListener.windowOpened(java.awt.event.WindowEvent)public void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerWindowListener.windowClosing(java.awt.event.WindowEvent)public void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerWindowListener.windowClosed(java.awt.event.WindowEvent)public void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerWindowListener.windowIconified(java.awt.event.WindowEvent)public void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerWindowListener.windowDeiconified(java.awt.event.WindowEvent)public void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerWindowListener.windowActivated(java.awt.event.WindowEvent)public void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerWindowListener.windowDeactivated(java.awt.event.WindowEvent)Copyright © 2015. All rights reserved.