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

A

ACCEL - Static variable in class de.jppietsch.util.RscBundle
 
AbstractTransferable - class de.jppietsch.prefedit.AbstractTransferable.
A convenient base class for simple transferables which support only two data flavors for strings and objects local to a virtual machine.
AbstractTransferable() - Constructor for class de.jppietsch.prefedit.AbstractTransferable
 
AbstractTreeNode - class de.jppietsch.prefedit.AbstractTreeNode.
Baseclass for this package's collection of tree nodes.
AbstractTreeNode() - Constructor for class de.jppietsch.prefedit.AbstractTreeNode
 
accel(char) - Static method in class de.jppietsch.util.RscBundle
Creates a key stroke which represents a control-key character.
actionPerformed(ActionEvent) - Method in class de.jppietsch.gui.MainWindow.ExitAction
Calls MainWindow.exit().
addMenu(Class, String) - Method in class de.jppietsch.gui.MainWindow
Adds a new menu to the menu bar.
addTool(Action) - Method in class de.jppietsch.gui.MainWindow
Adds an action to the toolbar.
altAccel(int) - Static method in class de.jppietsch.util.RscBundle
Creates an alted key stroke..
argumentElementsNotNull(String, Object[]) - Static method in class de.jppietsch.error.Precondition
 
argumentEquals(String, long, long) - Static method in class de.jppietsch.error.Precondition
 
argumentNotNegative(String, long) - Static method in class de.jppietsch.error.Precondition
 
argumentNotNull(String, Object) - Static method in class de.jppietsch.error.Precondition
 
argumentStringNotEmpty(String, String) - Static method in class de.jppietsch.error.Precondition
 
argumentValid(String, Object, boolean) - Static method in class de.jppietsch.error.Precondition
 
argumentValid(String, long, boolean) - Static method in class de.jppietsch.error.Precondition
 

C

CMD - Static variable in class de.jppietsch.util.RscBundle
 
COPY - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the copy action's resource keys.
CUT - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the cut action's resource keys.
catched(Throwable, String) - Static method in class de.jppietsch.error.Log
 
catched(Throwable) - Static method in class de.jppietsch.error.Log
 
children() - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns an enumeration of the direct childs of this node.
childs - Variable in class de.jppietsch.prefedit.AbstractTreeNode
List of child nodes.
childs() - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns the list of childs.
close() - Method in class de.jppietsch.error.GUIHandler
 
contents() - Method in class de.jppietsch.error.Rsc
All resources are created inside this method.
contents() - Method in class de.jppietsch.prefedit.Rsc
All resources are created inside this method.
contents() - Method in class de.jppietsch.prefedit.Rsc_de
All resources are created inside this method.
contents - Variable in class de.jppietsch.util.RscBundle
 
contents() - Method in class de.jppietsch.util.RscBundle
 
copy() - Method in class de.jppietsch.prefedit.AbstractTransferable
Puts this transferable to the system clipboard.
copy() - Method in class de.jppietsch.prefedit.PrefEditWindow
Copies the selected preferences node or preference to the clipboard.
copyAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to copy the currently selected preferences node or preference to the clipboard.
createFileMenu(RscBundle) - Method in class de.jppietsch.gui.MainWindow
Creates the file menu.
createFileMenu(RscBundle) - Method in class de.jppietsch.prefedit.PrefEditWindow
Adds some additional actions to the file menu.
ctrlAccel(int) - Static method in class de.jppietsch.util.RscBundle
Creates a control key stroke..
cut() - Method in class de.jppietsch.prefedit.AbstractTransferable
May be overwritten to remove this from somewhere.
cut() - Method in class de.jppietsch.prefedit.PrefEditWindow
Cuts the selected preferences node or preference to the clipboard.
cut() - Method in class de.jppietsch.prefedit.Preference
Copies this preference to the system clipboard and removes it from the preferences node.
cut() - Method in class de.jppietsch.prefedit.Subtree
Copies this preferences subtree to the system clipboard and removes it.
cutAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to cut the currently selected preferences node or preference and put it into the clipboard.

D

DELETE - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
de.jppietsch.error - package de.jppietsch.error
 
de.jppietsch.gui - package de.jppietsch.gui
 
de.jppietsch.prefedit - package de.jppietsch.prefedit
 
de.jppietsch.util - package de.jppietsch.util
 
doPaste(Preferences) - Method in class de.jppietsch.prefedit.AbstractTransferable
Adds this transferable to the given preferences.
doPaste(Preferences) - Method in class de.jppietsch.prefedit.Preference
Adds this transferable to the given preferences.
doPaste(Preferences) - Method in class de.jppietsch.prefedit.Subtree
Adds this transferable to the given preferences.

E

EDIT - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the edit menu's resource keys.
EMPTY_KEYS - Static variable in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Field
ERROR - Static variable in class de.jppietsch.prefedit.Rsc
Resource key for default text in case of errors.
EXIT - Static variable in class de.jppietsch.gui.MainWindow
Resource key prefix for exit action.
EXPORT - Static variable in class de.jppietsch.prefedit.Rsc
Resource key prefix of the export action.
exit() - Method in class de.jppietsch.gui.MainWindow
Overwrite this method to change the exit behaviour of your application.
exportAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to export a preferences node to an XML file.
exportPreferences() - Method in class de.jppietsch.prefedit.PrefEditWindow
Exports preferences from the selected preferences node to an XML file.

F

F1 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F10 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F11 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F12 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F2 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F3 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F4 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F5 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F6 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F7 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F8 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
F9 - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
FILE - Static variable in class de.jppietsch.gui.MainWindow
Resource key for file menu.
fail(String, Object) - Static method in class de.jppietsch.error.Precondition
 
fail(String, long) - Static method in class de.jppietsch.error.Precondition
 
flavor() - Method in class de.jppietsch.prefedit.AbstractTransferable
Creates a special data flavor for this object.
flush() - Method in class de.jppietsch.error.GUIHandler
 

G

GUIHandler - class de.jppietsch.error.GUIHandler.
 
GUIHandler() - Constructor for class de.jppietsch.error.GUIHandler
 
getAllowsChildren() - Method in class de.jppietsch.prefedit.AbstractTreeNode
All nodes are preferences and therefore allow childs.
getBundle() - Static method in class de.jppietsch.prefedit.Rsc
Convenient accessor.
getBundle(Class) - Static method in class de.jppietsch.util.RscBundle
 
getChildAt(int) - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns the n'th child node of this node.
getChildCount() - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns the number of child nodes.
getColumnCount() - Method in class de.jppietsch.prefedit.PreferencesTableModel
Gets the columnCount attribute of the PreferencesTableModel object
getColumnName(int) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Returns the name of a column from the resource bundle's resources Rsc.KEY_COLUMN_NAME and Rsc.VALUE_COLUMN_NAME.
getContents() - Method in class de.jppietsch.util.RscBundle
 
getIndex(TreeNode) - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns the index of a given child.
getMnemonic(String) - Method in class de.jppietsch.util.RscBundle
Returns a localized mnemonic.
getName(String) - Method in class de.jppietsch.util.RscBundle
Returns a resource for a name of a button or menu.
getPreferences() - Method in class de.jppietsch.prefedit.AbstractTreeNode
Returns the preferences represented by this node.
getPreferences() - Method in class de.jppietsch.prefedit.PreferencesTreeNode
Returns the preferences node which is represented by this tree node.
getRowCount() - Method in class de.jppietsch.prefedit.PreferencesTableModel
Gets the rowCount attribute of the PreferencesTableModel object
getTransferData(DataFlavor) - Method in class de.jppietsch.prefedit.AbstractTransferable
Returns this object or a string representation of it.
getTransferDataFlavors() - Method in class de.jppietsch.prefedit.AbstractTransferable
Returns an array of data flavors for this transferable.
getValueAt(int, int) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Gets the valueAt attribute of the PreferencesTableModel object

H

humanPresentableClassName() - Method in class de.jppietsch.prefedit.AbstractTransferable
Returns a human presentable name for this class.
humanPresentableClassName() - Method in class de.jppietsch.prefedit.Preference
Returns a human presentable name for this class.
humanPresentableClassName() - Method in class de.jppietsch.prefedit.Subtree
Returns a human presentable name for this class.

I

ICON - Static variable in class de.jppietsch.util.RscBundle
 
IMPORT - Static variable in class de.jppietsch.prefedit.Rsc
Resource key prefix of the import action.
INDEX_OUT_OF_BOUNDS_MSG - Static variable in class de.jppietsch.error.Rsc
Resource key for the message "index out of bounds".
INSERT - Static variable in class de.jppietsch.util.RscBundle
Convenience constant to avoid import of KeyEvent.
icon(String) - Method in class de.jppietsch.util.RscBundle
 
importAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to import a preferences node from an XML file.
importPreferences() - Method in class de.jppietsch.prefedit.PrefEditWindow
Imports preferences from an XML file to the selected preferences node.
indexOutOfBounds(Object, String, String, long) - Static method in class de.jppietsch.error.Log
Convenience method to issue an "index out of bounds" warning.
initAction(JMenu, RscAction) - Method in class de.jppietsch.prefedit.PrefEditWindow
Adds the given action to the menu and the toolbar and disables it initially.
initializeChilds(List) - Method in class de.jppietsch.prefedit.AbstractTreeNode
Fills the list of child nodes.
isCellEditable(int, int) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Returns true for the right column, because the preferences values are editable, but not their keys.
isDataFlavorSupported(DataFlavor) - Method in class de.jppietsch.prefedit.AbstractTransferable
Does this transferable support a given data flavor?
isLeaf() - Method in class de.jppietsch.prefedit.AbstractTreeNode
Does this node have any childs?

J

JAVA_VERSION_MESSAGE - Static variable in class de.jppietsch.prefedit.Rsc
Resource key for the "unsufficient Java version" message.

K

KEY_COLUMN - Static variable in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Field
KEY_COLUMN_NAME - Static variable in class de.jppietsch.prefedit.Rsc
Resource key for the title of the table column, which displays the preferences keys.
key - Variable in class de.jppietsch.prefedit.Preference
The key.
key(int) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Method
key - Variable in class de.jppietsch.prefedit.Subtree
Name of this subtrees root.
keyCode(char) - Static method in class de.jppietsch.util.RscBundle
 
keys() - Method in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Method

L

LOG - Static variable in class de.jppietsch.error.Log
 
LONG - Static variable in class de.jppietsch.util.RscBundle
 
Log - class de.jppietsch.error.Log.
A convenient Logger, helpful to avoid stupid typing.
Log() - Constructor for class de.jppietsch.error.Log
 

M

MNEMO - Static variable in class de.jppietsch.util.RscBundle
 
MainWindow - class de.jppietsch.gui.MainWindow.
Convenient base class for main windows of applications.
MainWindow(Class) - Constructor for class de.jppietsch.gui.MainWindow
Constructs this window with its menu bar and exit method.
MainWindow.ExitAction - class de.jppietsch.gui.MainWindow.ExitAction.
Default action to exit the application.
MainWindow.ExitAction(RscBundle) - Constructor for class de.jppietsch.gui.MainWindow.ExitAction
Localizes this action with the outer class's bundle and the key prefix MainWindow.EXIT.
main(String[]) - Static method in class de.jppietsch.prefedit.PrefEdit
Starts the application.
map - Static variable in class de.jppietsch.error.GUIHandler
 
menuBar - Variable in class de.jppietsch.gui.MainWindow
The menu bar of this window.
mnemo(char) - Static method in class de.jppietsch.util.RscBundle
 

N

NAME - Static variable in class de.jppietsch.util.RscBundle
Suffix to build resource keys for text of buttons or menus.
NEW_KEY - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the "new key" action's resource keys.
NEW_KEY_MESSAGE - Static variable in class de.jppietsch.prefedit.Rsc
Resource key of the input message used by the "new key" action.
NEW_NODE - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the "new node" action's resource keys.
NEW_NODE_MESSAGE - Static variable in class de.jppietsch.prefedit.Rsc
Resource key of the input message used by the "new node" action.
name - Variable in class de.jppietsch.prefedit.PreferencesTreeNode
The name of this tree node.
newKey() - Method in class de.jppietsch.prefedit.PrefEditWindow
Adds a new key to currently selected node.
newKeyAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to create a new key and add it to the current node.
newNode() - Method in class de.jppietsch.prefedit.PrefEditWindow
Adds a new subnode to currently selected node.
newNodeAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to create a new node and add it to the current node.
node - Variable in class de.jppietsch.prefedit.Subtree
Preferences node.

P

PASTE - Static variable in class de.jppietsch.prefedit.Rsc
Common prefix of the paste action's resource keys.
Precondition - class de.jppietsch.error.Precondition.
Convenience methods to assert preconditions of methods.
Precondition() - Constructor for class de.jppietsch.error.Precondition
 
PrefEdit - class de.jppietsch.prefedit.PrefEdit.
An editor to edit Java-Preferences.
PrefEdit() - Constructor for class de.jppietsch.prefedit.PrefEdit
 
PrefEditWindow - class de.jppietsch.prefedit.PrefEditWindow.
The Preferences Editor window contains a tree view to the preferences nodes on the left and a table with the selected node's entries on the right.
PrefEditWindow() - Constructor for class de.jppietsch.prefedit.PrefEditWindow
Constructs this window and fills it with the GUI components.
Preference - class de.jppietsch.prefedit.Preference.
An immutable key/value pair which may be placed in the clipboard.
Preference(Preferences, String) - Constructor for class de.jppietsch.prefedit.Preference
Constructs this Preference from a given preferences node and key.
PreferencesTableModel - class de.jppietsch.prefedit.PreferencesTableModel.
A table model to display a Preferences as a table where each entry is a row.
PreferencesTableModel() - Constructor for class de.jppietsch.prefedit.PreferencesTableModel
 
PreferencesTreeNode - class de.jppietsch.prefedit.PreferencesTreeNode.
A tree node model of a Preferences object.
PreferencesTreeNode(Preferences, String) - Constructor for class de.jppietsch.prefedit.PreferencesTreeNode
Constructs a tree node for a given Preferences object.
paste(Preferences) - Static method in class de.jppietsch.prefedit.AbstractTransferable
Takes an instance of this class from the system clipboard.
paste() - Method in class de.jppietsch.prefedit.PrefEditWindow
Pastes the contents of the clipboard to the selected preferences node.
pasteAction - Variable in class de.jppietsch.prefedit.PrefEditWindow
An action to paste the contents of the clipboard to currently selected preferences node.
preferenceChange(PreferenceChangeEvent) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Fires a table data changed event.
preferences - Variable in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Field
preferences - Variable in class de.jppietsch.prefedit.PreferencesTreeNode
Preferences which are represented by this tree node.
prefs - Variable in class de.jppietsch.prefedit.Preference
The preferences node.
prefs - Variable in class de.jppietsch.prefedit.Subtree
List of Preference representing the keys with their values.
processWindowEvent(WindowEvent) - Method in class de.jppietsch.gui.MainWindow
Exits the application on window closing events.
publish(LogRecord) - Method in class de.jppietsch.error.GUIHandler
 
putOptionalValue(String, ResourceBundle, String, Object) - Method in class de.jppietsch.gui.RscAction
 
putOptionalValue(String, ResourceBundle, String) - Method in class de.jppietsch.gui.RscAction
 
putValue(String, ResourceBundle, String) - Method in class de.jppietsch.gui.RscAction
 

R

ROOT - Static variable in class de.jppietsch.prefedit.Rsc
Resource key of the root nodes label.
RootTreeNode - class de.jppietsch.prefedit.RootTreeNode.
A special tree node class is needed for the root, because there is no preferences object representing it.
RootTreeNode() - Constructor for class de.jppietsch.prefedit.RootTreeNode
Constructs this virtual root of all preferences with two child nodes - one for the system preferences and one for the user preferences.
Rsc - class de.jppietsch.error.Rsc.
Ressources for localized messages.
Rsc() - Constructor for class de.jppietsch.error.Rsc
 
Rsc - class de.jppietsch.prefedit.Rsc.
This package's resources for the default locale (english).
Rsc() - Constructor for class de.jppietsch.prefedit.Rsc
 
RscAction - class de.jppietsch.gui.RscAction.
An action whose values are localized by means of a resource bundle.
RscAction(RscBundle, String) - Constructor for class de.jppietsch.gui.RscAction
Localizes this action from the given resource bundle.
RscAction(Class, String) - Constructor for class de.jppietsch.gui.RscAction
 
RscBundle - class de.jppietsch.util.RscBundle.
Convenient base class for resource bundles.
RscBundle() - Constructor for class de.jppietsch.util.RscBundle
 
RscMenu - class de.jppietsch.gui.RscMenu.
A menu which is localized via resource bundles.
RscMenu(RscBundle, String) - Constructor for class de.jppietsch.gui.RscMenu
Localizes this menu with resources from a given bundle.
Rsc_de - class de.jppietsch.prefedit.Rsc_de.
This package's resources localized for german.
Rsc_de() - Constructor for class de.jppietsch.prefedit.Rsc_de
 
recentTableFocus - Variable in class de.jppietsch.prefedit.PrefEditWindow
Flag: "table and not tree had the focus most recently"
resourceKey(String) - Method in class de.jppietsch.gui.RscAction
 
rsc - Variable in class de.jppietsch.prefedit.PreferencesTableModel
Resource bundle which delivers column names etc.

S

SHORT - Static variable in class de.jppietsch.util.RscBundle
 
SYSTEM_ROOT - Static variable in class de.jppietsch.prefedit.Rsc
Resource key of the system preferences root label.
Subtree - class de.jppietsch.prefedit.Subtree.
An immutable preferences tree which may be placed in the clipboard.
Subtree(Preferences) - Constructor for class de.jppietsch.prefedit.Subtree
Constructs this Preference from the given preferences node.
select(TreeSelectionEvent) - Method in class de.jppietsch.prefedit.PrefEditWindow
Called when the tree selection changes.
select(ListSelectionEvent) - Method in class de.jppietsch.prefedit.PrefEditWindow
Called when the table selection changes.
selectedKey() - Method in class de.jppietsch.prefedit.PrefEditWindow
Returns the currently selected preference key.
selectedNode() - Method in class de.jppietsch.prefedit.PrefEditWindow
Description of the Method
selectedPrefs() - Method in class de.jppietsch.prefedit.PrefEditWindow
Returns the currently selected preferences node.
setPreferences(Preferences) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Assigns a preferences node to this table model.
setValueAt(Object, int, int) - Method in class de.jppietsch.prefedit.PreferencesTableModel
Changes the value of a preference.
shiftAccel(int) - Static method in class de.jppietsch.util.RscBundle
Creates a shifted key stroke..
subtrees - Variable in class de.jppietsch.prefedit.Subtree
List of Subtree representing the subnodes.
systemClipboard() - Static method in class de.jppietsch.prefedit.AbstractTransferable
Convenience method to return the system clipboard.

T

TITLE - Static variable in class de.jppietsch.gui.MainWindow
Resource key for window title.
table - Variable in class de.jppietsch.prefedit.PrefEditWindow
A table view to the currently selected preference node's keys and values.
tableFocusGained() - Method in class de.jppietsch.prefedit.PrefEditWindow
Called when the table receives the keyboard focus.
tableModel - Variable in class de.jppietsch.prefedit.PrefEditWindow
A table model for the currently selected preference node.
toString() - Method in class de.jppietsch.prefedit.Preference
Returns a string representation of this object.
toString() - Method in class de.jppietsch.prefedit.PreferencesTreeNode
Description of the Method
toString() - Method in class de.jppietsch.prefedit.RootTreeNode
Description of the Method
toString() - Method in class de.jppietsch.prefedit.Subtree
Returns a string representation of this object.
toString(StringBuffer, String) - Method in class de.jppietsch.prefedit.Subtree
Recursive helper for Subtree.toString().
toolBar - Variable in class de.jppietsch.gui.MainWindow
The tool bar.
tree - Variable in class de.jppietsch.prefedit.PrefEditWindow
A tree view to the preferences.
treeFocusGained() - Method in class de.jppietsch.prefedit.PrefEditWindow
Called when the tree receives the keyboard focus.
treeModel - Variable in class de.jppietsch.prefedit.PrefEditWindow
This window's preferences tree model.

U

USER_ROOT - Static variable in class de.jppietsch.prefedit.Rsc
Resource key of the user preferences root label.
updateSelection() - Method in class de.jppietsch.prefedit.PrefEditWindow
Updates the selection of some actions of which the state depends on tree node or table row selections.

V

VALUE_COLUMN - Static variable in class de.jppietsch.prefedit.PreferencesTableModel
Description of the Field
VALUE_COLUMN_NAME - Static variable in class de.jppietsch.prefedit.Rsc
Resource key for the title of the table column, which displays the preferences values.
value - Variable in class de.jppietsch.prefedit.Preference
The value.

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