|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object insensa.view.image.ImageChartTestPlugin
public class ImageChartTestPlugin
Nested Class Summary | |
---|---|
class |
ImageChartTestPlugin.DropInfoListener
|
(package private) class |
ImageChartTestPlugin.myMouseListener
|
Field Summary | |
---|---|
private org.jfree.chart.ChartPanel |
chartPanel
|
private CCountValues |
counts
|
(package private) double[][] |
data
|
private java.util.List<InfoReader> |
infoReaderList
|
(package private) double |
maxCount
|
private org.jfree.chart.plot.XYPlot |
plot
|
private java.lang.String |
title
|
Constructor Summary | |
---|---|
ImageChartTestPlugin()
|
Method Summary | |
---|---|
void |
addInfoReader(InfoReader iReader)
Implement this method to check and store one incoming InfoReader |
void |
addInfoReader(java.util.List<InfoReader> iReader)
Implement this method to check and store a List of incoming InfoReader |
private org.jfree.chart.JFreeChart |
createXYChart(org.jfree.data.xy.XYDataset dataset,
java.lang.String title)
Creates a chart. |
private org.jfree.data.xy.XYDataset |
createXYDataset()
|
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()
|
javax.swing.JComponent |
getPanel()
|
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 d)
Gets called whenever the ImageFrame is resizing. |
void |
setCView(CView view)
Reference to the CView |
void |
setImageFrame(ImageFrame parent)
Reference to the ImageFrame |
void |
setTitle(java.lang.String title)
Sets the title for this ImageFrame. |
void |
startView(java.awt.Dimension dim,
java.awt.Dimension componentDimension)
This is a secondary starting progress. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private CCountValues counts
private org.jfree.chart.ChartPanel chartPanel
private org.jfree.chart.plot.XYPlot plot
double[][] data
double maxCount
private java.lang.String title
private java.util.List<InfoReader> infoReaderList
Constructor Detail |
---|
public ImageChartTestPlugin()
Method Detail |
---|
public void addInfoReader(InfoReader iReader)
IInfoReaderImageView
addInfoReader
in interface IInfoReaderImageView
IInfoReaderImageView.addInfoReader(insensa.inforeader.InfoReader)
public void addInfoReader(java.util.List<InfoReader> iReader)
IInfoReaderImageView
addInfoReader
in interface IInfoReaderImageView
IInfoReaderImageView.addInfoReader(java.util.List)
private org.jfree.chart.JFreeChart createXYChart(org.jfree.data.xy.XYDataset dataset, java.lang.String title)
dataset
- title
-
private org.jfree.data.xy.XYDataset createXYDataset() 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 javax.swing.JComponent getPanel()
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 d) throws java.io.IOException
IImageView
resizeImage
in interface IImageView
d
- The inner dimension of the ImageFrame
java.io.IOException
IImageView.resizeImage(java.awt.Dimension)
public void setCView(CView view)
IImageView
setCView
in interface IImageView
IImageView.setCView(insensa.view.CView)
public void setImageFrame(ImageFrame parent)
IImageView
setImageFrame
in interface IImageView
IImageView.setImageFrame(insensa.view.image.ImageFrame)
public void setTitle(java.lang.String title)
IImageView
setTitle
in interface IImageView
IImageView.setTitle(java.lang.String)
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 |