Java Doc for RemoteDir.java in  » Net » j-ftp » net » sf » jftp » gui » base » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » j ftp » net.sf.jftp.gui.base 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jftp.gui.base.dir.DirPanel
   net.sf.jftp.gui.base.dir.DirComponent
      net.sf.jftp.gui.base.RemoteDir

RemoteDir
public class RemoteDir extends DirComponent implements ListSelectionListener,ActionListener,ConnectionListener,KeyListener(Code)


Field Summary
 HImageButtoncdButton
    
final static  StringcdString
    
 HImageButtoncdUpButton
    
final static  StringcdUpString
    
 HImageButtoncmdButton
    
final static  StringcmdString
    
 HImageButtondeleteButton
    
final static  StringdeleteString
    
 HImageButtondownloadButton
    
final static  StringdownloadString
    
 HImageButtonmkdirButton
    
final static  StringmkdirString
    
 HImageButtonqueueButton
    
final static  StringqueueString
    
 HImageButtonrefreshButton
    
final static  StringrefreshString
    
 HImageButtonrnButton
    
final static  StringrnString
    
 String[]sortTypes
    
 HImageButtonuploadButton
    
final static  StringuploadString
    

Constructor Summary
public  RemoteDir()
     RemoteDir constructor.
public  RemoteDir(String path)
     RemoteDir constructor.

Method Summary
public  voidactionFinished(BasicConnection c)
    
public  voidactionPerformed(ActionEvent e)
    
public  voidactionPerformed(Object target, String msg)
    
public synchronized  voidblockedTransfer(int index)
    
public  voidconnectionFailed(BasicConnection con, String reason)
    
public  voidconnectionInitialized(BasicConnection con)
    
public  voidfresh()
     Do a hard UI refresh - do no longe call this directly, use safeUpdate() instead if possible.
public  voidgui(boolean fakeInit)
     Part of a gui refresh.
public  voidgui_init()
     Creates the gui and adds the MouseListener etc.
public  voidkeyPressed(KeyEvent e)
    
public  voidkeyReleased(KeyEvent e)
    
public  voidkeyTyped(KeyEvent e)
    
public  voidlock(boolean first)
     Lock the gui.
public  voidsetDirList(boolean fakeInit)
     List directory and create/update the whole file list.
public  voidsetViewPort()
    
public  voidshowContentWindow(String url, DirEntry d)
    
public  voidstartTransfer(DirEntry entry)
     Start a file transfer.
public synchronized  voidtransfer()
    
public  voidtransfer(int i)
    
public  voidunlock(boolean first)
     Unlock the gui.
public  voidupdateProgress(String file, String type, long bytes)
    
public  voidupdateRemoteDirectory(BasicConnection c)
    

Field Detail
cdButton
HImageButton cdButton(Code)



cdString
final static String cdString(Code)



cdUpButton
HImageButton cdUpButton(Code)



cdUpString
final static String cdUpString(Code)



cmdButton
HImageButton cmdButton(Code)



cmdString
final static String cmdString(Code)



deleteButton
HImageButton deleteButton(Code)



deleteString
final static String deleteString(Code)



downloadButton
HImageButton downloadButton(Code)



downloadString
final static String downloadString(Code)



mkdirButton
HImageButton mkdirButton(Code)



mkdirString
final static String mkdirString(Code)



queueButton
HImageButton queueButton(Code)



queueString
final static String queueString(Code)



refreshButton
HImageButton refreshButton(Code)



refreshString
final static String refreshString(Code)



rnButton
HImageButton rnButton(Code)



rnString
final static String rnString(Code)



sortTypes
String[] sortTypes(Code)



uploadButton
HImageButton uploadButton(Code)



uploadString
final static String uploadString(Code)




Constructor Detail
RemoteDir
public RemoteDir()(Code)
RemoteDir constructor.



RemoteDir
public RemoteDir(String path)(Code)
RemoteDir constructor.




Method Detail
actionFinished
public void actionFinished(BasicConnection c)(Code)
Called by FtpConnection



actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Handles the user events if the ui is unlocked



actionPerformed
public void actionPerformed(Object target, String msg)(Code)
Called by FtpConnection



blockedTransfer
public synchronized void blockedTransfer(int index)(Code)
Initiate a tranfer with ui locking enabled



connectionFailed
public void connectionFailed(BasicConnection con, String reason)(Code)
Called by FtpConnection



connectionInitialized
public void connectionInitialized(BasicConnection con)(Code)
Called by FtpConnection



fresh
public void fresh()(Code)
Do a hard UI refresh - do no longe call this directly, use safeUpdate() instead if possible.



gui
public void gui(boolean fakeInit)(Code)
Part of a gui refresh. There's no need to call this by hand.



gui_init
public void gui_init()(Code)
Creates the gui and adds the MouseListener etc.



keyPressed
public void keyPressed(KeyEvent e)(Code)



keyReleased
public void keyReleased(KeyEvent e)(Code)



keyTyped
public void keyTyped(KeyEvent e)(Code)



lock
public void lock(boolean first)(Code)
Lock the gui.



setDirList
public void setDirList(boolean fakeInit)(Code)
List directory and create/update the whole file list. There's no need to call this by hand.



setViewPort
public void setViewPort()(Code)



showContentWindow
public void showContentWindow(String url, DirEntry d)(Code)
Mime type handler for doubleclicks on files



startTransfer
public void startTransfer(DirEntry entry)(Code)
Start a file transfer. Depending on the local and remote connection types some things like local working directory have to be set, resuming may have to be checked etc. As with ftp to ftp transfers the action used to download a file might actually be an upload. WARNING: If you do anything here, please check LocalDir.startTransfer(), too!



transfer
public synchronized void transfer()(Code)
Transfers all selected files



transfer
public void transfer(int i)(Code)
Transfers single file, or all selected files if index is -1



unlock
public void unlock(boolean first)(Code)
Unlock the gui.



updateProgress
public void updateProgress(String file, String type, long bytes)(Code)
Called by FtpConnection, DownloadList is updated from here



updateRemoteDirectory
public void updateRemoteDirectory(BasicConnection c)(Code)
Called by FtpConnection



Fields inherited from net.sf.jftp.gui.base.dir.DirComponent
public JTable table(Code)(Java Doc)

Methods inherited from net.sf.jftp.gui.base.dir.DirComponent
public void update()(Code)(Java Doc)
public void valueChanged(ListSelectionEvent e)(Code)(Java Doc)

Fields inherited from net.sf.jftp.gui.base.dir.DirPanel
public BasicConnection con(Code)(Java Doc)
public DownloadList dList(Code)(Java Doc)
public DirEntry[] dirEntry(Code)(Java Doc)
public String[] files(Code)(Java Doc)
public JList jl(Code)(Java Doc)
public int length(Code)(Java Doc)
public long oldtime(Code)(Java Doc)
public String path(Code)(Java Doc)
public String type(Code)(Java Doc)

Methods inherited from net.sf.jftp.gui.base.dir.DirPanel
public void actionPerformed(Object target, String msg)(Code)(Java Doc)
public void fresh()(Code)(Java Doc)
public BasicConnection getCon()(Code)(Java Doc)
public String getPath()(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public void lock(boolean isNotification)(Code)(Java Doc)
public void setCon(BasicConnection con)(Code)(Java Doc)
public void setDownloadList(DownloadList d)(Code)(Java Doc)
public boolean setPath(String path)(Code)(Java Doc)
public void setType(String type)(Code)(Java Doc)
public void unlock(boolean isNotification)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.