com.fullspan.pwkeep.gui
Class PwkGui
java.lang.Object
com.fullspan.pwkeep.gui.PwkGui
public class PwkGui
- extends java.lang.Object
- Version:
- $Revision: 1.6 $, $Date: 2004/02/01 06:17:34 $
- Author:
- Mitch Stuart, $Author: mitch $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PwkGui
public PwkGui(IPwkAppState appState,
java.lang.Object splashScreen)
init
public void init()
throws javax.swing.UnsupportedLookAndFeelException,
java.lang.NoSuchMethodException
- Throws:
javax.swing.UnsupportedLookAndFeelException
java.lang.NoSuchMethodException
createTree
protected void createTree()
createList
protected void createList()
createSplitPane
protected void createSplitPane()
display
public void display()
displayView
protected void displayView(java.awt.Component view)
setLastSelectionComponent
public void setLastSelectionComponent(javax.swing.JComponent component)
getRecentFiles
public java.io.File[] getRecentFiles()
getShowPasswords
public boolean getShowPasswords()
openWebBrowser
protected void openWebBrowser(java.lang.String url)
copyStringToClipboard
protected void copyStringToClipboard(java.lang.String text)
reportException
protected void reportException(java.lang.Throwable t)
promptAndSaveFileIfNeeded
protected boolean promptAndSaveFileIfNeeded()
- Returns true if the operation should proceed, false if it should be
canceled.
Returns true if:
- the user selects Yes to save the file, and the file is saved
successfully
- the user selects No to discard the changes
Returns false if:
- the user selects Cancel to cancel the operation
- the user selects Yes to save the file, and the file is not
saved successfully; for example, if there is an error saving the file,
or if the File/Save As dialog is raised and the user selects Cancel.
- Returns:
- true if the operation should proceed, false if it should
be canceled.
saveSettings
public void saveSettings()
raiseCategoryDialog
public void raiseCategoryDialog(PwkTreeNode currentNode)
actionDeleteSelectedNodes
public void actionDeleteSelectedNodes()
raiseItemDialog
public void raiseItemDialog(PwkTreeNode catNode,
PwkTreeNode currentNode)