|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlhmc.gui.thumbnailsbrowser.ThumbnailFacade
public class ThumbnailFacade
ThumbnailFacade provides a simplified interface to the external classes: ThumbanailsManager, ThumbnailsPanel. Manages the files from a directory and its thumbnails.
Constructor Summary | |
---|---|
ThumbnailFacade(java.net.URL[] files)
Constructs the thumbnail facade. |
Method Summary | |
---|---|
void |
changeDirectory(java.net.URL[] files)
Changes the current directory, changin the tree node |
javax.swing.JPanel |
createThumbnail(int index)
Creates a thumbnail panel for one file at certain position in the tree. |
java.net.URL |
getFileAt(int index)
Gets the file at the certain position. |
java.lang.String |
getFileNameAt(int index)
Gets the file name at the certain position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThumbnailFacade(java.net.URL[] files)
files
- an array of files in a directory.Method Detail |
---|
public void changeDirectory(java.net.URL[] files)
files
- The new directory files.public java.lang.String getFileNameAt(int index)
index
- The position of the thumbnail.
public java.net.URL getFileAt(int index)
index
- The position of the thumbnail file.
public javax.swing.JPanel createThumbnail(int index)
index
- The position of the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |