public static class RubberSheetImage.Controller extends java.lang.Object implements java.awt.event.ActionListener, SelectListener
Constructor and Description |
---|
Controller(RubberSheetImage.AppFrame appFrame) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
protected void |
addNonGeoreferencedSurfaceImage(java.io.File file,
java.awt.image.BufferedImage image,
WorldWindow wwd) |
protected void |
addSurfaceImage(SurfaceImage surfaceImage,
java.lang.String name) |
protected SurfaceImage |
createGeoreferencedSurfaceImage(java.io.File file,
java.awt.image.BufferedImage image) |
protected SurfaceImage |
createSurfaceImageFromControlPoints(java.awt.image.BufferedImage image,
RasterControlPointList controlPoints) |
protected SurfaceImage |
createSurfaceImageFromGCPSFile(java.awt.image.BufferedImage image,
java.io.File gcpsFile) |
protected SurfaceImage |
createSurfaceImageFromTABFile(java.awt.image.BufferedImage image,
java.io.File tabFile) |
protected SurfaceImage |
createSurfaceImageFromWorldFiles(java.awt.image.BufferedImage image,
java.io.File[] worldFiles) |
protected void |
doOpenImageFile() |
protected void |
doSetImageOpacity(double opacity) |
protected void |
enableEditing(boolean enable) |
java.io.File |
getAssociatedGCPSFile(java.io.File file) |
java.io.File |
getAssociatedTABFile(java.io.File file) |
java.io.File[] |
getAssociatedWorldFiles(java.io.File file) |
protected RubberSheetImage.SurfaceImageEntry |
getEntryFor(SurfaceImage surfaceImage) |
protected void |
loadFile(java.io.File file) |
protected void |
loadFiles(java.io.File[] files) |
protected java.awt.image.BufferedImage |
readImage(java.io.File file) |
void |
selected(SelectEvent e) |
protected void |
setSelectedEntry(RubberSheetImage.SurfaceImageEntry selected) |
public Controller(RubberSheetImage.AppFrame appFrame)
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
protected void addNonGeoreferencedSurfaceImage(java.io.File file, java.awt.image.BufferedImage image, WorldWindow wwd)
protected void addSurfaceImage(SurfaceImage surfaceImage, java.lang.String name)
protected SurfaceImage createGeoreferencedSurfaceImage(java.io.File file, java.awt.image.BufferedImage image)
protected SurfaceImage createSurfaceImageFromControlPoints(java.awt.image.BufferedImage image, RasterControlPointList controlPoints) throws java.io.IOException
java.io.IOException
protected SurfaceImage createSurfaceImageFromGCPSFile(java.awt.image.BufferedImage image, java.io.File gcpsFile) throws java.io.IOException
java.io.IOException
protected SurfaceImage createSurfaceImageFromTABFile(java.awt.image.BufferedImage image, java.io.File tabFile) throws java.io.IOException
java.io.IOException
protected SurfaceImage createSurfaceImageFromWorldFiles(java.awt.image.BufferedImage image, java.io.File[] worldFiles) throws java.io.IOException
java.io.IOException
protected void doOpenImageFile()
protected void doSetImageOpacity(double opacity)
protected void enableEditing(boolean enable)
public java.io.File getAssociatedGCPSFile(java.io.File file)
public java.io.File getAssociatedTABFile(java.io.File file)
public java.io.File[] getAssociatedWorldFiles(java.io.File file)
protected RubberSheetImage.SurfaceImageEntry getEntryFor(SurfaceImage surfaceImage)
protected void loadFile(java.io.File file)
protected void loadFiles(java.io.File[] files)
protected java.awt.image.BufferedImage readImage(java.io.File file)
public void selected(SelectEvent e)
selected
in interface SelectListener
protected void setSelectedEntry(RubberSheetImage.SurfaceImageEntry selected)