instrument/JTree API Documentation
A C D F G I M N O P R S T U V X

A

ACTION_ADD_ABOVE - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Add Node Above" action
ACTION_ADD_BELOW - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Add Node Below" action
ACTION_ADD_CHILD - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Add Child Node" action
ACTION_COPY - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Copy Selection" action
ACTION_CUT - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Cut Selection" action
ACTION_DELETE - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Delete Selection" action
ACTION_MAKE_ANCESTOR - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Move Left" action
ACTION_MAKE_CHILD - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Move Right" action
ACTION_MOVE_DOWN - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Move Down" action
ACTION_MOVE_UP - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Move Up" action
ACTION_PASTE - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Paste" action
ACTION_REDO - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Redo Undo" action
ACTION_START_EDIT - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Edit Node Name" action
ACTION_UNDO - Static variable in class org.pvv.bcd.instrument.JTree.Instrumenter
Action name object for "Undo Edit" action
actionPerformed(ActionEvent) - Method in class org.pvv.bcd.instrument.JTree.InfoBankTreeAction
Forwards actionPerformed() to my wrapped action.
addChangeListener(ChangeListener) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
addChildNode() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds a new node at the end of the selected node's children
addEdit(UndoableEdit) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
addMimeType(Vector, String) - Static method in class org.pvv.bcd.instrument.JTree.DefaultTransferable
Utility method to add data flavours to a vector.
addNodeAbove() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds a new node above the selection, or at top if no selection
addNodeBelow() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds a new node below the selection, or at bottom if no selection
addNodes(DefaultMutableTreeNode, DefaultMutableTreeNode[], int) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds a set of nodes to the tree.
addUndoableEditListener(UndoableEditListener) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
addUndoableEditListener(UndoableEditListener) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds listeners for undoableedit events.
addVetoableTreeStructureChangeListener(VetoableTreeStructureChangeListener) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Adds a listener to changes in the tree structure.

C

checkFlavourSupported(DataFlavor[]) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
checkForMimeType(DataFlavor[], String) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
cloneNode(TreeNode) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Creates a new node that is identical to another.
cloneNode(TreeNode) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will clone a node.
configureCellEditor() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
This method tweaks a cell editor so that we can use it.
copy() - Method in interface org.pvv.bcd.instrument.JTree.Copyable
 
copy() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Makes a new copy of myself.
Copyable - interface org.pvv.bcd.instrument.JTree.Copyable.
Implemented by tree node contents (user objects) that can make copies of themselves.
copyFrom(NodeInfo) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Fills data into myself from another node.
copyNode() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Puts the selected nodes into the local clipboard.
createFromXml(InputStream) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Reads text from the given inputstream, parses it according to infobank.dtd and creates a new tree based upon the information.
createInstrument(JTree) - Static method in class org.pvv.bcd.instrument.JTree.Instrumenter
Convenience factory method to fully instrument a tree with all available functionality, keeping its contents.
createInstrument(JTree, boolean) - Static method in class org.pvv.bcd.instrument.JTree.Instrumenter
Convenience factory method instrumenting a tree while keeping the tree's contents.
createInstrument(JTree, boolean, boolean) - Static method in class org.pvv.bcd.instrument.JTree.Instrumenter
Factory method for instrumenting a tree and returning the instrument.
createNode(Object) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Creates a new node with a given user object.
createNode(Object) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will create a new node with a given user object.
createNode(String, String) - Method in interface org.pvv.bcd.instrument.JTree.XmlNodeFactory
Creates a new node based on information read from an XML file.
createNode(String, String) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Creates a new node with a given title and contents.
createNode(String, String) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will create a new node based on XML data.
createNode(TreeNode) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Creates a default empty node.
createNode(TreeNode) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will create a default empty node.
createTransferable(Object[], DndId) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Will create and return a suitable Transferable carrying data for multiple nodes.
createTransferable(Object[], DndId) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will create and return a suitable Transferable carrying data for multiple nodes.
createTransferable(Object, DndId) - Method in interface org.pvv.bcd.instrument.JTree.NodeFactory
Will create and return a suitable Transferable carrying data for one node.
createTransferable(Object, DndId) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Will create and return a suitable Transferable carrying data for one node.
cutNode() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Deletes the selected nodes and puts them into the local clipboard.

D

DEFAULT_NODE_INFO_FLAVOUR - Static variable in class org.pvv.bcd.instrument.JTree.DefaultTransferable
Our very own custom data flavour, useful for transferring between instrumenters.
DefaultNodeFactory - class org.pvv.bcd.instrument.JTree.DefaultNodeFactory.
The default node factory will create DefaultMutableTreeNode type nodes with DefaultNodeInfo type user objects.
DefaultNodeFactory() - Constructor for class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Default constructor, doesn't do anything.
DefaultNodeInfo - class org.pvv.bcd.instrument.JTree.DefaultNodeInfo.
Default implementation of the info present on a single node.
DefaultNodeInfo() - Constructor for class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Creates a new default node.
DefaultNodeInfo(NodeInfo) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Copy constructor.
DefaultNodeInfo(String) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Creates a new node with the given title and an empty string for contents.
DefaultNodeInfo(String, String) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Creates a new node with the given title and textual contents.
DefaultTransferable - class org.pvv.bcd.instrument.JTree.DefaultTransferable.
This is the default transferable that is used for transfering node data around.
DefaultTransferable(DefaultMutableTreeNode[], DndId) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultTransferable
 
DefaultTransferable(DefaultMutableTreeNode, DndId) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultTransferable
 
DefaultTransferInfo - class org.pvv.bcd.instrument.JTree.DefaultTransferInfo.
This is the default transfer info that is used for transfering node data around.
DefaultTransferInfo(SubTreeNode[], DndId) - Constructor for class org.pvv.bcd.instrument.JTree.DefaultTransferInfo
 
deleteSelectedNodes() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Deletes currently selected nodes with a "delete" semantic (as opposed to a "backspace" semantic).
discardAllEdits() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
DndId - class org.pvv.bcd.instrument.JTree.DndId.
This is the unique drag and drop id that is used for transfering node data around.
DndId(long, long) - Constructor for class org.pvv.bcd.instrument.JTree.DndId
 
doDndCompoundAdd(long, DefaultMutableTreeNode, DefaultMutableTreeNode, int) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
The purpose and workings of this method are shrouded in the mists of time.
doDndCompoundDelete(long, DefaultMutableTreeNode) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
The purpose and workings of this method are shrouded in the mists of time.
DRAG_BOTTOM - Static variable in interface org.pvv.bcd.instrument.JTree.DragOverData
Constant used for "will be dropped as sibling below this node"
DRAG_CENTER - Static variable in interface org.pvv.bcd.instrument.JTree.DragOverData
Constant used for "will be dropped as child of this node"
DRAG_NONE - Static variable in interface org.pvv.bcd.instrument.JTree.DragOverData
Constant used for no drag effect
DRAG_TOP - Static variable in interface org.pvv.bcd.instrument.JTree.DragOverData
Constant used for "will be dropped as sibling above this node"
dragDropEnd(DragSourceDropEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
dragEnter(DragSourceDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
dragEnter(DropTargetDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
dragExit(DragSourceEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
dragExit(DropTargetEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
dragGestureRecognized(DragGestureEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragGestureListener
 
dragOver(DragSourceDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
dragOver(DropTargetDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
DragOverData - interface org.pvv.bcd.instrument.JTree.DragOverData.
This interface should be implemented by any custom NodeInfo that wants drag-over effects to be apparant when the user drags nodes around within the tree.
drop(DropTargetDropEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
dropActionChanged(DragSourceDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
dropActionChanged(DropTargetDragEvent) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 

F

finishDndOperation(long, boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Finishes a Drag And Drop operation.
fireNodeCreation(VetoableTreeStructureChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Fires a Node Creation event
fireNodeDeletion(VetoableTreeStructureChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Fires a Node Deletion event
fireNodeMove(VetoableTreeStructureChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Fires a Node Move event
fireNodeRename(VetoableTreeStructureChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Fires a Node Rename event
fireStateChanged(ChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 

G

getAddAboveAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getAddBelowAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getAddChildAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getAllComps(Component, Vector) - Method in class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellEditor
Utility method to recursively retrieve all components in a container.
getCellEditorValue() - Method in class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellEditor
Returns DefaultNodeInfo objects.
getContents() - Method in interface org.pvv.bcd.instrument.JTree.NodeInfo
Returns the contents of the node encoded as text
getContents() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Retrieves the textual representation of the contents model.
getContentsModel() - Method in interface org.pvv.bcd.instrument.JTree.NodeInfo
Returns the data model of the contents
getContentsModel() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Returns the data model of the node contents.
getCopyAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getCurrentEffect() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Retrieves the current drag-over effect for this node.
getCurrentEffect() - Method in interface org.pvv.bcd.instrument.JTree.DragOverData
Retrieves the current drag-over effect for this node.
getCutAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getDeleteAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getDndId() - Method in class org.pvv.bcd.instrument.JTree.DefaultTransferInfo
 
getEdits() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
Retrieves an array of all edits.
getInstrumentId() - Method in class org.pvv.bcd.instrument.JTree.DndId
 
getMakeAncestorAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getMakeChildAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getMoveDownAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getMoveUpAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getMyInstrumentId() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Retrieves my unique instrument ID
getNewIndex() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getNewName() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getNewParent() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getNextDndId() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Utility method that hands out unique IDs to use for identifying drag and drop operations.
getNextInstrumentId() - Static method in class org.pvv.bcd.instrument.JTree.Instrumenter
Generates a unique ID.
getNode() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getNodeFactory() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Retrieve the currently active node factory.
getNodes() - Method in class org.pvv.bcd.instrument.JTree.DefaultTransferInfo
 
getOldIndex() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getOldName() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getOldParent() - Method in class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
 
getOperationId() - Method in class org.pvv.bcd.instrument.JTree.DndId
 
getPasteAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getRedoableEdits() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
Returns a list of all outstanding redoable edits.
getRedoAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getStartEditAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getTitle() - Method in interface org.pvv.bcd.instrument.JTree.NodeInfo
Returns the title of this node as a human-presentable string
getTitle() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Returns the title of the node.
getTransferData(DataFlavor) - Method in class org.pvv.bcd.instrument.JTree.DefaultTransferable
 
getTransferDataFlavors() - Method in class org.pvv.bcd.instrument.JTree.DefaultTransferable
 
getTreeCellEditorComponent(JTree, Object, boolean, boolean, boolean, int) - Method in class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellEditor
Provides the extra functionality of selecting all the text in the cell when edit starts.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellRenderer
 
getUndoableEdits() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
Returns a list of all outstanding undoable edits.
getUndoAction() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
getUndoManager() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Returns a reference to the currently active undo manager, if I know about it.

I

InfoBankTreeAction - class org.pvv.bcd.instrument.JTree.InfoBankTreeAction.
A specialized action-wrapper class that handles both the state imposed by the tree and the state imposed from the outside.
InfoBankTreeAction(String, Action) - Constructor for class org.pvv.bcd.instrument.JTree.InfoBankTreeAction
Creates the action.
InfoUndoManager - class org.pvv.bcd.instrument.JTree.InfoUndoManager.
A specialized undo manager that offers many capabilities beyond that of Swing's regular undo manager.
InfoUndoManager() - Constructor for class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
Instrumenter - class org.pvv.bcd.instrument.JTree.Instrumenter.
This class provides instrumentation of JTree objects.
isDataFlavorSupported(DataFlavor) - Method in class org.pvv.bcd.instrument.JTree.DefaultTransferable
 
isEnabled() - Method in class org.pvv.bcd.instrument.JTree.InfoBankTreeAction
Returns true only if both I and the wrapped action are both enabled.

M

m_actAddAbove - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actAddBelow - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actAddChild - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actCopy - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actCut - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actDelete - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actMakeAncestor - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actMakeChild - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actMoveDown - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actMoveUp - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actPaste - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actRedo - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actStartEdit - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_actUndo - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_arrSelectionDependentActions - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
An array of all actions that are enabled only when 1+ nodes are selected
m_hashDefaultActionMap - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
m_hashDefaultInputMap - Variable in class org.pvv.bcd.instrument.JTree.Instrumenter
 
makeAncestor() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Moves all selected nodes one position to the "left" on the tree.
makeChild() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Moves all selected nodes one position to the "right" in the tree.
makeFileNode(File) - Method in class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 
makeNodeFromXMLRecursive(Element, boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
makeXMLNodeRecursive(Object, boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
 
moveNode(DefaultMutableTreeNode, DefaultMutableTreeNode, int) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Moves a node in the tree.
moveNodesDown() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Moves selected nodes one position towards the bottom
moveNodesUp() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Moves selected nodes one position towards the top

N

nodeCreation(VetoableTreeStructureChangeEvent) - Method in interface org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeListener
 
nodeDeletion(VetoableTreeStructureChangeEvent) - Method in interface org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeListener
 
NodeFactory - interface org.pvv.bcd.instrument.JTree.NodeFactory.
Objects implementing NodeFactory are useful when you want to build instrumented trees with specialized tree nodes.
NodeInfo - interface org.pvv.bcd.instrument.JTree.NodeInfo.
This is a specialized user object for use in conjunction with MutableTreeNode or DefaultMutableTreeNode type tree nodes.
NodeInfoTreeCellEditor - class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellEditor.
Specialized tree cell editor to give us some extra functionality.
NodeInfoTreeCellEditor(JTree, DefaultTreeCellRenderer, Instrumenter) - Constructor for class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellEditor
 
NodeInfoTreeCellRenderer - class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellRenderer.
 
NodeInfoTreeCellRenderer() - Constructor for class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellRenderer
 
nodeMove(VetoableTreeStructureChangeEvent) - Method in interface org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeListener
 
nodeRename(VetoableTreeStructureChangeEvent) - Method in interface org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeListener
 

O

org.pvv.bcd.instrument.JTree - package org.pvv.bcd.instrument.JTree
 
outputXml(OutputStream) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Builds an XML representation of the tree, as defined by infobank.dtd.

P

paint(Graphics) - Method in class org.pvv.bcd.instrument.JTree.NodeInfoTreeCellRenderer
Calls super.paint() and then proceed to draw black lines indicating the drag-over effect on the node.
pasteNode() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Makes copies of the nodes in the local clipboard (not the system clipboard) in the currently focused location.
pasteNode(SubTreeNode[]) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Copies nodes into the currently focused location.
propertyChange(PropertyChangeEvent) - Method in class org.pvv.bcd.instrument.JTree.InfoBankTreeAction
Catches the "enabled" property change in the wrapped action object.
purgeUndoBuffer() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Empties the undo buffer.

R

redo() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
redoTo(UndoableEdit) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
reduceSelection(TreePath[]) - Static method in class org.pvv.bcd.instrument.JTree.Instrumenter
Reduces a set of tree nodes to the minimum set that includes them all.
removeChangeListener(ChangeListener) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
removeUndoableEditListener(UndoableEditListener) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
removeUndoableEditListener(UndoableEditListener) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Removes an UndoableEdit listener.
removeVetoableTreeStructureChangeListener(VetoableTreeStructureChangeListener) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Removes a tree structure change listener.

S

setContents(String) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Sets the contents by specifying its textual contents.
setCurrentEffect(int) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Sets the current drag-over effect for this node.
setCurrentEffect(int) - Method in interface org.pvv.bcd.instrument.JTree.DragOverData
Sets the current drag-over effect for this node.
setNodeFactory(NodeFactory) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Sets the object to use for creating new nodes in the tree.
setTitle(String) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Sets my title.
setUndoManager(UndoManager) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Registers a new undo manager with me.
setUseDefaultActionMap(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Configures whether to use our default actions.
setUseDefaultDnd(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Will configure the tree to use the default Drag And Drop implementation.
setUseDefaultKeyboardShortcuts(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Configures whether to use our default keyboard shortcuts.
setUseDefaultNodeFactory(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Configures whether or not to use the default node factory.
setUseDefaultTreeConfiguration(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Will configure the tree for optimal instrumented operation.
setUseDefaultUndoManager(boolean) - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Configures whether or not to use the default Infobank undo manager.
setUserObjectTitle(Object, String) - Method in interface org.pvv.bcd.instrument.JTree.UserObjectFactory
Changes the name of a given user object.
setUserObjectTitle(Object, String) - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeFactory
Sets the displayable title of a node.

T

toString() - Method in class org.pvv.bcd.instrument.JTree.DefaultNodeInfo
Returns my title.
TreeDragGestureListener - class org.pvv.bcd.instrument.JTree.TreeDragGestureListener.
Black magic time.
TreeDragGestureListener(JTree, Instrumenter) - Constructor for class org.pvv.bcd.instrument.JTree.TreeDragGestureListener
 
TreeDragSourceListener - class org.pvv.bcd.instrument.JTree.TreeDragSourceListener.
Black magic time.
TreeDragSourceListener(JTree, Instrumenter, DefaultMutableTreeNode[]) - Constructor for class org.pvv.bcd.instrument.JTree.TreeDragSourceListener
 
TreeDropTargetListener - class org.pvv.bcd.instrument.JTree.TreeDropTargetListener.
Black magic time.
TreeDropTargetListener(JTree, Instrumenter) - Constructor for class org.pvv.bcd.instrument.JTree.TreeDropTargetListener
 

U

undo() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
undoableEditHappened(UndoableEditEvent) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
undoOrRedo() - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
undoTo(UndoableEdit) - Method in class org.pvv.bcd.instrument.JTree.InfoUndoManager
 
updateActionObjects() - Method in class org.pvv.bcd.instrument.JTree.Instrumenter
Will ensure that the Action objects we have created are in sync with the selection state of the tree.
UserObjectFactory - interface org.pvv.bcd.instrument.JTree.UserObjectFactory.
Interface to implement for NodeFactory classes that want to offer node renaming capabilities.

V

VetoableTreeStructureChangeEvent - class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent.
The event object for a tree structure change.
VetoableTreeStructureChangeEvent(Object) - Constructor for class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
Create an unspecified event.
VetoableTreeStructureChangeEvent(Object, TreeNode, String, String) - Constructor for class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
Create a "change name" event
VetoableTreeStructureChangeEvent(Object, TreeNode, TreeNode, int, TreeNode, int) - Constructor for class org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeEvent
Create a "node moved" event
VetoableTreeStructureChangeListener - interface org.pvv.bcd.instrument.JTree.VetoableTreeStructureChangeListener.
Interface to implement for anyone who wants to be notified of tree structure changes.
VetoException - exception org.pvv.bcd.instrument.JTree.VetoException.
Title: instrument/JTree Description: Copyright: Copyright (c) 1998 Company:
VetoException() - Constructor for class org.pvv.bcd.instrument.JTree.VetoException
 
VetoException(String) - Constructor for class org.pvv.bcd.instrument.JTree.VetoException
 

X

XmlNodeFactory - interface org.pvv.bcd.instrument.JTree.XmlNodeFactory.
Implement this interface if you want your user objects to be able to be built from XML.

A C D F G I M N O P R S T U V X
instrument/JTree API Documentation