Java Doc for SshToolsApplicationPanel.java in  » Net » j2ssh » com » sshtools » common » ui » 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 » j2ssh » com.sshtools.common.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   com.sshtools.common.ui.SshToolsApplicationPanel

All known Subclasses:   com.sshtools.common.ui.SshToolsApplicationClientPanel,  com.sshtools.common.ui.SshToolsApplicationSessionPanel,
SshToolsApplicationPanel
abstract public class SshToolsApplicationPanel extends JPanel (Code)

author:
   $author$
version:
   $Revision: 1.23 $

Inner Class :public static class ActionMenu implements Comparable
Inner Class :class ToolBarActionComparator implements Comparator
Inner Class :class ContextActionComparator implements Comparator
Inner Class :class MenuItemActionComparator implements Comparator
Inner Class :class ConnectionFileFilter extends javax.swing.filechooser.FileFilter

Field Summary
protected  VectoractionMenus
    
protected  Vectoractions
    
protected  HashMapactionsVisible
    
protected  SshToolsApplicationapplication
    
protected  SshToolsApplicationContainercontainer
    
protected  JPopupMenucontextMenu
    
protected  Loglog
    
protected  JMenuBarmenuBar
    
protected  JToolBartoolBar
    
protected  booleantoolsVisible
    

Constructor Summary
public  SshToolsApplicationPanel()
     Creates a new SshToolsApplicationPanel object.
public  SshToolsApplicationPanel(LayoutManager mgr)
     Creates a new SshToolsApplicationPanel object.

Method Summary
public  voidaddFavorite(StandardAction action)
    
abstract public  booleancanClose()
    
abstract public  voidclose()
    
public  voidderegisterAction(StandardAction action)
    
public  StandardActiongetAction(String name)
    
public  ActionMenugetActionMenu(String actionMenuName)
    
public  SshToolsApplicationgetApplication()
    
public  SshToolsApplicationContainergetContainer()
     Gets the container for this panel.
public  JPopupMenugetContextMenu()
    
abstract public  ResourceIcongetIcon()
    
public  JMenuBargetJMenuBar()
    
public  StatusBargetStatusBar()
    
public  JToolBargetToolBar()
    
public  voidinit(SshToolsApplication application)
    
abstract public  booleanisConnected()
    
public  booleanisToolsVisible()
    
public  voidrebuildActionComponents()
    
public  voidregisterAction(StandardAction action)
    
public  voidregisterActionMenu(ActionMenu actionMenu)
    
public  voidsetActionVisible(String name, boolean visible)
    
abstract public  voidsetAvailableActions()
     Called by the application framework when a change in connection state has occured.
public  voidsetContainer(SshToolsApplicationContainer container)
    
public  voidsetContainerTitle(File file)
    
public  voidsetMenuBarVisible(boolean visible)
    
public  voidsetStatusBarVisible(boolean visible)
    
public  voidsetToolBarVisible(boolean visible)
    
public  voidsetToolsVisible(boolean visible)
     Set the visible state of all tools.
public static  voidshowErrorMessage(Component parent, String title, Throwable exception)
    
public static  voidshowErrorMessage(Component parent, String mesg, String title, Throwable exception)
    
public  voidshowExceptionMessage(String title, String message)
    
public  voidshowOptions()
    

Field Detail
actionMenus
protected Vector actionMenus(Code)



actions
protected Vector actions(Code)



actionsVisible
protected HashMap actionsVisible(Code)



application
protected SshToolsApplication application(Code)



container
protected SshToolsApplicationContainer container(Code)



contextMenu
protected JPopupMenu contextMenu(Code)



log
protected Log log(Code)



menuBar
protected JMenuBar menuBar(Code)



toolBar
protected JToolBar toolBar(Code)



toolsVisible
protected boolean toolsVisible(Code)




Constructor Detail
SshToolsApplicationPanel
public SshToolsApplicationPanel()(Code)
Creates a new SshToolsApplicationPanel object.



