|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageView
Interface for Creating a new Window by Drop Down Action. This Interface can be used by every view that uses a JComponent as main frame (eg. JPanel,JScrollPane...)! Usually you don't implement this Interface directly but use the Sub-Interfaces for a specific object.
IInfoReaderImageView
,
IConnectionImageView
,
IRasterFileImageView
Method Summary | |
---|---|
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()
Deprecated. this should't be usefull |
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 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 |
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. |
Method Detail |
---|
ImageComponent[] getChildComponents()
javax.swing.JComponent getComponent()
javax.swing.JComponent getDropTargetComponent()
javax.swing.ImageIcon getFrameIcon()
ImageFrame getImageFrame()
void initImage(java.awt.Dimension componentDim) throws java.io.IOException
componentDim
- the dimension of the parent ImageFrame
java.io.IOException
ImageFrame
,
Dimension
void onDropObjects(java.util.List<java.lang.Object> objectList) throws java.io.IOException
getDropTargetComponent()
.
For example, it could be a List of IInfoReader or CRasterFileInformation
objectList
-
java.io.IOException
void refresh(java.awt.Dimension dim) throws java.io.IOException
dim
- The inner dimension of the ImageFrame
java.io.IOException
void resizeImage(java.awt.Dimension dim) throws java.io.IOException
dim
- The inner dimension of the ImageFrame
java.io.IOException
void setCView(CView view)
insensa.view
- CView
void setImageFrame(ImageFrame parent)
parent
- ImageFrame
void setTitle(java.lang.String title)
title
- void startView(java.awt.Dimension dim, java.awt.Dimension componentDimension) throws java.io.IOException
initImage(Dimension)
dim
- The Dimension of the Internal FramecomponentDimension
- The Component Dimension
java.io.IOException
- initImage(Dimension)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |