|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.engine.util.DataPlotter
public class DataPlotter
A DataPltotter is a simple DataProcessor that is able to do 2d-plots. The input data is supossed to arrive in multidimensional vectors, that is, each time a IntData, ShortData or DoubleData is received, each one is supossed to ve a n-dimenssional dot.
| Nested Class Summary | |
|---|---|
static class |
DataPlotter.Style
|
| Field Summary |
|---|
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
DataPlotter()
|
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
int |
getHeight()
Getter for property height. |
DataPlotter.Style |
getStyle()
Getter for property style. |
int |
getWidth()
Getter for property width. |
int |
getXdataindex()
Getter for property xdataindex. |
int |
getYdataindex()
Getter for property ydataindex. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer none)
Generates the plot on a JFrame. |
void |
setContainer(java.awt.Container container)
Creates a new instance of DataPlotter2 |
void |
setHeight(int height)
Setter for property height. |
void |
setStyle(DataPlotter.Style style)
Setter for property style. |
void |
setWidth(int width)
Setter for property width. |
void |
setXdataindex(int xdataindex)
Setter for property xdataindex. |
void |
setYdataindex(int ydataindex)
Setter for property ydataindex. |
| Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataPlotter()
| Method Detail |
|---|
public void setContainer(java.awt.Container container)
public void process(Buffer in,
Buffer none)
throws DataProcessorException
in - Input Buffernone - Output Buffer
DataProcessorExceptionpublic int getWidth()
public void setWidth(int width)
width - New value of property width.public int getHeight()
public void setHeight(int height)
height - New value of property height.public int getXdataindex()
public void setXdataindex(int xdataindex)
xdataindex - New value of property xdataindex.public int getYdataindex()
public void setYdataindex(int ydataindex)
ydataindex - New value of property ydataindex.public DataPlotter.Style getStyle()
public void setStyle(DataPlotter.Style style)
style - New value of property style.public void editBeanInfo(java.beans.BeanInfo info)
editBeanInfo in class AbstractDataProcessor
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||