| |
|
| 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 | |
toolsVisible | protected boolean toolsVisible(Code) | | |
SshToolsApplicationPanel | public SshToolsApplicationPanel()(Code) | | Creates a new SshToolsApplicationPanel object.
|
SshToolsApplicationPanel | public SshToolsApplicationPanel(LayoutManager mgr)(Code) | | Creates a new SshToolsApplicationPanel object.
Parameters: mgr - |
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 - |
getActionMenu | public ActionMenu getActionMenu(String actionMenuName)(Code) | | Gets a menu by name
Parameters: actionMenuName - |
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
|
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
|
|
|
|