|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object insensa.view.image.AbstractImageView insensa.view.image.ScatterPlotViewer
public class ScatterPlotViewer
Nested Class Summary | |
---|---|
private class |
ScatterPlotViewer.FormularComponent
|
class |
ScatterPlotViewer.legendMotionListener
|
class |
ScatterPlotViewer.legendMouseAdapter
|
Field Summary | |
---|---|
private org.jfree.chart.ChartPanel |
chartPanel
|
private java.awt.Dimension |
dimension
|
private javax.swing.JComponent |
formularComponent
|
private ImageFrame |
imageFrame
|
private javax.swing.JLabel |
label
|
private double |
maxValue
|
private javax.swing.JCheckBoxMenuItem |
menuItemFormular
|
private javax.swing.JCheckBoxMenuItem |
menuItemRegLine
|
private double |
minValue
|
private java.awt.Point |
offset
|
private javax.swing.JPanel |
panel
|
private org.jfree.chart.plot.XYPlot |
plot
|
private int |
pointCount
|
private java.awt.Point |
position
|
private javax.swing.JProgressBar |
progressBar
|
private java.util.List<CRasterFileInformation> |
rasterFileList
|
private org.jfree.data.xy.XYDataset |
regDataset
|
private double[] |
regValues
|
Fields inherited from class insensa.view.image.AbstractImageView |
---|
title, view |
Constructor Summary | |
---|---|
ScatterPlotViewer()
|
Method Summary | |
---|---|
void |
addRasterFileInformation(CRasterFileInformation rasterFile)
|
void |
addrasterFileinformation(java.util.List<CRasterFileInformation> rasterFileList)
|
java.awt.image.BufferedImage |
createBufferedImage(javax.swing.JComponent component,
int imageType)
|
private void |
createChart()
|
private org.jfree.data.xy.XYDataset |
createData()
|
ImageComponent[] |
getChildComponents()
This method will be used by the ImageFrame to put Components in separate Layers. |
javax.swing.JComponent |
getComponent()
returns the main JComponent (parent JComponent). |
javax.swing.JComponent |
getDropTargetComponent()
Return a JComponent that can be used as a target for Drop actions |
javax.swing.ImageIcon |
getFrameIcon()
|
ImageFrame |
getImageFrame()
|
void |
initImage(java.awt.Dimension componentDim)
This method will be executed by the Controller. |
void |
onDropObjects(java.util.List<java.lang.Object> objectList)
This method allows to deal with Objects droped on the JComponent previsiuly defined in IImageView.getDropTargetComponent() . |
void |
refresh(java.awt.Dimension dim)
Gets called if the refresh button is pressed or if a refresh is necessary |
void |
resizeImage(java.awt.Dimension dim)
Gets called whenever the ImageFrame is resizing. |
void |
setImageFrame(ImageFrame parent)
Reference to the ImageFrame |
void |
startView(java.awt.Dimension dim,
java.awt.Dimension componentDimension)
This is a secondary starting progress. |
Methods inherited from class insensa.view.image.AbstractImageView |
---|
setCView, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface insensa.view.image.IImageView |
---|
setCView, setTitle |
Field Detail |
---|
private java.util.List<CRasterFileInformation> rasterFileList
private int pointCount
private java.awt.Point position
private java.awt.Point offset
private org.jfree.chart.ChartPanel chartPanel
private javax.swing.JPanel panel
private javax.swing.JLabel label
private javax.swing.JProgressBar progressBar
private java.awt.Dimension dimension
private double minValue
private double maxValue
private org.jfree.data.xy.XYDataset regDataset
private org.jfree.chart.plot.XYPlot plot
private javax.swing.JComponent formularComponent
private ImageFrame imageFrame
private javax.swing.JCheckBoxMenuItem menuItemRegLine
private javax.swing.JCheckBoxMenuItem menuItemFormular
private double[] regValues
Constructor Detail |
---|
public ScatterPlotViewer()
Method Detail |
---|
public void addrasterFileinformation(java.util.List<CRasterFileInformation> rasterFileList)
addrasterFileinformation
in interface IRasterFileImageView
IRasterFileImageView.addrasterFileinformation(java.util.List)
public void addRasterFileInformation(CRasterFileInformation rasterFile)
addRasterFileInformation
in interface IRasterFileImageView
IRasterFileImageView.addRasterFileInformation(insensa.CRasterFileInformation)
public java.awt.image.BufferedImage createBufferedImage(javax.swing.JComponent component, int imageType)
component
- imageType
-
private void createChart()
private org.jfree.data.xy.XYDataset createData() throws java.io.IOException
java.io.IOException
public ImageComponent[] getChildComponents()
IImageView
getChildComponents
in interface IImageView
IImageView.getChildComponents()
public javax.swing.JComponent getComponent()
IImageView
getComponent
in interface IImageView
IImageView.getComponent()
public javax.swing.JComponent getDropTargetComponent()
IImageView
getDropTargetComponent
in interface IImageView
IImageView.getDropTargetComponent()
public javax.swing.ImageIcon getFrameIcon()
getFrameIcon
in interface IImageView
IImageView.getFrameIcon()
public ImageFrame getImageFrame()
getImageFrame
in interface IImageView
IImageView.getImageFrame()
public void initImage(java.awt.Dimension componentDim) throws java.io.IOException
IImageView
initImage
in interface IImageView
componentDim
- the dimension of the parent ImageFrame
java.io.IOException
IImageView.initImage(java.awt.Dimension)
public void onDropObjects(java.util.List<java.lang.Object> objectList) throws java.io.IOException
IImageView
IImageView.getDropTargetComponent()
.
For example, it could be a List of IInfoReader or CRasterFileInformation
onDropObjects
in interface IImageView
java.io.IOException
IImageView.onDropObjects(java.util.List)
public void refresh(java.awt.Dimension dim) throws java.io.IOException
IImageView
refresh
in interface IImageView
dim
- The inner dimension of the ImageFrame
java.io.IOException
IImageView.refresh(java.awt.Dimension)
public void resizeImage(java.awt.Dimension dim) throws java.io.IOException
IImageView
resizeImage
in interface IImageView
dim
- The inner dimension of the ImageFrame
java.io.IOException
IImageView.resizeImage(java.awt.Dimension)
public void setImageFrame(ImageFrame parent)
IImageView
setImageFrame
in interface IImageView
IImageView.setImageFrame(insensa.view.image.ImageFrame)
public void startView(java.awt.Dimension dim, java.awt.Dimension componentDimension) throws java.io.IOException
IImageView
IImageView.initImage(Dimension)
startView
in interface IImageView
dim
- The Dimension of the Internal FramecomponentDimension
- The Component Dimension
java.io.IOException
- IImageView.initImage(Dimension)
IImageView.startView(java.awt.Dimension, java.awt.Dimension)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |