.useful Home Page
A C F G I L M N O R S T

A

ArrayMgr - class org.dotuseful.util.ArrayMgr.
This class contains various methods for manipulating arrays in addition to java.util.Arrays class.
AutomatedTreeModel - class org.dotuseful.ui.tree.AutomatedTreeModel.
AutomatedTreeModel extends DefaultTreeModel and uses AutomatedTreeNodes as its nodes.
AutomatedTreeModel(AutomatedTreeNode) - Constructor for class org.dotuseful.ui.tree.AutomatedTreeModel
Creates an AutomatedTreeModel in which any node can have children.
AutomatedTreeModel(AutomatedTreeNode, boolean) - Constructor for class org.dotuseful.ui.tree.AutomatedTreeModel
Creates an AutomatedTreeModel specifying whether any node can have children, or whether only certain nodes can have children.
AutomatedTreeNode - class org.dotuseful.ui.tree.AutomatedTreeNode.
AutomatedTreeNode extends DefaultMutableTreeNode adding support for automatic notification of node changes.
AutomatedTreeNode() - Constructor for class org.dotuseful.ui.tree.AutomatedTreeNode
Creates an AutomatedTreeNode that has no parent and no children, but which allows children.
AutomatedTreeNode(Object) - Constructor for class org.dotuseful.ui.tree.AutomatedTreeNode
Creates an AutomatedTreeNode node with no parent, no children, but which allows children, and initializes it with the specified user object.
AutomatedTreeNode(Object, boolean) - Constructor for class org.dotuseful.ui.tree.AutomatedTreeNode
Creates an AutomatedTreeNode with no parent, no children, initialized with the specified user object, and that allows children only if specified.
add(MutableTreeNode) - Method in class org.dotuseful.ui.tree.SortedTreeNode
Removes newChild from its parent and makes it a child of this node by adding it to this node's child array in a sorted order.
addMouseHandler() - Method in class org.dotuseful.ui.tree.MouseAdaptedTree
Adds MouseAdaptedTreeMouseHandler mouse listener to transmit mouse events to corresponding nodes.
addTreeModelListener(TreeModelListener) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Adds a listener for the TreeModelEvent posted after the node changes.

C

comparator - Variable in class org.dotuseful.ui.tree.SortedTreeNode
The Comparator by which the list is ordered.

F

fireTreeNodesChanged(int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesChanged() method.
fireTreeNodesChanged(Object[], int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesChanged() method.
fireTreeNodesChanged(Object, Object[], int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesChanged() method.
fireTreeNodesInserted(int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesInserted() method.
fireTreeNodesInserted(Object, Object[], int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesInserted() method.
fireTreeNodesRemoved(int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesRemoved() method.
fireTreeNodesRemoved(Object, Object[], int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeNodesRemoved() method.
fireTreeStructureChanged() - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeStructureChanged() method.
fireTreeStructureChanged(int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeStructureChanged() method.
fireTreeStructureChanged(Object, Object[], int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Notifies all listeners that have registered interest for notification on this event type by firing a treeStructureChanged() method.

G

getNode(MouseEvent) - Method in class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
Returns a tree node which is mouse event on.
getTree(MouseEvent) - Method in class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
 

I

indexOf(boolean[], boolean[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(byte[], byte[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(char[], char[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(short[], short[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(int[], int[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(long[], long[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(float[], float[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(double[], double[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
indexOf(Object[], Object[], int) - Static method in class org.dotuseful.util.ArrayMgr
Returns the index within source array of the first occurrence of the target array, starting at the specified index.
insert(MutableTreeNode, int) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Removes newChild from its present parent (if it has a parent), sets the child's parent to this node, adds the child to this node's child array at index childIndex, fires a nodesWereInserted event, and then adds itself as a TreeModelListener to newChild.

L

listenerList - Variable in class org.dotuseful.ui.tree.AutomatedTreeNode
Listeners.

M

MouseAdaptedTree - class org.dotuseful.ui.tree.MouseAdaptedTree.
A tree control which transmits mouse events to its nodes.
MouseAdaptedTree(TreeModel) - Constructor for class org.dotuseful.ui.tree.MouseAdaptedTree
Returns an instance of MouseAdaptedTree which displays the root node -- the tree is created using the specified data model.
MouseAdaptedTree(TreeNode) - Constructor for class org.dotuseful.ui.tree.MouseAdaptedTree
Returns a MouseAdaptedTree with the specified TreeNode as its root, which displays the root node.
MouseAdaptedTree(TreeNode, boolean) - Constructor for class org.dotuseful.ui.tree.MouseAdaptedTree
Returns a MouseAdaptedTree with the specified TreeNode as its root, which displays the root node and which decides whether a node is a leaf node in the specified manner.
MouseAdaptedTreeMouseHandler - class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler.
A mouse handler for MouseAdaptedTree which transmits mouse events to corresponding tree nodes.
MouseAdaptedTreeMouseHandler() - Constructor for class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
 
mouseClicked(MouseEvent) - Method in class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
 
mousePressed(MouseEvent) - Method in class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
 
mouseReleased(MouseEvent) - Method in class org.dotuseful.ui.tree.MouseAdaptedTreeMouseHandler
 

N

nodeChanged() - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoke this method after the node changed how it is to be represented in the tree.
nodeStructureChanged() - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoke this method if you've totally changed the children of node and its childrens children.
nodesWereInserted(int[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
This method invoked after you've inserted some AutomatedTreeNodes into node. childIndices should be the index of the new elements and must be sorted in ascending order.
nodesWereRemoved(int[], Object[]) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
This method invoked after you've removed some AutomatedTreeNodes from node. childIndices should be the index of the removed elements and must be sorted in ascending order.

O

org.dotuseful.ui.tree - package org.dotuseful.ui.tree
 
org.dotuseful.util - package org.dotuseful.util
 

R

remove(int) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Removes the child at the specified index from this node's children and sets that node's parent to null.
removeTreeModelListener(TreeModelListener) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Removes a listener previously added with addTreeModelListener() .

S

SortedTreeNode - class org.dotuseful.ui.tree.SortedTreeNode.
A tree node which keeps its children sorted.
SortedTreeNode() - Constructor for class org.dotuseful.ui.tree.SortedTreeNode
Creates a SortedTreeNode that has no parent and no children, but which allows children.
SortedTreeNode(Object) - Constructor for class org.dotuseful.ui.tree.SortedTreeNode
Creates a SortedTreeNode node with no parent, no children, but which allows children, and initializes it with the specified user object.
SortedTreeNode(Object, boolean) - Constructor for class org.dotuseful.ui.tree.SortedTreeNode
Creates a SortedTreeNode with no parent, no children, initialized with the specified user object, and that allows children only if specified.
SortedTreeNode(Object, Comparator) - Constructor for class org.dotuseful.ui.tree.SortedTreeNode
Creates a SortedTreeNode node with no parent, no children, but which allows children, initializes it with the specified user object, and sets the comparator by which its children are ordered.
SortedTreeNode(Object, boolean, Comparator) - Constructor for class org.dotuseful.ui.tree.SortedTreeNode
Creates a SortedTreeNode with no parent, no children, initialized with the specified user object, that allows children only if specified, and sets the comparator by which its children are ordered.
setComparator(Comparator) - Method in class org.dotuseful.ui.tree.SortedTreeNode
Sets the comparator for this node to newComparator, and re-sorts children.
setRoot(TreeNode) - Method in class org.dotuseful.ui.tree.AutomatedTreeModel
Sets the root to root.
setUserObject(Object) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Sets the user object for this node to userObject.
sortChildren(Object[]) - Method in class org.dotuseful.ui.tree.SortedTreeNode
Keeps children in sorted order by removing given children and adding them back.

T

treeNodesChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeModel
Invoked after a node (or a set of siblings) has changed in some way.
treeNodesChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoked after a node (or a set of siblings) has changed in some way.
treeNodesChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.SortedTreeNode
The node need to re-sort its changed children.
treeNodesInserted(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeModel
Invoked after nodes have been inserted into the tree.
treeNodesInserted(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoked after nodes have been inserted into the tree.
treeNodesRemoved(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeModel
Invoked after nodes have been removed from the tree.
treeNodesRemoved(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoked after nodes have been removed from the tree.
treeStructureChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeModel
Invoked after the tree has drastically changed structure from a given node down.
treeStructureChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.AutomatedTreeNode
Invoked after the tree has drastically changed structure from a given node down.
treeStructureChanged(TreeModelEvent) - Method in class org.dotuseful.ui.tree.SortedTreeNode
The node need to re-sort its changed children.

A C F G I L M N O R S T
© 2004 .useful community

SourceForge.net-Logo