|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilePanel
Defines the interface used in the applet, when dealing with the file panel.
| Method Summary | |
|---|---|
void |
addFiles(File[] f,
File root)
Add multiple files to this panel. |
void |
clearSelection()
Clears the current selection of the JTable. |
void |
focusTable()
Requests focus for the JTable. |
ActionMap |
getActionMap()
Allows to get standard action map, like paste action. |
Component |
getDropComponent()
Return the component on which drop event can occur. |
FileData |
getFileDataAt(Point point)
Ask for the file contained below the specific point on the screen. |
FileData[] |
getFiles()
Retrieve all currently stored files. |
int |
getFilesLength()
Retrieve the number of file entries in the JTable. |
void |
remove(FileData fileData)
Remove a specified file entry. |
void |
removeAll()
Removes all file entries. |
void |
removeSelected()
Removes all currently selected file entries. |
void |
setTransferHandler(TransferHandler newHandler)
Transfer handler, to manage copy/paste operations. |
| Method Detail |
|---|
void addFiles(File[] f,
File root)
throws JUploadExceptionStopAddingFiles
f - An array of files to add.root - The toplevel of a directory hierarchy to add
JUploadExceptionStopAddingFilesFileData[] getFiles()
int getFilesLength()
void removeSelected()
void removeAll()
void remove(FileData fileData)
fileData - The file to be removed.void clearSelection()
void focusTable()
FileData getFileDataAt(Point point)
point - The point
Component getDropComponent()
JUploadPanel, when initializing the DropTarget.
void setTransferHandler(TransferHandler newHandler)
newHandler - JComponent.setTransferHandler(TransferHandler)ActionMap getActionMap()
JComponent.getActionMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||