A C D E F G H I J K M N P R S T U V

A

absolutePath() - Method in class PreferencesNode
 
absolutePath() - Method in class RootPreferencesNode
 
actionPerformed(ActionEvent) - Method in class MainView
Process menu selection
addNodeChangeListener(NodeChangeListener) - Method in class PreferencesNode
 
addNodeChangeListener(NodeChangeListener) - Method in class RootPreferencesNode
 
addPreferenceChangeListener(PreferenceChangeListener) - Method in class PreferencesNode
 
addPreferenceChangeListener(PreferenceChangeListener) - Method in class RootPreferencesNode
 
addTreeModelListener(TreeModelListener) - Method in class PreferencesTreeModel
 

C

childAdded(NodeChangeEvent) - Method in class PreferencesModel
 
childRemoved(NodeChangeEvent) - Method in class PreferencesModel
 
childrenNames() - Method in class PreferencesNode
 
childrenNames() - Method in class RootPreferencesNode
 
clear() - Method in class PreferencesNode
 
clear() - Method in class RootPreferencesNode
 

D

deleteKey() - Method in class EditNodeView
Deletes the currently selected attribute.
deleteNode() - Method in class PreferencesModel
Deletes the current node and its children
deleteNode() - Method in class PreferencesTreeModel
 
deleteNode() - Method in class TreeView
Delete the current node

E

EditNodeView - class EditNodeView.
Right hand side of UI.
EditNodeView() - Constructor for class EditNodeView
ctor
equals(Object) - Method in class PreferencesNode
Custom equals impl to compare the wrapped preferences objects
exportNode(OutputStream) - Method in class PreferencesNode
 
exportNode(OutputStream) - Method in class RootPreferencesNode
 
exportSubtree(OutputStream) - Method in class PreferencesNode
 
exportSubtree(OutputStream) - Method in class RootPreferencesNode
 

F

flush() - Method in class PreferencesNode
 
flush() - Method in class RootPreferencesNode
 

G

get(String, String) - Method in class PreferencesNode
 
get(String, String) - Method in class RootPreferencesNode
 
getBoolean(String, boolean) - Method in class PreferencesNode
 
getBoolean(String, boolean) - Method in class RootPreferencesNode
 
getByteArray(String, byte[]) - Method in class PreferencesNode
 
getByteArray(String, byte[]) - Method in class RootPreferencesNode
 
getChild(Object, int) - Method in class PreferencesTreeModel
 
getChildCount(Object) - Method in class PreferencesTreeModel
 
getColumnCount() - Method in class PreferencesNodeTable
 
getColumnName(int) - Method in class PreferencesNodeTable
 
getContentPanel() - Static method in class JPUI
 
getCurrentNode() - Method in class PreferencesModel
Gets the current preferences node
getDouble(String, double) - Method in class PreferencesNode
 
getDouble(String, double) - Method in class RootPreferencesNode
 
getFloat(String, float) - Method in class PreferencesNode
 
getFloat(String, float) - Method in class RootPreferencesNode
 
getFrame() - Static method in class JPUI
 
getIndexOfChild(Object, Object) - Method in class PreferencesTreeModel
 
getInt(String, int) - Method in class PreferencesNode
 
getInt(String, int) - Method in class RootPreferencesNode
 
getLong(String, long) - Method in class PreferencesNode
 
getLong(String, long) - Method in class RootPreferencesNode
 
getMenuBar() - Method in class MainView
 
getPanel() - Method in class EditNodeView
 
getPanel() - Method in class TreeView
 
getPreferences() - Method in class PreferencesNode
Access for the deligate java.util.prefs.Preferences object Used by java.lang.Object.equals
getRoot() - Method in class PreferencesTreeModel
 
getRowCount() - Method in class PreferencesNodeTable
 
getString(String) - Static method in class Resources
Retrieve the locale specific string for given key
getValueAt(int, int) - Method in class PreferencesNodeTable
 

H

hashCode() - Method in class PreferencesNode
 

I

Instance() - Static method in class PreferencesModel
Singleton accessor
importPreferences(InputStream) - Static method in class PreferencesNode
 
initMenu() - Method in class MainView
Populate the menu
isCellEditable(int, int) - Method in class PreferencesNodeTable
 
isLeaf(Object) - Method in class PreferencesTreeModel
 
isUserNode() - Method in class PreferencesNode
 
isUserNode() - Method in class RootPreferencesNode
 

J

JPUI - class JPUI.
The one and only main program class.
JPUI() - Constructor for class JPUI
 

K

keys() - Method in class PreferencesNode
 
keys() - Method in class RootPreferencesNode
 

M

MainView - class MainView.
View that is responsible for menu commands.
MainView(TreeView, EditNodeView) - Constructor for class MainView
ctor
main(String[]) - Static method in class JPUI
 

N

name() - Method in class PreferencesNode
 
name() - Method in class RootPreferencesNode
 
newKey() - Method in class EditNodeView
Prompts for and creates a new attribute key for the currently selected node.
newNode(String) - Method in class PreferencesModel
Creates a new node as a child of the current node
newNode(String) - Method in class PreferencesTreeModel
 
newNode() - Method in class TreeView
Create a node as a child of the current node
node(String) - Method in class PreferencesNode
 
node(String) - Method in class RootPreferencesNode
 
nodeExists(String) - Method in class PreferencesNode
 
nodeExists(String) - Method in class RootPreferencesNode
 

P

PreferencesModel - class PreferencesModel.
The model where all modifications to the preferences store are done.
PreferencesNode - class PreferencesNode.
Subclasses Preferences and overrides toString to cleanup the node names that are displayed in the JTree
PreferencesNode(Preferences) - Constructor for class PreferencesNode
Public ctor
PreferencesNodeTable - class PreferencesNodeTable.
Table of a preference nodes keys and values
PreferencesNodeTable(Preferences) - Constructor for class PreferencesNodeTable
ctor for creating a PreferencesNodeTable given a preferences node
PreferencesTreeModel - class PreferencesTreeModel.
Class that exposes java preferences as a TreeModel.
PreferencesTreeModel() - Constructor for class PreferencesTreeModel
 
parent() - Method in class PreferencesNode
 
parent() - Method in class RootPreferencesNode
 
preferenceChange(PreferenceChangeEvent) - Method in class PreferencesModel
 
put(String, String) - Method in class PreferencesNode
 
put(String, String) - Method in class RootPreferencesNode
 
putBoolean(String, boolean) - Method in class PreferencesNode
 
putBoolean(String, boolean) - Method in class RootPreferencesNode
 
putByteArray(String, byte[]) - Method in class PreferencesNode
 
putByteArray(String, byte[]) - Method in class RootPreferencesNode
 
putDouble(String, double) - Method in class PreferencesNode
 
putDouble(String, double) - Method in class RootPreferencesNode
 
putFloat(String, float) - Method in class PreferencesNode
 
putFloat(String, float) - Method in class RootPreferencesNode
 
putInt(String, int) - Method in class PreferencesNode
 
putInt(String, int) - Method in class RootPreferencesNode
 
putLong(String, long) - Method in class PreferencesNode
 
putLong(String, long) - Method in class RootPreferencesNode
 

R

Resources - class Resources.
exposes i18n resources for JPUI as a singleton
RootPreferencesNode - class RootPreferencesNode.
Class that helps implement TreeModel for java preferences by creating a virtual root node with the User preference tree and System preference tree is its only two children.
RootPreferencesNode() - Constructor for class RootPreferencesNode
 
remove(String) - Method in class PreferencesNode
 
remove(String) - Method in class RootPreferencesNode
 
removeAttribute(String) - Method in class PreferencesModel
Removes the attribute sKey of the current node
removeNode() - Method in class PreferencesNode
 
removeNode() - Method in class RootPreferencesNode
 
removeNodeChangeListener(NodeChangeListener) - Method in class PreferencesNode
 
removeNodeChangeListener(NodeChangeListener) - Method in class RootPreferencesNode
 
removePreferenceChangeListener(PreferenceChangeListener) - Method in class PreferencesNode
 
removePreferenceChangeListener(PreferenceChangeListener) - Method in class RootPreferencesNode
 
removeTreeModelListener(TreeModelListener) - Method in class PreferencesTreeModel
 
renameAttribute(String, String) - Method in class PreferencesModel
Renames the attribute sOldKey of the current node

S

setAttribute(String, String) - Method in class PreferencesModel
Sets the attribute sKey of the current node
setCurrentNode(Preferences) - Method in class PreferencesModel
Sets the current preferences node and notifies observers if the new node is not the same as the previous current node.
setValueAt(Object, int, int) - Method in class PreferencesNodeTable
 
sync() - Method in class PreferencesNode
 
sync() - Method in class RootPreferencesNode
 
systemNodeForPackage(Class) - Static method in class PreferencesNode
 
systemRoot() - Static method in class PreferencesNode
 

T

TreeView - class TreeView.
Left side tree view of user and system preference trees
TreeView() - Constructor for class TreeView
 
toString() - Method in class PreferencesNode
Returns a friendly string name for a node, suitable for display in the JTree
toString() - Method in class RootPreferencesNode
 
toTreePath(Preferences) - Method in class PreferencesTreeModel
 
treeNodesChanged(TreeModelEvent) - Method in class TreeView
 
treeNodesInserted(TreeModelEvent) - Method in class TreeView
 
treeNodesRemoved(TreeModelEvent) - Method in class TreeView
 
treeStructureChanged(TreeModelEvent) - Method in class TreeView
 

U

update(Observable, Object) - Method in class EditNodeView
 
update(Observable, Object) - Method in class MainView
 
update(Observable, Object) - Method in class TreeView
 
userNodeForPackage(Class) - Static method in class PreferencesNode
 
userRoot() - Static method in class PreferencesNode
 

V

valueForPathChanged(TreePath, Object) - Method in class PreferencesTreeModel
 

A C D E F G H I J K M N P R S T U V

Copyright © 2003-2004 . All Rights Reserved.