edu.jhu.tmaj.client.image
Class ArrayImagePanel

java.lang.Object
  extended by edu.jhu.tmaj.client.image.ArrayImagePanel

public final class ArrayImagePanel
extends java.lang.Object

A panel in ArrayImageFrame that displays the actual Image


Field Summary
(package private)  DrawableLabel imageLabel
           
(package private)  javax.swing.JScrollPane imageScrollPane
           
 
Constructor Summary
ArrayImagePanel()
           
 
Method Summary
 void clearShapesFromDrawableLabel()
           
 ImageSize getCurrentSize()
           
 DrawableLabel getImageLabel()
           
 javax.swing.JScrollPane getScrollPaneComponent()
           
 boolean isImageAvailable()
           
 void loadShapesIntoDrawableLabel(int scoredImageID)
           
 void setImagePathNames(ArrayImageCell arrayImage)
          Sets a new path for the image, and then reloads the image
 void setSize(ImageSize size)
          Sets a new size, and then reloads the image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageScrollPane

final javax.swing.JScrollPane imageScrollPane

imageLabel

final DrawableLabel imageLabel
Constructor Detail

ArrayImagePanel

public ArrayImagePanel()
Method Detail

getScrollPaneComponent

public javax.swing.JScrollPane getScrollPaneComponent()

getImageLabel

public DrawableLabel getImageLabel()

getCurrentSize

public ImageSize getCurrentSize()

setImagePathNames

public void setImagePathNames(ArrayImageCell arrayImage)
Sets a new path for the image, and then reloads the image


setSize

public void setSize(ImageSize size)
             throws java.io.IOException
Sets a new size, and then reloads the image

Throws:
java.io.IOException

isImageAvailable

public boolean isImageAvailable()

clearShapesFromDrawableLabel

public void clearShapesFromDrawableLabel()

loadShapesIntoDrawableLabel

public void loadShapesIntoDrawableLabel(int scoredImageID)