|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.lightdev.app.filemanager.ui.FileListFrame
public class FileListFrame
A frame to manage files and folders contained in a given folder.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
|---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
TITLE_ROOTS
word to use in the title when the root folders are displayed |
| Fields inherited from class javax.swing.JInternalFrame |
|---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FileListFrame(TransferHandler th,
FileActions fap)
create a new instance of class FileListFrame that displays the root folders of the local machine |
|
FileListFrame(TransferHandler th,
FileActions fap,
FileRef initialFolder,
Session s)
create a new instance of class FileListFrame and display contents of either a given folder or the root folder of either the local machine or a remote machine either authenticated using a given TREC client or unauthenticated via a given URL |
|
FileListFrame(TransferHandler th,
FileActions fap,
Session s)
create a new instance of class FileListFrame and display contents of a given folder of the local machine |
|
| Method Summary | |
|---|---|
void |
addFileSystemListener(FileSystemListener listener)
|
void |
folderChanged(EventObject e)
update title and folder label when table changes |
boolean |
getEncrypted()
|
FileRef |
getFolder()
get the folder that is currently displayed |
String |
getProxyPort()
|
String |
getProxyUrl()
|
FileRef[] |
getSelectedFiles()
get the files or folders that are currently selected |
Session |
getSession()
|
String |
getSessionId()
|
String |
getUrl()
get the URL this instance of FileListFrame is connected to |
boolean |
isLocal()
determine whether or not this instance of FileListFrame refers to a folder on the local machine |
void |
openParentFolder()
open the parent folder of the folder that is currently displayed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TITLE_ROOTS
| Constructor Detail |
|---|
public FileListFrame(TransferHandler th,
FileActions fap)
th - the handler to use for clipboard transfersfap - the class that provides common file actions
public FileListFrame(TransferHandler th,
FileActions fap,
Session s)
th - the handler to use for clipboard transfersfap - the class that provides common file actionss - the session to use for connection
public FileListFrame(TransferHandler th,
FileActions fap,
FileRef initialFolder,
Session s)
th - the handler to use for clipboard transfersfap - the class that provides common file actionsinitialFolder - the folder to display contents of; root folders are displayed when nulls - the session to use for connection| Method Detail |
|---|
public void addFileSystemListener(FileSystemListener listener)
throws Throwable
Throwablepublic String getUrl()
public String getProxyUrl()
public String getProxyPort()
public boolean getEncrypted()
public String getSessionId()
public Session getSession()
public void openParentFolder()
public FileRef getFolder()
public FileRef[] getSelectedFiles()
public boolean isLocal()
public void folderChanged(EventObject e)
folderChanged in interface FileTableListenere - the causing event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||