|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.image.data.ArrayImageCell
public final class ArrayImageCell
This class represents an ArrayImage in the ArraySlideFrame,ArrayImageFrame, and DotDataFrame. This class contains the image's ArrayImageID and path, as well as session-specific variables such as isScored. Some variables are specific to the running application such as isVisited and isSelected.
Method Summary | |
---|---|
void |
clearHistory()
Indicate the user has not yet visited this image. |
void |
deSelect()
Indicate user has de-selected this image. |
boolean |
equals(java.lang.Object object)
Returns true if object is an ArrayImage with the same x and y coordinates. |
int |
getArrayImageID()
Returns this ArrayImage's unique id in the ArrayImages table. |
static ArrayImageCell |
getDisabledInstance(Pair pair)
Returns a disabled ArrayImage with null for filename and directory path. |
ExternalFile |
getExternalFile(ImageSize imageSize)
|
static ArrayImageCell |
getInstance(Pair pair,
int arrayImageID,
VariedSizeImages variedSizeImages,
boolean isBad)
|
ScoreData |
getScoreData()
|
java.lang.String |
getWebSlideURL()
|
int |
getXPosition()
Returns the X Position of this ArrayImage indicated in the ArrayCores table. |
int |
getYPosition()
Returns the Y Position of this ArrayImage indicated in the ArrayCores table. |
int |
hashCode()
|
boolean |
isBad()
Returns true if there is an image present, but it is not worth viewing. |
boolean |
isDisabled()
Returns true if the ArrayImage actually has an image, and not just a place holder. |
boolean |
isFilteredOut()
Returns true if this image is not part of the images selected in a filter |
boolean |
isFilterOn()
Returns true if a filter has been applied to this set of images |
boolean |
isSelected()
Returns true if the ArrayImage is currently selected by the user. |
boolean |
isVisited()
Returns true if the user has visited this ArrayImage since starting the application. |
void |
select()
Indicate user has selected this image to be viewed. |
void |
setFilteredOut(boolean b)
|
void |
setFilterOn(boolean b)
|
void |
setIsBad(boolean b)
Sets whether this ArrayImage has an image worth viewing. |
void |
setScoreData(ScoreData scoreData)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ArrayImageCell getInstance(Pair pair, int arrayImageID, VariedSizeImages variedSizeImages, boolean isBad)
public static ArrayImageCell getDisabledInstance(Pair pair)
public boolean isBad()
public boolean isVisited()
public boolean isSelected()
public boolean isDisabled()
public void clearHistory()
public java.lang.String getWebSlideURL()
public void deSelect()
public void select()
public void setIsBad(boolean b)
public int getXPosition()
public int getYPosition()
public int getArrayImageID()
public ExternalFile getExternalFile(ImageSize imageSize)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isFilteredOut()
public void setFilteredOut(boolean b)
public boolean isFilterOn()
public void setFilterOn(boolean b)
public ScoreData getScoreData()
public void setScoreData(ScoreData scoreData)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |