|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
com.panayotis.gnuplot.PropertiesHolder
com.panayotis.gnuplot.terminal.ExpandableTerminal
com.panayotis.gnuplot.terminal.FileTerminal
com.panayotis.gnuplot.terminal.ImageTerminal
public class ImageTerminal
This terminal is able to process gnuplot output as an image. The image produced can be used by any Java object which is able to handle BufferedImage
| Field Summary |
|---|
| Fields inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
NL |
| Constructor Summary | |
|---|---|
ImageTerminal()
Create a new image terminal, and use PNG as it's backend |
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
getImage()
Get a handler of the produced image by this terminal |
java.lang.String |
processOutput(java.io.InputStream stdout)
Read the produced image from gnuplot standard output |
| Methods inherited from class com.panayotis.gnuplot.terminal.FileTerminal |
|---|
getOutputFile |
| Methods inherited from class com.panayotis.gnuplot.terminal.ExpandableTerminal |
|---|
getType |
| Methods inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
appendProperties, set, set, unset |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ImageTerminal()
| Method Detail |
|---|
public java.lang.String processOutput(java.io.InputStream stdout)
processOutput in interface GNUPlotTerminalprocessOutput in class ExpandableTerminalstdout - The gnuplot output stream
public java.awt.image.BufferedImage getImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||