SshToolsApplicationPanel
public SshToolsApplicationPanel(LayoutManager mgr)(Code)
Creates a new SshToolsApplicationPanel object.
Parameters:
  mgr -




Method Detail
addFavorite
public void addFavorite(StandardAction action)(Code)



canClose
abstract public boolean canClose()(Code)
Called by the application framework to test the closing state



close
abstract public void close()(Code)
Called by the application framework to close the panel



deregisterAction
public void deregisterAction(StandardAction action)(Code)
Deregister an action
Parameters:
  action -



getAction
public StandardAction getAction(String name)(Code)
Get an action by name
Parameters:
  name -



getActionMenu
public ActionMenu getActionMenu(String actionMenuName)(Code)
Gets a menu by name
Parameters:
  actionMenuName -



getApplication
public SshToolsApplication getApplication()(Code)
Get the application attached to the panel



getContainer
public SshToolsApplicationContainer getContainer()(Code)
Gets the container for this panel.



getContextMenu
public JPopupMenu getContextMenu()(Code)
Get the context menu



getIcon
abstract public ResourceIcon getIcon()(Code)
Get the icon for the panel



getJMenuBar
public JMenuBar getJMenuBar()(Code)
Get the main menu



getStatusBar
public StatusBar getStatusBar()(Code)
Get the status bar



getToolBar
public JToolBar getToolBar()(Code)
Gets the toolbar



init
public void init(SshToolsApplication application) throws SshToolsApplicationException(Code)
Initialize the panel
Parameters:
  application -
throws:
  SshToolsApplicationException -



isConnected
abstract public boolean isConnected()(Code)
Returns the connected state of the panel



isToolsVisible
public boolean isToolsVisible()(Code)
Determine if the toolbar, menu and statusbar are visible



rebuildActionComponents
public void rebuildActionComponents()(Code)
Rebuild all the action components such as toobar, context menu



registerAction
public void registerAction(StandardAction action)(Code)
Register a new action
Parameters:
  action -



registerActionMenu
public void registerActionMenu(ActionMenu actionMenu)(Code)
Register a new menu
Parameters:
  actionMenu -



setActionVisible
public void setActionVisible(String name, boolean visible)(Code)
Set an actions visible state
Parameters:
  name -
Parameters:
  visible -



setAvailableActions
abstract public void setAvailableActions()(Code)
Called by the application framework when a change in connection state has occured. The available actions should be enabled/disabled in this methods implementation



setContainer
public void setContainer(SshToolsApplicationContainer container)(Code)
Sets the container for this panel
Parameters:
  container -



setContainerTitle
public void setContainerTitle(File file)(Code)
Set the title of the container
Parameters:
  file -



setMenuBarVisible
public void setMenuBarVisible(boolean visible)(Code)
Set the visible state of the menu bar
Parameters:
  visible -



setStatusBarVisible
public void setStatusBarVisible(boolean visible)(Code)
Set the visible state of the statusbar
Parameters:
  visible -



setToolBarVisible
public void setToolBarVisible(boolean visible)(Code)
Set the visible state of the toolbar
Parameters:
  visible -



setToolsVisible
public void setToolsVisible(boolean visible)(Code)
Set the visible state of all tools. This will set the toolbar, menu and status bar visible states to the value provided.
Parameters:
  visible -



showErrorMessage
public static void showErrorMessage(Component parent, String title, Throwable exception)(Code)
Show an error message with detail
Parameters:
  parent -
Parameters:
  title -
Parameters:
  exception -



showErrorMessage
public static void showErrorMessage(Component parent, String mesg, String title, Throwable exception)(Code)
Show an error message with toggable detail
Parameters:
  parent -
Parameters:
  mesg -
Parameters:
  title -
Parameters:
  exception -



showExceptionMessage
public void showExceptionMessage(String title, String message)(Code)
Show an exception message
Parameters:
  title -
Parameters:
  message -



showOptions
public void showOptions()(Code)
Show the options dialog



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.