edu.jhu.tmaj.beans.misc
Class ArrayImageCollectionBean

java.lang.Object
  extended by edu.jhu.tmaj.beans.misc.ArrayImageCollectionBean
All Implemented Interfaces:
java.io.Serializable

public final class ArrayImageCollectionBean
extends java.lang.Object
implements java.io.Serializable

A Collection of ArrayImages from the same session. This was formally known as DotButtonArray.

See Also:
Serialized Form

Constructor Summary
ArrayImageCollectionBean(Pair dimensions, int sessionID)
           
 
Method Summary
 void add(ArrayImageCell arrayImage, int x, int y)
           
 ArrayImageCell get(int x, int y)
          Returns the ArrayImage as the specified position.
 java.util.List<ArrayImageCell> getAll()
          Returns a List of all ArrayImages in this class.
 ExternalFolder getArraySlideDirectory(ImageSize imageSize)
           
 int getHeight()
          Returns the number of rows for this session's ArrayBlock.
 int getSessionID()
           
 int getWidth()
          Returns the number of columns for this session's ArrayBlock.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayImageCollectionBean

public ArrayImageCollectionBean(Pair dimensions,
                                int sessionID)
Method Detail

add

public void add(ArrayImageCell arrayImage,
                int x,
                int y)

getAll

public java.util.List<ArrayImageCell> getAll()
Returns a List of all ArrayImages in this class.


get

public ArrayImageCell get(int x,
                          int y)
Returns the ArrayImage as the specified position.


getHeight

public int getHeight()
Returns the number of rows for this session's ArrayBlock.


getWidth

public int getWidth()
Returns the number of columns for this session's ArrayBlock.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSessionID

public int getSessionID()

getArraySlideDirectory

public ExternalFolder getArraySlideDirectory(ImageSize imageSize)