|
|||||||||||
| 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.JPanel
org.globus.cog.gridface.impl.directorybrowser.DirectoryBrowserImpl
| Nested Class Summary | |
protected class |
DirectoryBrowserImpl.ButtonListener
|
protected class |
DirectoryBrowserImpl.PopupListener
|
protected class |
DirectoryBrowserImpl.TopKeyListener
|
protected class |
DirectoryBrowserImpl.TreeListener
|
protected class |
DirectoryBrowserImpl.TreeMouseListener
|
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
protected JTree |
tree
|
| 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DirectoryBrowserImpl()
|
|
DirectoryBrowserImpl(GridCommandManager gcm)
|
|
| Method Summary | |
boolean |
close()
|
protected void |
createUsernameDialog()
Create the dialog to be popped up asking the user for their username and password if they are not connecting to a gridftp server. |
protected void |
disconnectCompleted()
|
protected void |
errorDelete()
|
protected void |
errorGetCurrentDirectory(boolean isInConnectSequence)
|
protected void |
errorList()
|
protected void |
errorMimeType()
|
protected void |
errorOpen()
|
protected void |
errorSetCurrentDirectory(boolean isInConnectSequence)
|
protected void |
fileTransferCompleted()
|
protected void |
getCurrentDirectoryCompleted(boolean isInConnectSequence)
|
protected FileTransferObject |
getFileTransferObject()
Return the filetransferobject used by this directorybrowser. |
Dimension |
getMinimumSize()
Return the Dimension of the top panel and the extra pixels on the side
so the window only gets as small as the top panel. |
String |
getSelected()
Get the name of the currently selected file |
protected URI |
getSelectedItemsDirURI()
If the selected item is a directory, return its uri, otherwise return the uri of its parent. |
protected GridFile |
getSelectedItemsGridFile()
Return the FileInfo object of the selected item. |
protected TreePath |
getSelectedItemsTreePath()
Get the TreePath of the selected item. |
protected URI |
getSelectedItemsURI()
Return the selected items uri |
URI |
getSelectedURI()
|
URI |
getSelectedURIDir()
|
URI |
getURI()
Get the currently selected files URI |
protected DirectoryBrowserWorkerImpl |
getWorker()
|
Date |
lastUpdateTime()
Records the last time the GridFace was updated. |
protected void |
listingCompleted()
|
protected void |
notifyUser(String message)
Notify the user of something but do not indicate any waiting. |
void |
register(GridFace connection)
Registers another GridFace to this GridFace. |
void |
setLabel(String label)
sets a label for a GridFace. |
void |
setName(String name)
sets the name for a GridFace. |
void |
setSelected(String filename)
Select the file corresponding to the file name |
void |
setURI(URI uri)
Set the URI |
protected void |
startWaiting()
Execute the commands to notify the user that we are waiting for something. |
protected void |
startWaiting(String message,
boolean canStop)
Execute the commands to notify the user that we are waiting for something and display a message above the progress bar. |
protected void |
stopWaiting()
Execute the commands to notify the user that we are done waiting. |
void |
update()
updates the displaed gridface. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected JTree tree
| Constructor Detail |
public DirectoryBrowserImpl()
throws Exception
public DirectoryBrowserImpl(GridCommandManager gcm)
| Method Detail |
protected void startWaiting()
protected void startWaiting(String message,
boolean canStop)
message - String to display above the message bar.protected void stopWaiting()
protected void notifyUser(String message)
message - protected DirectoryBrowserWorkerImpl getWorker()
protected TreePath getSelectedItemsTreePath()
TreePath of the selected item.
protected GridFile getSelectedItemsGridFile()
protected URI getSelectedItemsURI()
protected URI getSelectedItemsDirURI()
protected FileTransferObject getFileTransferObject()
protected void createUsernameDialog()
protected void listingCompleted()
protected void disconnectCompleted()
protected void getCurrentDirectoryCompleted(boolean isInConnectSequence)
protected void fileTransferCompleted()
protected void errorOpen()
protected void errorSetCurrentDirectory(boolean isInConnectSequence)
protected void errorGetCurrentDirectory(boolean isInConnectSequence)
protected void errorList()
protected void errorMimeType()
protected void errorDelete()
public Dimension getMinimumSize()
Dimension of the top panel and the extra pixels on the side
so the window only gets as small as the top panel.
Dimension of the top panel.public void setURI(URI uri)
DirectoryBrowser
setURI in interface DirectoryBrowserpublic URI getURI()
DirectoryBrowser
getURI in interface DirectoryBrowserpublic URI getSelectedURI()
public URI getSelectedURIDir()
public void setSelected(String filename)
DirectoryBrowser
setSelected in interface DirectoryBrowserpublic String getSelected()
DirectoryBrowser
getSelected in interface DirectoryBrowserpublic void update()
GridFace
update in interface GridFacepublic Date lastUpdateTime()
GridFace
lastUpdateTime in interface GridFaceDate, the last time when the GridFace was
updated.public void setName(String name)
GridFace
setName in interface GridFacepublic void setLabel(String label)
GridFace
setLabel in interface GridFacelabel - a String that returns the assigned label.public void register(GridFace connection)
GridFace
register in interface GridFaceconnection - a GridFace valuepublic boolean close()
close in interface AccessClose
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||