|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsh3modtool.gui.imagetable.BaseCell
net.sourceforge.jsh3modtool.gui.imagetable.ImageCell
public class ImageCell
A Table cell for an Image
Constructor Summary | |
---|---|
ImageCell(ImageModel image)
Creates a new instance of ImageCell |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getErrorMessage()
Returns the error message, if there is one |
ImageModel |
getImageModel()
|
java.lang.String |
getName()
|
java.lang.String |
getTooltip()
Returns the tooltip for this cell, the tooltip contains some IPTC fields and is cached for performance |
int |
hashCode()
|
boolean |
hasTriedToLoadImage()
Returns if the ThumbnailLoader has tried to load the image, if it has and there still is no image, then an error has occurred |
boolean |
isSelected()
Returns if this image cell is selected or not |
void |
resetTooltip()
Resets the tooltip, next time the GUI wants the tooltip then it is generated on the fly |
void |
setErrorMessage(java.lang.String msg)
Sets the error message |
void |
setHasTriedToLoadImage(boolean triedToLoad)
Sets if the ThumbnailLoader has tried to load the image |
void |
setSelected(boolean selected)
Sets if the iamge cell is selected or not. |
void |
toggleSelected()
Toggle the selected status. |
java.lang.String |
toString()
Returns the name of the image. |
Methods inherited from class net.sourceforge.jsh3modtool.gui.imagetable.BaseCell |
---|
getCachedName, getCachedNameMaxWidth, recacheName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageCell(ImageModel image)
imageProps
- the imageMethod Detail |
---|
public java.lang.String getName()
public ImageModel getImageModel()
public boolean hasTriedToLoadImage()
public void setHasTriedToLoadImage(boolean triedToLoad)
triedToLoad
- if the image has been tried or notpublic java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String msg)
msg
- the error messagepublic boolean isSelected()
public void setSelected(boolean selected)
selected
- if the image is selected.public void toggleSelected()
public void resetTooltip()
public java.lang.String getTooltip()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |