|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.list.FileElement
public class FileElement
This class represents single file list element.
Constructor Summary | |
---|---|
FileElement()
Constructs element without file. |
|
FileElement(java.io.File file)
Constructs element with specified file. |
Method Summary | |
---|---|
javax.swing.ImageIcon |
getDisabledThumbnail()
Returns cached element thumbnail icon for disabled state. |
javax.swing.ImageIcon |
getEnabledThumbnail()
Returns cached element thumbnail icon for enabled state. |
java.io.File |
getFile()
Returns element file. |
boolean |
isDisabledThumbnailQueued()
Returns whether disabled thumbnail load is queued or not. |
boolean |
isThumbnailQueued()
Returns whether thumbnail load is queued or not. |
void |
setDisabledThumbnail(javax.swing.ImageIcon disabledThumbnail)
Sets cached element thumbnail icon for disabled state. |
void |
setDisabledThumbnailQueued(boolean disabledThumbnailQueued)
Sets whether disabled thumbnail load is queued or not. |
void |
setEnabledThumbnail(javax.swing.ImageIcon enabledThumbnail)
Sets cached element thumbnail icon for enabled state. |
void |
setFile(java.io.File file)
Sets element file. |
void |
setThumbnailQueued(boolean thumbnailQueued)
Sets whether thumbnail load is queued or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileElement()
public FileElement(java.io.File file)
Method Detail |
---|
public java.io.File getFile()
public void setFile(java.io.File file)
file
- new element filepublic boolean isThumbnailQueued()
public void setThumbnailQueued(boolean thumbnailQueued)
thumbnailQueued
- whether thumbnail load is queued or notpublic boolean isDisabledThumbnailQueued()
public void setDisabledThumbnailQueued(boolean disabledThumbnailQueued)
disabledThumbnailQueued
- whether disabled thumbnail load is queued or notpublic javax.swing.ImageIcon getEnabledThumbnail()
public void setEnabledThumbnail(javax.swing.ImageIcon enabledThumbnail)
enabledThumbnail
- new cached element thumbnail icon for enabled statepublic javax.swing.ImageIcon getDisabledThumbnail()
public void setDisabledThumbnail(javax.swing.ImageIcon disabledThumbnail)
disabledThumbnail
- new cached element thumbnail icon for disabled state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |