A B C D E F G H I J K L M N O P R S T U W Y Z

A

ABOUT - Static variable in class OptionEvent
Animation command passed for program information.
ABSTRACT_ANIMATION - Static variable in class AnimationEvent
ID for the AbstractAnimation event.
AbstractAnimation - class AbstractAnimation.
The Abstract Animation object defines numerous methods of an Animation that are independent of the specific type of Animation, resulting in much repeated code.
AbstractAnimation() - Constructor for class AbstractAnimation
The constructor which initiates the abstract animation.
actionPerformed(ActionEvent) - Method in class BSTTreeJPanel
Listens to action events.
actionPerformed(ActionEvent) - Method in class CenterJFrame
If an action is pereformed through one of the buttons.
actionPerformed(ActionEvent) - Method in class ColorOptionsJPanel
If an action is performed through one of the buttons.
actionPerformed(ActionEvent) - Method in class NodeAndLinkAnimatingJPanel
Listens to action events.
actionPerformed(ActionEvent) - Method in class OptionControlsJPanel
If an action is performed through one of the buttons.
actionPerformed(ActionEvent) - Method in class OptionMainJPanel
If an action is performed through one of the buttons.
actionPerformed(ActionEvent) - Method in class TreeJPanel
Listens to action events.
add(AffineTransform) - Method in class AffineTransformList
Appends the given AffineTransform to the end of this list.
add(AffineTransform) - Method in class InsertBSTAnimation
Add a step to the InsertAnimation.
add(AffineTransform, BSTTree) - Method in class InsertBSTAnimation
Add a step to the InsertAnimation.
add(BSTTree) - Method in class InsertBSTAnimation
Add a step to the InsertAnimation.
add(BSTTree) - Method in class SearchBSTAnimation
Add a step to the Search Animation.
add(BSTTree) - Method in class SelectionBSTAnimation
Add a step to the Search Animation.
add(BSTTree) - Method in class TraverseBSTAnimation
Add a step to the Traversal Animation.
add(int, AffineTransform) - Method in class AffineTransformList
Inserts the specified AffineTransform at the specified position in this list.
add(int, String, Object) - Method in class WaitingActionList
Inserts the specified String and Object at the specified position in this list.
add(MovingBSTTree, BSTTree) - Method in class MovingBSTTreeAnimation
Adds the movingBSTTree along with the BSTTree node as a pair.
add(String) - Method in class WaitingActionList
Appends the given String at the end of this list.
add(String, Object) - Method in class WaitingActionList
Appends the given String and Object at the end of this list.
addAnimationListener(AnimationListener) - Method in class AbstractAnimation
Adds an animationListener that recieves meaningful events from the animation, according to the Animation interface and the AnimationEvent.
addAnimationListener(AnimationListener) - Method in interface Animation
Adds an animationListener that recieves meaningful events from the animation, according to the Animation interface and the AnimationEvent.
addAnimator(Animation) - Method in interface AnimatingTree
Adds an animation to the current node.
addAnimator(Animation) - Method in class BSTTree
Adds an animation to the current node.
addDescription(String) - Method in class AbstractAnimation
Adds a description that may be used to describe to the listener the type of event occuring.
addDescription(String) - Method in interface Animation
Adds a description that may be used to describe to the listener the type of event occuring.
addFirst(AffineTransform) - Method in class AffineTransformList
Inserts the given AffineTransform at the beginning of this list.
addFirst(String, Object) - Method in class WaitingActionList
Inserts the given String and Object at the beggining of this list.
addLast(AffineTransform) - Method in class AffineTransformList
Appends the given AffineTransform to the end of this list.
addLast(String, Object) - Method in class WaitingActionList
Appends the given String and Object at the end of this list.
addMouseListener(MouseListener) - Method in class TreeJDesktop
Adds the specified mouse listener to receive mouse events from this component.
addMouseMotionListener(MouseMotionListener) - Method in class TreeJDesktop
Adds the specified mouse motion listener to receive mouse motion events from this component.
addNode(BSTTree, MovingBSTTreeAnimation, int, MovingBSTTree) - Method in class DeleteBSTAnimation
Adds all children nodes to the animator list, setting the Moving node as its parent.
addNode(RedBlackTree, MovingBSTTreeAnimation, int, MovingRedBlackTree) - Method in class DeleteRedBlackAnimation
Adds all children nodes to the animator list, setting the Moving node as its parent.
addOptionListener(OptionListener) - Method in class CenterJFrame
Adds the OptionListener as listening to this current panel.
addOptionListener(OptionListener) - Method in class OptionJPanel
Adds the OptionListener as listening to this current panel.
addOptionListener(OptionListener) - Method in class TreeJDesktop
Adds an OptionEventListener according to the OptionEventListener interface and the OptionEvent.
addTreeAnimator(Animation) - Method in interface AnimatingTreeHead
Adds the Animation to the list of Animations for the Head.
addTreeAnimator(Animation) - Method in class BSTTreeHead
Adds the Animation to the list of Animations for the Head.
addTreeMessageListener(TreeMessageListener) - Method in class BSTTreeHead
Adds an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
addTreeMessageListener(TreeMessageListener) - Method in class OptionMainJPanel
Adds an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
addTreeMessageListener(TreeMessageListener) - Method in interface TreeHead
Adds an TreeMessageListener from the tree, according to the TreeMessageListener interface and the TreeMessageEvent.
addTreeMessageListener(TreeMessageListener) - Method in class TreeJDesktop
Adds an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
addTreeMessageListener(TreeMessageListener) - Method in class TreeJPanel
Adds an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
AffineTransformList - class AffineTransformList.
Linked list implementation of the List interface containing AffineTransforms.
AffineTransformList() - Constructor for class AffineTransformList
Constructs an empty list.
AffineTransformList(Collection) - Constructor for class AffineTransformList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
animate(Graphics2D) - Method in class NodeAndLinkAnimatingJPanel
Method actually called to complete the drawing of the panel.
AnimateTree(Graphics2D) - Method in interface AnimatingTreeHead
Animates the entire AnimatingTree.
AnimateTree(Graphics2D) - Method in class BSTTreeHead
Animates the entire BSTTree.
ANIMATING_BST_TREE_TYPE - Static variable in class BSTTree
Tree type defining AnimatingBSTTree.
animatingCommand(boolean) - Method in class TreeJPanel
Animation command.
animatingPanel - Variable in class BSTTreeJPanel
The animatingPanel for this JPanel.
AnimatingTree - interface AnimatingTree.
The AnimatingTree interface extends DrawingTree because all AnimatingTrees must be drawable.
AnimatingTreeHead - interface AnimatingTreeHead.
The AnimatingTreeHead interface extends DrawingTreeHead.
Animation - interface Animation.
The Animation interface that must be used for all Animations.
ANIMATION - Static variable in class OptionEvent
Definition for Animation command, must begin with this String.
ANIMATION - Static variable in class TreeMessageEvent
ID for the Animation event.
ANIMATION_CHANGE - Static variable in class TreeMessageEvent
command passed for animation change.
ANIMATION_FAST_FORWARD - Static variable in class OptionEvent
Animation command passed for step forward.
ANIMATION_FAST_REWIND - Static variable in class OptionEvent
Animation command passed for step back.
ANIMATION_MESSAGE - Static variable in interface Animation
Constant for the MESSAGE status.
ANIMATION_OFF - Static variable in class OptionEvent
Animation command passed for animation toggle off.
ANIMATION_ON - Static variable in class OptionEvent
Animation command passed for animation toggle on.
ANIMATION_PAUSE - Static variable in class OptionEvent
Animation command passed for pause.
ANIMATION_PLAY - Static variable in class OptionEvent
Animation command passed for play.
ANIMATION_QUALITY - Static variable in class OptionEvent
Animation command passed for quality change.
ANIMATION_REWIND - Static variable in class OptionEvent
Animation command passed for rewind.
ANIMATION_SCHEME_1 - Static variable in class NodeSettings
Default Animating color scheme for the animator.
ANIMATION_SCHEME_2 - Static variable in class NodeSettings
Animating color scheme 2.
ANIMATION_SCHEME_3 - Static variable in class NodeSettings
Animating color scheme 3.
ANIMATION_SCHEME_4 - Static variable in class NodeSettings
Animating color scheme 4.
ANIMATION_SCHEME_5 - Static variable in class NodeSettings
Animating color scheme 5.
ANIMATION_SPEED - Static variable in class OptionEvent
Animation command passed for speed change.
ANIMATION_STEP_CHANGE - Static variable in class TreeMessageEvent
command passed for animation step change.
ANIMATION_STEP_FORWARD - Static variable in class OptionEvent
Animation command passed for step forward.
ANIMATION_STEP_OFF - Static variable in class OptionEvent
Animation command passed for step toggle off.
ANIMATION_STEP_ON - Static variable in class OptionEvent
Animation command passed for step toggle on.
ANIMATION_STEP_REWIND - Static variable in class OptionEvent
Animation command passed for step back.
ANIMATION_STOP - Static variable in class OptionEvent
Animation command passed for stop.
ANIMATION_TOOLS_OPTION_PANEL - Static variable in class OptionEvent
ID for an animation tools option panel.
animationAction() - Method in class AbstractAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(int, String, String, double) - Method in class AbstractAnimation
Calls all of the listeners of the current Animation and passes information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class AbstractAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class BalanceBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class DeleteBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class DeleteRedBlackAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class InsertBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class InsertRedBlackAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class MovingBSTTreeAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class PartitionBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class RotationBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class RotationDoubleBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class SearchBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class SelectionBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationAction(String, String) - Method in class TraverseBSTAnimation
Calls all of the listeners of the current Animation and passed information regarding the progress and status of the current Animation.
animationCommand(String) - Method in class OptionControlsJPanel
Animation command.
AnimationEvent - class AnimationEvent.
A semantic event which indicates that an Animation-defined action occured.
AnimationEvent(Object, int) - Constructor for class AnimationEvent
Constructs an AnimationEvent object.
AnimationEvent(Object, int, double) - Constructor for class AnimationEvent
Constructs an AnimationEvent object.
AnimationEvent(Object, int, String) - Constructor for class AnimationEvent
Constructs an AnimationEvent object.
AnimationEvent(Object, int, String, double) - Constructor for class AnimationEvent
Constructs an AnimationEvent object with the command and progress.
AnimationEvent(Object, int, String, String) - Constructor for class AnimationEvent
Constructs an AnimationEvent object.
AnimationEvent(Object, int, String, String, double) - Constructor for class AnimationEvent
Constructs an AnimationEvent object with the command and progress.
animationEventPerformed(AnimationEvent) - Method in interface AnimationListener
Invoked when an animation action occurs.
animationEventPerformed(AnimationEvent) - Method in class BalanceBSTAnimation
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class BSTTree
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class BSTTreeHead
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class DeleteBSTAnimation
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class InsertRedBlackAnimation
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class PartitionBSTAnimation
Implements AnimationListener which requires the following method.
animationEventPerformed(AnimationEvent) - Method in class RotationDoubleBSTAnimation
Implements AnimationListener which requires the following method.
AnimationListener - interface AnimationListener.
The listener interface for receiving Animation events.
animationQualityCommand(int) - Method in class TreeJPanel
Animation quality command.
animationSpeedCommand(int) - Method in class TreeJPanel
Animation speed command.
ANIMATOR_SCHEME_1 - Static variable in class KeySettings
Default animating color scheme.
ANIMATOR_SCHEME_1 - Static variable in class NodeSettings
Animator color scheme 1.
ANIMATOR_SCHEME_2 - Static variable in class KeySettings
Animator Scheme 2.
ANIMATOR_SCHEME_2 - Static variable in class NodeSettings
Animator color scheme 2.
ANIMATOR_SCHEME_3 - Static variable in class KeySettings
Animator Scheme 3.
ANIMATOR_SCHEME_3 - Static variable in class NodeSettings
Animator color scheme 3.
ANIMATOR_SCHEME_4 - Static variable in class KeySettings
Animator Scheme 4.
ANIMATOR_SCHEME_4 - Static variable in class NodeSettings
Animator color scheme 4.
ANIMATOR_SCHEME_5 - Static variable in class NodeSettings
Animator color scheme 5.
aqua - Static variable in class PaintSettings
Aqua.
AQUA - Static variable in class PaintSettings
The color aqua.
averageInsertion(int) - Method in class BSTTreeHead
Returns the average Insertion time, according to n, the amount of elements in the tree.
averageInsertion(int) - Method in class RedBlackTreeHead
Returns the average Insertion time, according to n, the amount of elements in the tree.
averageInsertion(int) - Method in class SplayTreeHead
Returns the average Insertion time, according to n, the amount of elements in the tree.
averageSearchHit(int) - Method in class BSTTreeHead
Returns the average Search hit time, according to n, the amount of elements in the tree.
averageSearchHit(int) - Method in class RedBlackTreeHead
Returns the average Search hit time, according to n, the amount of elements in the tree.
averageSearchMiss(int) - Method in class BSTTreeHead
Returns the average Search miss time, according to n, the amount of elements in the tree.
averageSearchMiss(int) - Method in class RedBlackTreeHead
Returns the average Search miss time, according to n, the amount of elements in the tree.

B

BACKGROUND - Static variable in class TreeJPanel
String representing DRAWING color scheme.
backgroundColor - Variable in class BSTTreeJPanel
The String for the currently selected backgroundColor.
BALANCE - Static variable in class OptionEvent
actionCommand passed for balancing the tree.
BALANCE_ALL - Static variable in class OptionEvent
actionCommand passed for balancing the tree.
BALANCE_BST_ANIMATION - Static variable in class AnimationEvent
ID for the BalanceBSTAnimation event.
BALANCE_CLICK - Static variable in class OptionEvent
actionCommand passed for balancing the tree.
BALANCE_NODE - Static variable in interface TreeHead
String representing the waiting action of balance.
balance(Tree) - Method in class BSTTreeHead
Balances the tree, from the node downward, recursively rotating the median to the top.
balance(Tree) - Method in interface TreeHead
Balances the tree, from the node downward.
balanceAnimatingType(BSTTree) - Method in class BSTTreeHead
Balances the tree from the given node, recursively rotating the median to the top.
BalanceBSTAnimation - class BalanceBSTAnimation.
The Animation object that defines the Balancing of a node in a BSTTree.
BalanceBSTAnimation(BSTTree) - Constructor for class BalanceBSTAnimation
The constructor which initiates the status and sets the starting command and step time
BalanceBSTAnimation(BSTTree, String, int) - Constructor for class BalanceBSTAnimation
The constructor which initiates the status.
balanceClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Balance Click command.
balanceCommand(Tree) - Method in class BalancedBSTTreeJPanel
Balance command.
balanceCommand(Tree) - Method in class BSTTreeJPanel
Balance command.
balanceCommand(Tree) - Method in class RedBlackTreeJPanel
Balance command.
balanceCommand(Tree) - Method in class TreeJPanel
Balance command.
BalancedBSTTree - class BalancedBSTTree.
This class provides the head structure for a BalancedBSTTree.
BalancedBSTTree() - Constructor for class BalancedBSTTree
Constructs a new, null BalancedBSTTreeHead, sorted according to the keys' natural order and insertion occurs automatically to the root.
BalancedBSTTree(int) - Constructor for class BalancedBSTTree
Constructs a new, empty BalancedBSTTreeHead according to the type passed.
BalancedBSTTreeHead - class BalancedBSTTreeHead.
This class provides the head structure for a BalancedBSTTree.
BalancedBSTTreeHead() - Constructor for class BalancedBSTTreeHead
Constructs a new, null BalancedBSTTreeHead, sorted according to the keys' natural order and insertion occurs automatically to the root.
BalancedBSTTreeHead(int) - Constructor for class BalancedBSTTreeHead
Constructs a new, empty BalancedBSTTreeHead according to the type passed.
BalancedBSTTreeJPanel - class BalancedBSTTreeJPanel.
This class provides the panel for a BalancedBSTTree.
BalancedBSTTreeJPanel() - Constructor for class BalancedBSTTreeJPanel
Sole Constructor, setting the tree as a BalancedBSTTree.
balanceNode(BSTTree) - Method in class BSTTreeJPanel
Balances the given node.
balanceTree() - Method in class BSTTreeHead
Balances the entire tree, recursively rotating the median to the top.
balanceTree() - Method in class BSTTreeJPanel
Balances the entire tree.
balanceTree() - Method in interface TreeHead
Balances the entire tree.
balanceTreeType(BSTTree) - Method in class BSTTreeHead
Balances the tree from the given node, recursively rotating the median to the top.
BEGIN - Static variable in interface Animation
Constant for the BEGIN status.
BEGIN_CHECK - Static variable in class InsertRedBlackAnimation
The location for beginning of checking rotations.
BEGIN_FIXUP - Static variable in class DeleteRedBlackAnimation
The location for beginning of red-black deletion.
BINARY_DISPLAY - Static variable in class BSTTreeHead
Binary Display
BINARY_DISPLAY - Static variable in class OptionEvent
Animation command passed for display change request to binary.
BLACK - Static variable in class PaintSettings
The color black.
BLACK_SCHEME - Static variable in class KeySettings
Black color scheme.
BLACK_SCHEME - Static variable in class NodeSettings
Black color scheme.
BLUE - Static variable in class PaintSettings
The color blue.
brown - Static variable in class PaintSettings
Brown.
BST_TREE_TYPE - Static variable in class BSTTree
Tree type defining only a BSTTree.
BSTTree - class BSTTree.
The class provides the base structure of a BSTTree, a node of the Binary Search Tree.
BSTTree() - Constructor for class BSTTree
Constructs a new, empty BSTTree, sorted according to the keys' natural order.
BSTTree(int) - Constructor for class BSTTree
Constructs a new, empty BSTTree according to the type passed.
BSTTreeHead - class BSTTreeHead.
This class provides the head structure for a BSTTree.
BSTTreeHead.NodeAndKey - class BSTTreeHead.NodeAndKey.
An object which keeps both a BSTTree node and an integer key.
BSTTreeHead.NodeAndKey() - Constructor for class BSTTreeHead.NodeAndKey
Constructor, making an empty NodeAndKey Object.
BSTTreeHead.NodeAndKey(BSTTree, int) - Constructor for class BSTTreeHead.NodeAndKey
Constructor, making a NodeAndKey Object with the speficied node and key.
BSTTreeHead() - Constructor for class BSTTreeHead
Constructs a new, null BSTTreeHead, sorted according to the keys' natural order.
BSTTreeHead(int) - Constructor for class BSTTreeHead
Constructs a new, empty BSTTree according to the type passed.
BSTTreeJPanel - class BSTTreeJPanel.
This class provides the panel for a BSTTree.
BSTTreeJPanel() - Constructor for class BSTTreeJPanel
Sole Constructor.

C

CASE_FOUR - Static variable in class DeleteRedBlackAnimation
The location for case four in red-black deletion.
CASE_ONE - Static variable in class DeleteRedBlackAnimation
The location for case one in red-black deletion.
CASE_THREE - Static variable in class DeleteRedBlackAnimation
The location for case three in red-black deletion.
CASE_TWO - Static variable in class DeleteRedBlackAnimation
The location for case two in red-black deletion.
CENTER_FRAME - Static variable in class OptionEvent
ID for a center frame.
CenterJFrame - class CenterJFrame.
Center JPanel for use with the TreeApplet.
CenterJFrame() - Constructor for class CenterJFrame
Constructs a new CenterJFrame.
CHANGE_DISPLAY - Static variable in interface TreeHead
String representing the waiting action of changeDisplay.
changeDisplay() - Method in class BSTTreeHead
Changes the display of the current tree.
changeDisplay() - Method in class BSTTreeJPanel
Changes the display.
changeDisplayAnimatingType() - Method in class BSTTreeHead
Change Display of the BSTTree.
changeDisplayTreeType() - Method in class BSTTreeHead
Change Display of the BSTTree.
CHARACTER - Static variable in class OptionEvent
actionCommand passed for Change of input (Integer or Character and so forth).
CHARACTER - Static variable in class TreeJPanel
String representing character types.
CHRISTMAS - Static variable in class BSTTreeJPanel
Christmas color scheme.
CHRISTMAS_SCHEME - Static variable in class KeySettings
Princeton color scheme.
CHRISTMAS_SCHEME - Static variable in class NodeSettings
Christmas color scheme.
CLEAR - Static variable in class OptionEvent
actionCommand passed for Clearing.
CLEAR_ALL - Static variable in class OptionEvent
actionCommand passed for Clearing.
clear() - Method in class BSTTreeHead
Clears the BSTTree completely, removing all references to all nodes and all values return to the default.
clear() - Method in interface TreeHead
Clears the tree completely, removing all references to all nodes and all values return to the default.
clear() - Method in class TreeJPanel
Clears the tree.
clearAllCommand() - Method in class TreeJPanel
Clear all command.
clearAnimators() - Method in class BSTTreeHead
Clears the Animations from the list of Animations for the Head.
clearCommand() - Method in class TreeJPanel
Clear command.
clearTree() - Method in class TreeJPanel
Clears the tree.
clone() - Method in interface DrawableKey
Makes public the protected clone method in Object.
clone() - Method in class DrawingKey
Returns a copy of this AffineTransform object.
clone() - Method in class KeySettings
Returns a copy of this AffineTransform object.
clone() - Method in class NodeSettings
Returns a copy of this NodeSettings object.
clone() - Method in class PaintSettings
Implements cloneable so this method must be added so the object can be cloned.
COLOR_CHANGE - Static variable in class TreeMessageEvent
command passed for a change in color choice.
COLOR_OPTIONS - Static variable in class OptionEvent
Animation command passed for color options request.
COLOR_PANEL - Static variable in class TreeMessageEvent
command passed for color panel request.
COLOR_SCHEME_CHANGE - Static variable in class OptionEvent
Animation command passed for a color scheme change.
COLOR_SCHEME_PRESET_CHANGE - Static variable in class OptionEvent
Animation command passed for a color scheme preset change.
COLOR_SETTINGS - Static variable in class OptionEvent
Animation command passed for color settings request.
COLOR_SETTINGS_ALL - Static variable in class OptionEvent
Animation command passed for color settings all request.
COLOR_SETTINGS_CHANGE - Static variable in class OptionEvent
Animation command passed for a color settings change.
COLOR_TOOLS_OPTION_PANEL - Static variable in class OptionEvent
ID for an color tools option panel.
ColorOptionsJPanel - class ColorOptionsJPanel.
OptionColorToolsJPanel for use with the the OptionJPanel.
ColorOptionsJPanel() - Constructor for class ColorOptionsJPanel
This constructor makes the OptionColorToolsJPanel for usage with OptionMainJPanel.
colorOptionsPanel - Variable in class BSTTreeJPanel
The colorOptionsPanel held currently within this panel.
colorPresetOptionsJComboBox - Variable in class BSTTreeJPanel
JComboBox that holds all of the schemes available for this current settings.
colorSchemesJComboBox - Variable in class BSTTreeJPanel
JComboBox that holds all of the schemes available for this current settings.
colorSettings - Variable in class BSTTreeJPanel
The variable holding the colorSettings.
colorSettingsJComboBox - Variable in class BSTTreeJPanel
JComboBox that holds all of the settings available for this current function.
comparisonCount - Variable in class InsertBSTAnimation
Counts the amount of comparisons made.
componentHidden(ComponentEvent) - Method in class DrawingJPanel
Called when the component is hidden.
componentMoved(ComponentEvent) - Method in class DrawingJPanel
Called when the component is Moved.
componentResized(ComponentEvent) - Method in class DrawingJPanel
Called when the component is Resized.
componentShown(ComponentEvent) - Method in class DrawingJPanel
Called when the component is Shown.
constructAnimatingBSTTree() - Method in class BSTTree
Constructor for the ANIMATING_BST_TREE_TYPE.
constructAnimatingBSTTreeHead() - Method in class BSTTreeHead
Constructor for the ANIMATING_BST_TREE_TYPE.
constructBSTTree() - Method in class BSTTree
Constructor for the BST_TREE_TYPE.
constructBSTTreeHead() - Method in class BSTTreeHead
Constructor for the BST_TREE_TYPE.
constructColorOptions(ColorOptionsJPanel) - Method in class BSTTreeJPanel
Constructs the color options combo box and sets the box for the given colorOptionsPanel.
constructColorOptions(ColorOptionsJPanel) - Method in class TreeJPanel
Constructs the color settings for this tree, using the given parameter.
constructDrawingBSTTree() - Method in class BSTTree
Constructor for the DRAWING_BST_TREE_TYPE.
constructDrawingBSTTreeHead() - Method in class BSTTreeHead
Constructor for the DRAWING_BST_TREE_TYPE.
constructFileMenu() - Method in class CenterJFrame
Constructs the file menu for the given CenterJFrame.
constructHelpMenu() - Method in class CenterJFrame
Constructs the help menu for the given CenterJFrame.
constructMenu() - Method in class CenterJFrame
Constructs the menu for the given CenterJFrame.
constructMessage() - Method in class TreeJDesktop
Constructs the message for the creating of a tree with random elements.
constructPresetColorOptions(ColorOptionsJPanel) - Method in class BSTTreeJPanel
Constructs the color settings combo box and sets the box for the given colorOptionsPanel.
constructPresetColorOptions(ColorOptionsJPanel) - Method in class TreeJPanel
Constructs the color settings combo box and sets the box for the given colorOptionsPanel.
constructToolMenu() - Method in class CenterJFrame
Constructs the tool menu for the given CenterJFrame.
constructViewMenu() - Method in class CenterJFrame
Constructs the view menu for the given CenterJFrame.
CONTROL_OPTION_PANEL - Static variable in class OptionEvent
ID for an control option panel.
copyBSTTree(BSTTree) - Method in class BSTTree
Copies the fields of this BSTTree into the BSTTree copy.
copyBSTTree(BSTTree) - Method in class RedBlackTree
Copies the fields of this RedBlackTree into the RedBlackTree copy.
createAnimatingNodePanel() - Method in class ColorOptionsJPanel
Creates the animating Node Panel.
createColorSchemesComboBox() - Method in class ColorOptionsJPanel
Creates the color Schemes combo box.
createColorSettingsComboBox() - Method in class ColorOptionsJPanel
Creates the color settings combo box.
createColorToolsPanel() - Method in class ColorOptionsJPanel
Creates the color tools panel.
createControlPanel() - Method in class OptionControlsJPanel
Creates the control panel.
createCustomizablePanel() - Method in class ColorOptionsJPanel
Creates the drawing Node Panel.
createDisplayPanel() - Method in class OptionControlsJPanel
Creates the display panel.
createDrawingNodePanel() - Method in class ColorOptionsJPanel
Creates the drawing Node Panel.
createFinalMovingNodes() - Method in class DeleteBSTAnimation
Creates the moving nodes corresponding to the descendant of the rotation.
createFinalMovingNodes() - Method in class DeleteRedBlackAnimation
Creates the moving nodes corresponding to the final moving of the nodes.
createFunctionComboBox() - Method in class ColorOptionsJPanel
Creates the function combo box.
createMessagePanel() - Method in class OptionControlsJPanel
Creates the message panel.
createModificationButtons() - Method in class OptionControlsJPanel
Creates the modification buttons.
createPresetColorsComboBox() - Method in class ColorOptionsJPanel
Creates the preset colors combo box.
createPresetPanel() - Method in class ColorOptionsJPanel
Creates the drawing Node Panel.
createSpeedBar() - Method in class OptionControlsJPanel
Creates the speed bar.
createToolBar() - Method in class OptionControlsJPanel
Creates the tool bar.
CREATOR_INFORMATION - Static variable in class TreeApplication
 
currentLocation - Variable in class DeleteBSTAnimation
Private doubles used to hold the current and previous location steps.
currentPartition - Variable in class DeleteBSTAnimation
Refers to the current PartitionBSTAnimation being drawn.
currentSelection - Variable in class DeleteRedBlackAnimation
Refers to the current SelectionBSTAnimation being drawn.
CYAN - Static variable in class PaintSettings
The color cyan.

D

DARK_BLUE - Static variable in class PaintSettings
The color dark blue.
DARK_GRAY - Static variable in class PaintSettings
The color dark gray.
DARK_GREEN - Static variable in class PaintSettings
The color dark green.
DARK_ORANGE - Static variable in class PaintSettings
The color dark orange.
darkBlue - Static variable in class PaintSettings
Dark Blue.
darkGreen - Static variable in class PaintSettings
Dark Green.
darkOrange - Static variable in class PaintSettings
Dark Orange.
DEFAULT - Static variable in class BSTTreeJPanel
Default color scheme.
DEFAULT_BALANCE_DIFFERENCE - Static variable in class BalancedBSTTreeHead
Default balance probability.
DEFAULT_CONVERSION - Static variable in class AbstractAnimation
The Default step conversion used in animation (400).
DEFAULT_CONVERSION - Static variable in class SearchBSTAnimation
The Default step conversion used in animation (300).
DEFAULT_DELAY - Static variable in class NodeAndLinkAnimatingJPanel
The default delay for animation (90).
DEFAULT_DELAY - Static variable in class TreeJPanel
The default delay for animation (90).
DEFAULT_SCHEME - Static variable in class KeySettings
Default color scheme.
DEFAULT_SCHEME - Static variable in class NodeSettings
Default color scheme.
DEFAULT_SCHEME_2 - Static variable in class KeySettings
Old Default color scheme.
DEFAULT_SCHEME_2 - Static variable in class NodeSettings
Old Default color scheme.
DEFAULT_STEP - Static variable in class AbstractAnimation
The Default step size used in the animation (16).
DEFAULT_STEP - Static variable in class DisplayChangeAnimation
The Default step size used in the animation (16).
DEFAULT_STEP - Static variable in class RotationBSTAnimation
The Default step size used in the animation (16).
DELETE - Static variable in class OptionEvent
actionCommand passed for Deletion.
DELETE - Static variable in class TreeJPanel
String representing DELETE color scheme.
DELETE_BST_ANIMATION - Static variable in class AnimationEvent
ID for the DeleteBSTAnimation event.
DELETE_CLICK - Static variable in class OptionEvent
actionCommand passed for Deletion Click.
DELETE_RED_BLACK_ANIMATION - Static variable in class AnimationEvent
ID for the DeleteRedBlackAnimation event.
DeleteBSTAnimation - class DeleteBSTAnimation.
The Animation object that defines the Deletion of a node in a BSTTree.
DeleteBSTAnimation(BSTTree) - Constructor for class DeleteBSTAnimation
The constructor which initiates the status and sets the line paints to null.
DeleteBSTAnimation(BSTTree, PaintSettings, PaintSettings, String, int) - Constructor for class DeleteBSTAnimation
The constructor which initiates the status and prepares the line paints.
deleteClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Delete Click command.
deleteCommand(String) - Method in class OptionControlsJPanel
Delete command.
deleteCommand(String) - Method in class RedBlackTreeJPanel
Delete command.
deleteCommand(String) - Method in class TreeJPanel
Delete command.
deleteCommand(Tree) - Method in class TreeJPanel
Insert command.
deleteKeys(String) - Method in class TreeJPanel
Deletes the given text from the tree.
deleteLeftLinePaintSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected left line paint.
deleteNode(Tree) - Method in class TreeJPanel
Deletes the given node from the tree.
DeleteRedBlackAnimation - class DeleteRedBlackAnimation.
The Animation object that defines the Deletion of a node in a DeleteRedBlackAnimation.
DeleteRedBlackAnimation(BSTTree) - Constructor for class DeleteRedBlackAnimation
The constructor which initiates the status and sets the line paints to null.
DeleteRedBlackAnimation(BSTTree, PaintSettings, PaintSettings, String, int) - Constructor for class DeleteRedBlackAnimation
The constructor which initiates the status and prepares the line paints.
deleteRightLinePaintSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected right line paint.
DESKTOP_PANEL - Static variable in class OptionEvent
ID for an desktop panel.
DISPLAY_CHANGE - Static variable in class OptionEvent
Animation command passed for display change request.
DISPLAY_CHANGE_ANIMATION - Static variable in class AnimationEvent
ID for the DisplayChangeAnimation event.
DisplayChangeAnimation - class DisplayChangeAnimation.
The Animation object that defines the Rotation of a BSTTree.
DisplayChangeAnimation(BSTTreeHead, int) - Constructor for class DisplayChangeAnimation
The constructor which initiates the status and sets the color Schemes to default.
DisplayChangeAnimation(BSTTreeHead, int, NodeSettings, KeySettings, String, int) - Constructor for class DisplayChangeAnimation
The constructor which initiates the status and prepares the color schemes.
displayChangeCommand() - Method in class BSTTreeJPanel
Change Display Command.
displayChangeCommand() - Method in class RedBlackTreeJPanel
Change Display Command.
DOUBLE - Static variable in class OptionEvent
actionCommand passed for Change of input (Integer or Character and so forth).
DOUBLE - Static variable in class TreeJPanel
String representing double types.
DOWN_LEFT - Static variable in class MovingBSTTree
Defines moving down and to the left.
DOWN_RIGHT - Static variable in class MovingBSTTree
Defines moving down and to the right.
draw() - Method in class DrawingJPanel
Method actually called to complete the drawing of the panel.
draw() - Method in class NodeAndLinkDrawingJPanel
Method actually called to complete the drawing of the panel.
draw() - Method in class NodeDrawingJPanel
Method actually called to complete the drawing of the panel.
draw() - Method in class TreeJPanel
Method actually called to complete the drawing of the panel.
DrawableKey - interface DrawableKey.
The DrawableKey interface is a drawable key, that must implement the method drawKey, fillKey, and settings methods.
drawAnimatingNode() - Method in class BSTTreeJPanel
Draws the animating node using the currently selected animating settings.
drawAnimation(Graphics2D) - Method in class AbstractAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D) - Method in interface Animation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D) - Method in class DisplayChangeAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D) - Method in class RotationBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class AbstractAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in interface Animation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class BalanceBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class DeleteBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class DeleteRedBlackAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class DisplayChangeAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class InsertBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class InsertRedBlackAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class MovingBSTTreeAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class PartitionBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class RotationBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class RotationDoubleBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class SearchBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class SelectionBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawAnimation(Graphics2D, String) - Method in class TraverseBSTAnimation
Draws the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
drawDottedLine(Graphics2D, double) - Method in class DeleteBSTAnimation
Draws a dotted line according to the current location within the graphics.
drawDottedLine(Graphics2D, double) - Method in class DeleteRedBlackAnimation
Draws a dotted line according to the current location within the graphics.
drawDrawingNode() - Method in class BSTTreeJPanel
Draws the drawing node using the currently selected drawing settings.
drawDrawingNode() - Method in class RedBlackTreeJPanel
Draws the current drawing node using the specific stoke and paint for the red links.
drawFollowLeft(Graphics2D) - Method in class MovingBSTTree
Draws the moving node in the given Graphics2D to follow its parent as if it were the left child.
drawFollowNode(Graphics2D, double) - Method in class MovingBSTTree
Draws the moving node in the given Graphics2D to follow the location of the imitating node.
drawFollowNode(Graphics2D, double, boolean) - Method in class MovingBSTTree
Draws the moving node in the given Graphics2D to follow the location of the imitating node.
drawFollowRight(Graphics2D) - Method in class MovingBSTTree
Draws the moving node in the given Graphics2D to follow its parent as if it were the right child.
DRAWING - Static variable in class TreeJPanel
String representing DRAWING color scheme.
DRAWING_BST_TREE_TYPE - Static variable in class BSTTree
Tree type defining a DrawingBSTTree.
DrawingJPanel - class DrawingJPanel.
A specific type of JPanel for the dedicated purpose of drawing some sort of node or tree onto the panel.
DrawingJPanel() - Constructor for class DrawingJPanel
Sole Constructor for the JPanel that draws.
DrawingKey - class DrawingKey.
DrawingKey implements DrawableKey for it is a specific type that draws Object keys.
DrawingKey(Object) - Constructor for class DrawingKey
Constructor that instantiates the DrawingIntegerKey using the given Object k.
drawingKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected drawing Key Settings.
drawingNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected drawing Node Settings.
drawingPanel - Variable in class BSTTreeJPanel
The drawingPanel for this JPanel.
DrawingTree - interface DrawingTree.
The DrawingTree interface extends Tree because all Drawing Trees must also be Trees.
DrawingTreeHead - interface DrawingTreeHead.
The interface defines numerous methods which allow for the drawing of the entire DrawingTree onto a given Graphics2D using the head methods.
drawKey(Graphics2D) - Method in interface DrawableKey
Draws the actual key, first setting all values for the Graphics2D g2.
drawKey(Graphics2D) - Method in class DrawingKey
Draws the key, first setting all values for the Graphics2D g2.
drawKey(Graphics2D, AffineTransform) - Method in interface DrawableKey
Draws the key in the given Graphics2D, using the AffineTransform passed to it.
drawKey(Graphics2D, AffineTransform) - Method in class DrawingKey
Draws the key in the given Graphics2D, using the AffineTransform passed to it.
drawLeftLink(Graphics2D, double, AffineTransform, double, double) - Method in class MovingRedBlackTree
Draws just the left link according to the NodeSettings currently set.
drawLeftLink(Graphics2D, double, AffineTransform, double, double, boolean) - Method in class BSTTree
Draws just the left link according to the NodeSettings currently set.
drawLeftLink(Graphics2D, double, AffineTransform, double, double, boolean) - Method in class RedBlackTree
Draws just the left link according to the NodeSettings currently set.
drawLines(Graphics2D) - Method in class NodeAndLinkAnimatingJPanel
Draws the lines in the given panel using the Graphics2D.
drawNode() - Method in class BSTTree
Draws the node of the tree using the previously defined graphics.
drawNode() - Method in interface DrawingTree
Draws the node of the tree to the previously defined Graphics2D.
drawNode(Graphics2D) - Method in class BSTTree
Draws the node of the tree to the given Graphics2D.
drawNode(Graphics2D) - Method in interface DrawingTree
Draws the node of the tree to the given Graphics2D.
drawNode(Graphics2D, AffineTransform) - Method in class BSTTree
Draws the node of the tree to the given Graphics2D, using the AffineTransform.
drawNode(Graphics2D, AffineTransform) - Method in interface DrawingTree
Draws the node of the tree to the given Graphics2D, using the AffineTransform.
drawNodeAndLeftLink() - Method in class BSTTree
Draws the node and left link of the tree using the previously defined graphics.
drawNodeAndLink() - Method in class BSTTree
Draws the node and link of the tree using the previously defined graphics..
drawNodeAndLink() - Method in interface DrawingTree
Draws the node and link of the tree to the previously defined Graphics2D.
drawNodeAndLink(Graphics2D) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D) - Method in interface DrawingTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, AffineTransform) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, AffineTransform, boolean) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, boolean) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, double) - Method in class MovingBSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, double, AffineTransform, double, double) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, double, AffineTransform, double, double) - Method in interface DrawingTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndLink(Graphics2D, double, AffineTransform, double, double, boolean) - Method in class BSTTree
Draws the node and link of the tree to the given Graphics2D.
drawNodeAndRightLink() - Method in class BSTTree
Draws the node and right link of the tree using the previously defined graphics.
drawRightLink(Graphics2D, double, AffineTransform, double, double) - Method in class MovingRedBlackTree
Draws just the right link according to the NodeSettings currently set.
drawRightLink(Graphics2D, double, AffineTransform, double, double, boolean) - Method in class BSTTree
Draws just the right link according to the NodeSettings currently set.
drawRightLink(Graphics2D, double, AffineTransform, double, double, boolean) - Method in class RedBlackTree
Draws just the right link according to the NodeSettings currently set.
drawTree() - Method in class DrawingJPanel
Draws onto the defined draw tree graphic.
drawTree(Graphics2D) - Method in class BSTTree
Draws the tree recursively, on to the Graphics2D.
DrawTree(Graphics2D) - Method in class BSTTreeHead
Draws the entire tree from the null head down.
DrawTree(Graphics2D) - Method in interface DrawingTreeHead
Draws the entire tree from the null head down.

E

Ellipse2DNode - class Ellipse2DNode.
Ellipse2DNode class implements NodeShape for it is an Ellipse NodeShape that can be used as a node in a tree.
Ellipse2DNode() - Constructor for class Ellipse2DNode
Constructs a new Ellipse2D, initialized to location (0, 0) and size (0, 0).
Ellipse2DNode(double, double, double, double) - Constructor for class Ellipse2DNode
Constructs and initializes an Ellipse2D from the specified coordinates.
END - Variable in class DeleteBSTAnimation
Defines the final move through the tree.
END - Variable in class DeleteRedBlackAnimation
Defines the final move through the tree.
END_FIXUP - Static variable in class DeleteRedBlackAnimation
The location for the end of red-black deletion.
ENLARGE_SIZE - Static variable in class SelectionBSTAnimation
 
ERASE - Static variable in class KeySettings
Erasing color scheme.
ERASE - Static variable in class NodeSettings
Erasing color scheme.
eraseNodeAndLink() - Method in class BSTTree
Erases the previous drawing of the nodeAndLinkm, simply drawing.
ERROR_MESSAGE - Static variable in class TreeMessageEvent
command passed for an error message.
EXIT - Static variable in class OptionEvent
actionCommand passed for exiting the program.

F

FADE_NODE - Variable in class DeleteBSTAnimation
Constant that defines the fading of the erasing node.
FADE_NODE - Variable in class DeleteRedBlackAnimation
Constant that defines the fading of the erasing node.
FADE_NODE_REPLACE - Variable in class DeleteRedBlackAnimation
Defines the partitioning through the tree.
fillKey(Graphics2D) - Method in interface DrawableKey
Draws the key filling the given Graphics2D.
fillKey(Graphics2D) - Method in class DrawingKey
Draws the key filling the given Graphics2D.
FINAL_MOVE - Variable in class DeleteBSTAnimation
Defines the final move through the tree.
FINAL_MOVE - Variable in class DeleteRedBlackAnimation
Defines the final move through the tree.
finalMovingNodes - Variable in class DeleteBSTAnimation
Refers to the final moving nodes.
findNode(double, double) - Method in class BSTTree
Finds the node represented by the x-y coordinates given.
findNode(double, double) - Method in class BSTTreeHead
Finds the node represented by the x-y coordinates given.
findNode(double, double) - Method in interface DrawingTreeHead
Finds the node represented by the x-y coordinates given.
findReplacingNode() - Method in class RedBlackTree
Finds the replacing node for a deletion.
FINISH - Static variable in interface Animation
Constant for the FINISH status.
FIX_UP - Variable in class DeleteRedBlackAnimation
Defines the final move through the tree.
fixLevel() - Method in class BSTTreeHead
Fixes the lowest level of the Tree, using recursive calls into the BSTTree.
fixLevel() - Method in interface TreeHead
Fixes the lowest level of the Tree.
fixLevel(int) - Method in class BSTTree
Fixes the level of the node.
fixSize() - Method in class BSTTree
Fixes the size of the node.
fixSize() - Method in class BSTTreeHead
Fixes the size of each subtree, using recursive calls into the BSTTree.
fixTreeType(int) - Method in class BSTTree
Fixes the tree type for the entire BSTTree.
fixUpRedBlackLinks() - Method in class RedBlackTree
Fixes down to the bottom of the node passed, the red-black links.
FOLLOW_NODE - Static variable in class MovingBSTTree
Defines following the node passed as a follower.
FOLLOW_PARENT_LEFT - Static variable in class MovingBSTTree
Defines following the parent as its left child.
FOLLOW_PARENT_RIGHT - Static variable in class MovingBSTTree
Defines following the parent, as its right child.
fontDefault - Static variable in class KeySettings
Default Font for Key Drawing (Serif, Font.PLAIN).
FUNCTION_CHANGE - Static variable in class OptionEvent
Animation command passed for a function color change.
functionJComboBox - Variable in class BSTTreeJPanel
JComboBox that holds all of the functions available for this panel.

G

GET_INPUT_OPTIONS - Static variable in class OptionEvent
Animation command passed for a input options request.
GET_STATUS - Static variable in class OptionEvent
actionCommand passed for get status.
GET_STATUS_ALL - Static variable in class OptionEvent
actionCommand passed for get status.
getActionCommand() - Method in class OptionEvent
Returns the command string associated with this action.
getAnimatingNode() - Method in class ColorOptionsJPanel
Gets the animating node in the panel.
getAnimatingNode() - Method in class NodeAndLinkAnimatingJPanel
Gets the head of the tree currently drawn in the Panel.
getAnimatingPanel() - Method in class ColorOptionsJPanel
Gets the animating panel.
getAnimationDescription() - Method in class AnimationEvent
Returns the description String associated with this AnimationEvent.
getAnimationPanelShow() - Method in class OptionControlsJPanel
Gets the display of the animation Panel in this control bar.
getAnimationPanelShow() - Method in class OptionMainJPanel
Gets the display of the animation Panel in this control bar.
getAnimationScheme() - Method in class MovingBSTTreeAnimation
Gets the NodeSettings for the animation of the moving node.
getAnimationSchemeLeft() - Method in class InsertBSTAnimation
Gets the NodeSettings for the left animation scheme for the insertion.
getAnimationSchemeLeft() - Method in class SearchBSTAnimation
Gets the NodeSettings for the left animation scheme for the search.
getAnimationSchemeLeft() - Method in class SelectionBSTAnimation
Gets the NodeSettings for the left animation scheme for the search.
getAnimationSchemeRight() - Method in class InsertBSTAnimation
Gets the NodeSettings for the right animation scheme for the insertion.
getAnimationSchemeRight() - Method in class SearchBSTAnimation
Gets the NodeSettings for the right animation scheme for the search.
getAnimationSchemeRight() - Method in class SelectionBSTAnimation
Gets the NodeSettings for the right animation scheme for the search.
getAnimationTimer() - Method in class NodeAndLinkAnimatingJPanel
Gets the animation timer for the animation of the panel.
getAnimationTimer() - Method in class TreeJPanel
Gets the animation timer for the animation of the panel.
getAnimator() - Method in interface AnimatingTree
Gets the first Animation of the node.
getAnimator() - Method in class BSTTree
Gets the first Animation of the node.
getAnimatorScheme() - Method in class InsertBSTAnimation
Gets the NodeSettings for the animator scheme for the insertion.
getAnimatorScheme() - Method in class SearchBSTAnimation
Gets the NodeSettings for the animator scheme for the search.
getAnimatorScheme() - Method in class SelectionBSTAnimation
Gets the NodeSettings for the animator scheme for the search.
getAnimatorScheme() - Method in class TraverseBSTAnimation
Gets the NodeSettings for the animator scheme for the search.
getBackgroundColor() - Method in class BSTTreeHead
Sets the background paint for the tree.
getBalanceDifference() - Method in class BalancedBSTTreeHead
Gets the Balance Frequency for the Balanced BSTTree.
getChild() - Method in class BSTTreeHead
Gets the child of the TreeHead.
getChild() - Method in interface TreeHead
Gets the child of the TreeHead.
getChildAnimationScheme() - Method in class RotationBSTAnimation
Gets the NodeSettings for the child animation scheme for the rotation.
getChildNode() - Method in class DeleteRedBlackAnimation
Gets the node being deleted during the replacing.
getChildren() - Method in class BSTTree
Returns the children of the current Tree.
getChildren() - Method in interface Tree
Returns the children of the current Tree.
getColor(String) - Static method in class PaintSettings
Gets a NodeSettings that defines the given int scheme.
getColorSchemeOptions() - Method in class BSTTreeJPanel
Gets the color scheme aniamtion options for the current tree.
getColorSchemeSetting(String, String) - Method in class BSTTreeJPanel
Gets the Color Scheme setting for the given function and setting.
getColorSchemesJComboBox() - Method in class ColorOptionsJPanel
Gets the color schemes JCombo box.
getColorSchemesList(String) - Method in class BSTTreeJPanel
Gets the color scheme settings for each type of settings.
getColorSettings() - Method in class BSTTreeJPanel
Gets the color settings options for the current tree.
getColorSettingsJComboBox() - Method in class ColorOptionsJPanel
Gets the color settings JCombo box.
getColorSettingsString() - Method in class BSTTreeJPanel
Gets the color settings string of the current panel to the colorSettings param.
getCurrentGraphics() - Method in class BSTTree
Gets the graphics previously defined within the tree.
getCurrentLocation() - Method in class InsertBSTAnimation
Gets the current location of the Insertion.
getCurrentPower2() - Method in class BSTTree
Gets the current power of 2 to which the tree was last drawn.
getCurrentShape() - Method in class BSTTree
Gets the shape of the node previously drawn or transformed.
getCurrentTransform() - Method in class BSTTree
Gets the AffineTransform defined within the tree.
getCurrentTransform() - Method in interface DrawingTree
Gets the AffineTransform defined within the tree.
getDeleteLeftLinePaintSettings() - Method in class BSTTreeHead
Gets the Paint for the left line of Paint.
getDeleteRightLinePaintSettings() - Method in class BSTTreeHead
Gets the Paint for the right line of Paint.
getDescendantAnimationScheme() - Method in class RotationBSTAnimation
Gets the NodeSettings for the descendant animation scheme for the rotation.
getDescription() - Method in class AbstractAnimation
Gets the description added with addDescription and should be accessed through the listener.
getDescription() - Method in interface Animation
Gets the description added with addDescription and should be accessed through the listener.
getDisplay() - Method in class BSTTreeHead
Gets the display choice for the tree.
getDisplayChange() - Method in class DisplayChangeAnimation
Gets the displayChange for the display change animation.
getDisplayPanelShow() - Method in class OptionControlsJPanel
Gets the display of the display Panel in this control bar.
getDisplayPanelShow() - Method in class OptionMainJPanel
Gets the display of the display Panel in this control bar.
getDrawingArea() - Method in class DrawingJPanel
Gets the drawing area for this panel.
getDrawingKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the entire tree.
getDrawingKeySettings() - Method in interface DrawingTreeHead
Gets the KeySettings for the entire tree.
getDrawingLevel() - Method in class BSTTree
Gets the drawing level for the current DrawingTree.
getDrawingLevel() - Method in interface DrawingTree
Gets the drawing level for the current DrawingTree.
getDrawingNode() - Method in class ColorOptionsJPanel
Gets the drawing node in the panel.
getDrawingNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the entire tree.
getDrawingNodeSettings() - Method in interface DrawingTreeHead
Gets the NodeSettings for the entire tree.
getDrawingPanel() - Method in class ColorOptionsJPanel
Gets the drawing panel.
getDrawTreeGraphics() - Method in class DrawingJPanel
Gets the draw Tree Graphics for this panel.
getDrawTreeImage() - Method in class DrawingJPanel
Gets the draw Tree Image for this panel.
getElementCount() - Method in class SelectionBSTAnimation
Gets the element count (kth element being partition).
getEndLevel() - Method in class MovingBSTTree
Gets the ending level for the moving of the node.
getEndTransform() - Method in class MovingBSTTree
Gets the ending transform for the moving of the node.
getErasingNode() - Method in class DeleteBSTAnimation
Gets the node being deleted during the deletion.
getFirstAction() - Method in class WaitingActionList
Gets the given String of the action at the beggining of this list.
getFirstMovingNode() - Method in class MovingBSTTreeAnimation
Gets the first moving node in the list.
getFont() - Method in class KeySettings
Gets the Font used for drawing the key.
getFunctionJComboBox() - Method in class ColorOptionsJPanel
Gets the function JCombo box.
getHead() - Method in class BSTTree
Gets the head for the node.
getIcon(String) - Method in class OptionControlsJPanel
Gets the icon from the resource (JAR file).
getIcon(String) - Method in class TreeJDesktop
Gets the icon from the resource (JAR file).
getImage(String) - Method in class CenterJFrame
Gets the icon from the resource (JAR file).
getImage(String) - Method in class SplashPanel
Gets the icon from the resource (JAR file).
getInorderCount() - Method in class BSTTree
Returns the inorder count of the current node.
getInorderTree() - Method in class BSTTreeHead
Makes a inorder representation of the tree in an array of BSTTrees.
getInputOptions() - Method in class TreeJPanel
Gets the input options for the current tree.
getInscribedRectangle() - Method in class Ellipse2DNode
Get the Inscribed Rectangle of the current Ellipse2DNode according to the specifications of the NodeShape Interface.
getInscribedRectangle() - Method in interface NodeShape
Gets the Inscribed Rectangle of the current NodeShape.
getInsertAnimatorKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the animator key settings for insertion.
getInsertAnimatorNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the animator node settings for insertion.
getInsertNode() - Method in class InsertBSTAnimation
Gets the node currently being drawn during the Insertion.
getInsertNodeLeftSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the left node settings for insertion.
getInsertNodeRightSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the right node settings for insertion.
getKey() - Method in class BSTTree
Returns the key of the current BSTTree.
getKey() - Method in class BSTTreeHead.NodeAndKey
Gets the key for the object.
getKey() - Method in class DrawingKey
Gets the Object key of the DrawableKey.
getKey() - Method in interface Tree
Returns the key of the current Tree.
getKeyAnimationScheme() - Method in class MovingBSTTreeAnimation
Gets the KeySettings for the animation key for the moving node.
getKeyAnimationScheme() - Method in class RotationBSTAnimation
Gets the KeySettings for the animation scheme for the key during rotation.
getKeyAnimatorScheme() - Method in class InsertBSTAnimation
Sets the KeySettings for the animator scheme key for the insertion.
getKeyAnimatorScheme() - Method in class SearchBSTAnimation
Sets the KeySettings for the animator scheme key for the search.
getKeyAnimatorScheme() - Method in class SelectionBSTAnimation
Sets the KeySettings for the animator scheme key for the search.
getKeyAnimatorScheme() - Method in class TraverseBSTAnimation
Sets the KeySettings for the animator scheme key for the search.
getKeyComposite() - Method in class KeySettings
Gets the key composite.
getKeyFillPaint() - Method in class KeySettings
Gets the key fill paint.
getKeyOriginalScheme() - Method in class DisplayChangeAnimation
Gets the KeySettings for the original scheme of the key.
getKeyOriginalScheme() - Method in class RotationBSTAnimation
Gets the KeySettings for the original scheme of the key.
getKeyOriginRectangle() - Method in class BSTTree
Gets the shape of the key within the node shape at the origin and size 1, for usage in transforming and drawing.
getKeyOutlinePaint() - Method in class KeySettings
Gets the key outline paint.
getKeyOutlineStroke() - Method in class KeySettings
Gets the outline stroke of the key.
getKeyOutlineStrokeWidth() - Method in class KeySettings
Gets the outline stroke width of the key.
getKeySearch() - Method in class SearchBSTAnimation
Gets the comparable object being searched for.
getKeySelect() - Method in class PartitionBSTAnimation
Gets the keySelect of the partition, the kth element.
getKeyType() - Method in class TreeJPanel
Gets the key type for the tree.
getLeftLinePaint() - Method in class NodeAndLinkAnimatingJPanel
Gets the paint for the left line drawing.
getLeftLinePaintSettings() - Method in class DeleteBSTAnimation
Gets the paint for the left line of the partition for deletion.
getLeftLinkComposite() - Method in class NodeSettings
Gets the left link composite.
getLeftLinkPaint() - Method in class NodeSettings
Gets the left link paint.
getLeftLinkStroke() - Method in class NodeSettings
Gets the left link stroke.
getLeftLinkStrokeWidth() - Method in class NodeSettings
Gets the left link stroke width.
getLeftTree() - Method in class BSTTree
Returns the left BSTTree of the current tree.
getLevel() - Method in class BSTTree
Gets the the level of the current BSTTree.
getLevel() - Method in interface Tree
Gets the the level of the Tree.
getLevelCount() - Method in class PartitionBSTAnimation
Gets the count of levels for rotated the replacing node to its proper place.
getLevelorderTree() - Method in class BSTTreeHead
Makes a levelorder representation of the tree in an array of BSTTrees.
getList() - Static method in class KeySettings
Gets an array of String elements representing every NodeSettings choice available.
getList() - Static method in class NodeSettings
Gets an array of String elements representing every NodeSettings choice available.
getList() - Static method in class PaintSettings
Gets an array of String elements representing every PaintSettings choice available.
getListeners() - Method in class AbstractAnimation
Returns an array of all the listeners that were added to this Animation with addAnimationListener.
getMessage() - Method in class TreeMessageEvent
Returns the description String associated with this AnimationEvent.
getMessageMode() - Method in class OptionControlsJPanel
Gets the message mode for the panel.
getMessageObject() - Method in class TreeMessageEvent
Returns the status String associated with this AnimationEvent.
getMessagePanelShow() - Method in class OptionControlsJPanel
Gets the display of the display Panel in this control bar.
getMessagePanelShow() - Method in class OptionMainJPanel
Gets the display of the display Panel in this control bar.
getMovements() - Method in class InsertBSTAnimation
Gets the affine transform movements of the Insertion.
getMovePosition() - Method in class MovingBSTTree
Gets the move position for the moving node.
getMovingNode(BSTTree) - Method in class MovingBSTTreeAnimation
Gets the moving node within the Animation that imitates the passed BSTTree node.
getMovingNodes() - Method in class MovingBSTTreeAnimation
Gets the moving nodes used in the Animation.
getMovingParent() - Method in class MovingBSTTree
Gets the moving parent of the MovingBSTTree.
getMovingSectionHeight() - Method in class MovingBSTTree
Gets the section height for the drawing of the node.
getMovingTreeNodes() - Method in class DisplayChangeAnimation
Gets the MovingBSTTreeAnimation for the tree whose display is changing.
getNode() - Method in class BalanceBSTAnimation
Gets the node from which the balancing takes place.
getNode() - Method in class BSTTreeHead.NodeAndKey
Gets the node for the object.
getNode() - Method in class MovingBSTTree
Gets the node that the MovingBSTTree is imitating.
getNode() - Method in class NodeDrawingJPanel
Gets the head of the tree currently drawn in the Panel.
getNode() - Method in class PartitionBSTAnimation
Gets the node from which the partitioning takes place.
getNode() - Method in class RotationDoubleBSTAnimation
Gets the node from which the partitioning takes place.
getNodeAnimationScheme() - Method in class MovingBSTTreeAnimation
Gets the node Animationg scheme for each moving node.
getNodeComposite() - Method in class NodeSettings
Gets the node composite.
getNodeFillPaint() - Method in class NodeSettings
Gets the node fill paint.
getNodeHeight() - Method in class BSTTreeHead
Gets the height of the standard node within the tree.
getNodeHeight() - Method in interface DrawingTreeHead
Gets the height of the standard node within the tree.
getNodeMovements() - Method in class InsertBSTAnimation
Gets the nodes of the Insertion.
getNodeOriginalScheme() - Method in class DisplayChangeAnimation
Gets the NodeSettings for the original node scheme for the rotation.
getNodeOriginalScheme() - Method in class RotationBSTAnimation
Gets the NodeSettings for the original node scheme for the rotation.
getNodeOriginShape() - Method in class BSTTree
Gets the shape of the node at the origin and size 1, for usage in transforming and drawing.
getNodeOutlinePaint() - Method in class NodeSettings
Gets the node outline paint.
getNodeOutlineStroke() - Method in class NodeSettings
Gets the outline stroke of the node.
getNodeOutlineStrokeWidth() - Method in class NodeSettings
Gets the outline stroke width of the node.
getNodes() - Method in class MovingBSTTreeAnimation
Gets the BSTTree nodes used in the Animation.
getNodeShape() - Method in class NodeSettings
Gets the NodeShape of the settings.
getNodeWidth() - Method in class BSTTreeHead
Gets the width of the standard node within the tree.
getNodeWidth() - Method in interface DrawingTreeHead
Gets the width of the standard node within the tree.
getObjectList(String) - Method in class TreeJPanel
Gets a List of objects made from the String text.
getObjectValue() - Method in class OptionEvent
Returns the Object associated with the OptionEvent.
getOptionColorSchemeOptions(String) - Method in class BSTTreeJPanel
Gets the color scheme options for each type of animation.
getPaint() - Method in class PaintSettings
Gets the paint.
getPaint(String) - Static method in class PaintSettings
Gets the paint for the given String s NodeSettings that defines the given int scheme.
getParentTree() - Method in class BSTTree
Returns the parent of the current tree.
getParentTree() - Method in interface Tree
Returns the parent of the current Tree.
getPostorderTree() - Method in class BSTTreeHead
Makes a postorder representation of the tree in an array of BSTTrees.
getPreorderTree() - Method in class BSTTreeHead
Makes a preorder representation of the tree in an array of BSTTrees.
getPresetColorsJComboBox() - Method in class ColorOptionsJPanel
Gets the preset color options JCombo box.
getPreviousDisplay() - Method in class BSTTreeHead
Gets the previous display choice for the tree.
getPreviousLocation() - Method in class InsertBSTAnimation
Gets the previous location of the Insertion.
getPreviousTransform() - Method in class BSTTree
Gets the AffineTransform previously defined within the tree.
getProgress() - Method in class AnimationEvent
Returns the double progress associated with this AnimationEvent.
getRedLinkPaint() - Method in class RedBlackTree
Gets the red link paint for the current RedBlackTree.
getRedLinkPaint() - Method in class RedBlackTreeHead
Gets the red link paint for the current RedBlackTree.
getRedLinkStroke() - Method in class RedBlackTree
Gets the red link stroke for the current RedBlackTree.
getRedLinkStroke() - Method in class RedBlackTreeHead
Gets the red link stroke for the current RedBlackTree.
getReplacingNode() - Method in class BalanceBSTAnimation
Gets the node currently being replaced by the node being balanced (not set until after partition occurs).
getReplacingNode() - Method in class DeleteBSTAnimation
Gets the node being replaced during the deletion.
getReplacingNode() - Method in class PartitionBSTAnimation
Gets the node currently being rotated up to replace (not set until after selection occurs).
getRightLinePaint() - Method in class NodeAndLinkAnimatingJPanel
Gets the paint for the right line drawing.
getRightLinePaintSettings() - Method in class DeleteBSTAnimation
Gets the PaintSettings for the right line of the partition for deletion.
getRightLinkComposite() - Method in class NodeSettings
Gets the right link composite.
getRightLinkPaint() - Method in class NodeSettings
Gets the right link paint.
getRightLinkStroke() - Method in class NodeSettings
Gets the right link stroke.
getRightLinkStrokeWidth() - Method in class NodeSettings
Gets the right link stroke width.
getRightTree() - Method in class BSTTree
Returns the right BSTTree of the current tree.
getRootAnimationScheme() - Method in class RotationBSTAnimation
Gets the NodeSettings for the root animation scheme for the rotation.
getRotateAnimatorKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the animator key settings for rotation.
getRotateChildNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the child node settings for rotation.
getRotateDescendantNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the descendant node settings for rotation.
getRotateOriginalKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the original key settings for rotation.
getRotateOriginalNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the original node settings for rotation.
getRotateRootNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the root node settings for rotation.
getScheme(String) - Static method in class KeySettings
Gets a KeySettings that defines the given int scheme.
getScheme(String) - Static method in class NodeSettings
Gets a NodeSettings that defines the given int scheme.
getScheme(String) - Static method in class PaintSettings
Gets a PaintSettings that defines the given String scheme.
getScheme(String, Color) - Static method in class NodeSettings
Gets a NodeSettings that defines the given int scheme.
getScreenBounds() - Method in class BSTTree
Gets the bounds of the screen to which the tree is drawing.
getScreenBounds() - Method in class BSTTreeHead
Gets the bounds of the screen to which the tree is drawing.
getScreenBounds() - Method in interface DrawingTree
Gets the bounds of the screen to which the tree is drawing.
getScreenBounds() - Method in interface DrawingTreeHead
Gets the bounds of the screen to which the tree is drawing.
getSearchAnimatorKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the animator key settings for searching.
getSearchAnimatorNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the animator node settings for searching.
getSearchNodeLeftSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the left node settings for searching.
getSearchNodeRightSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the right node settings for searching.
getSectionHeight() - Method in class BSTTree
Gets the height of the section for the DrawingTree.
getSectionHeight() - Method in interface DrawingTree
Gets the height of the section for the DrawingTree.
getSelectAnimatorKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the animator key settings for selection.
getSelectAnimatorNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the animator node settings for selection.
getSelectedPanel() - Method in class ColorOptionsJPanel
Gets the currently selected panel for the color schemes.
getSelectedPanel() - Method in class TreeJDesktop
Gets the currently selected panel, whether it is the panel selected of the windows or whether it is the selected tabbed pane.
getSelectNodeLeftSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the left node settings for selection.
getSelectNodeRightSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the right node settings for selection.
getSettingName() - Method in class KeySettings
Gets the string name for the current settings.
getSettingName() - Method in class NodeSettings
Gets the string name for the current settings.
getSettingName() - Method in class PaintSettings
Gets the string name for the current settings.
getSettings() - Method in class BSTTree
Gets the NodeSettings of the tree.
getSettings() - Method in interface DrawableKey
Gets the KeySettings of the key.
getSettings() - Method in class DrawingKey
Gets the KeySettings of the key.
getSettings() - Method in interface DrawingTree
Gets the NodeSettings of the tree.
getStartingCommand() - Method in class AbstractAnimation
Gets the starting command for the current animation.
getStartLevel() - Method in class MovingBSTTree
Gets the starting level for the moving of the node.
getStartTransform() - Method in class MovingBSTTree
Gets the starting transform for the moving of the node.
getStatus() - Method in class AbstractAnimation
Gets the status of the Animation using a command within Animation interface.
getStatus() - Method in interface Animation
Gets the status of the Animation using a command within Animation interface.
getStatus() - Method in class AnimationEvent
Returns the status String associated with this AnimationEvent.
getStep() - Method in class AbstractAnimation
Gets whether the current animation is in stepping mode or not.
getStep() - Method in interface Animation
Gets whether the current animation is in stepping mode or not.
getStepConversion() - Method in class AbstractAnimation
Gets the conversion factor for step size and step time.
getStepSize() - Method in class AbstractAnimation
Gets the step size for the animation.
getStepTime() - Method in class AbstractAnimation
Gets the step time for the animation.
getStepTime() - Method in interface Animation
Gets the step size for the animation.
getString(Color) - Static method in class PaintSettings
Gets a String that defines the given Color.
getStringList(String) - Method in class TreeJPanel
Processes a given text String into a LinkedList of Strings.
getTitle() - Method in class BSTTreeJPanel
Gets the title for the tree.
getTitle() - Method in class TreeJPanel
Gets the title for the tree.
getTransformStep(AffineTransform, AffineTransform, double) - Static method in class AffineTransformList
Finds the appropriate AffineTransform given a double step and two AffineTrasforms.
getTransformStep(double) - Method in class AffineTransformList
Finds the appropriate AffineTransform given a double step.
getTraverseAnimatorKeySettings() - Method in class BSTTreeHead
Gets the KeySettings for the animator key settings for traversal.
getTraverseAnimatorNodeSettings() - Method in class BSTTreeHead
Gets the NodeSettings for the animator node settings for traversal.
getTree() - Method in class TreeJPanel
Gets the head of the tree currently drawn in the Panel.
getTreeAnimationStepSize() - Method in interface AnimatingTreeHead
Gets the step size of the Animations of the tree.
getTreeAnimationStepSize() - Method in class BSTTreeHead
Gets the step size of the Animations of the tree.
getTreeAnimator() - Method in interface AnimatingTreeHead
Gets the first Animation in the list of Animations for the Head and null if no Animations are present.
getTreeAnimator() - Method in class BSTTreeHead
Gets the first Animation in the list of Animations for the Head and null if no Animations are present.
getTreeLevel() - Method in class BSTTreeHead
Gets the lowest level of the Tree.
getTreeLevel() - Method in interface TreeHead
Gets the lowest level of the Tree.
getTreeSectionHeight() - Method in class BSTTreeHead
Returns the height of the section, used for rendering the tree.
getTreeStatus() - Method in interface AnimatingTreeHead
Gets the Tree's status, using the String status of Animation.
getTreeStatus() - Method in class BSTTreeHead
Gets the Tree's status, using the String status of Animation.
getTreeStatusMessage() - Method in interface AnimatingTreeHead
Makes a new tree message.
getTreeStatusMessage() - Method in class BSTTreeHead
Makes a new tree message.
getTreeStatusMessage() - Method in class TreeJPanel
Get the tree message.
getTreeType() - Method in class BSTTree
Gets the tree type for the BSTTree.
getTreeTypeString() - Method in class BalancedBSTTreeHead
Gets the tree type String for the BSTTree.
getTreeTypeString() - Method in class BSTTree
Gets the tree type String for the BSTTree.
getTreeTypeString() - Method in class RedBlackTreeHead
Gets the tree type String for the BSTTree.
getTreeTypeString() - Method in class RootInsertionBSTTreeHead
Gets the tree type String for the BSTTree.
getTreeTypeString() - Method in class SplayTreeHead
Gets the tree type String for the BSTTree.
getValue() - Method in class BSTTree
Returns the value of the current BSTTree.
getValue() - Method in interface Tree
Returns the value of the current Tree.
getWaitingList() - Method in class BSTTreeHead
Gets the WaitingActionList representing the waitingList for the tree.
GHOST_SCHEME - Static variable in class KeySettings
Ghost color scheme.
GHOST_SCHEME - Static variable in class NodeSettings
Ghost color scheme.
GHOSTLY_GRAY - Static variable in class PaintSettings
The color ghostly gray.
ghostlyGray - Static variable in class PaintSettings
Ghostly Gray.
GRAY - Static variable in class PaintSettings
The color gray.
GRAY_BLUE - Static variable in class PaintSettings
The color gray blue.
GRAY_GREEN - Static variable in class PaintSettings
The color gray green.
GRAY_RED - Static variable in class PaintSettings
The color gray red.
grayBlue - Static variable in class PaintSettings
Gray blue.
grayGreen - Static variable in class PaintSettings
Gray green.
grayRed - Static variable in class PaintSettings
Gray red.
GREEN - Static variable in class PaintSettings
The color green.

H

HALLOWEEN - Static variable in class BSTTreeJPanel
Halloween color scheme.
HALLOWEEN_SCHEME - Static variable in class NodeSettings
Halloween color scheme.

I

id - Static variable in class CenterJFrame
Id for the control panel.
id - Static variable in class ColorOptionsJPanel
Id for the control panel.
id - Static variable in class OptionControlsJPanel
Id for the control panel.
id - Static variable in class OptionJPanel
Id for the control panel.
id - Static variable in class OptionMainJPanel
Id for the control panel.
indigo - Static variable in class PaintSettings
Indigo.
INDIGO - Static variable in class PaintSettings
The color indigo.
initialize() - Method in class TreeJDesktop
Original intialization.
initMovingBSTTree() - Method in class MovingBSTTree
Initiliazes the node with the move position defined within the node.
initMovingBSTTree(int) - Method in class MovingBSTTree
Initiliazes the node with the move position passed.
INORDER_TRAVERSAL - Static variable in class OptionEvent
Animation command passed for an inorder traversal.
INORDER_TRAVERSAL - Static variable in interface TreeHead
Traverse type inorder.
INPUT_CHANGE_ALL - Static variable in class OptionEvent
actionCommand passed for Change of input (Integer or Character and so forth).
inputChange(String) - Method in class TreeJPanel
Changes the input according to the text string.
inputChangeCommand(String) - Method in class TreeJPanel
Input Change Command.
INSERT - Static variable in class OptionEvent
actionCommand passed for Insertion.
INSERT - Static variable in class TreeJPanel
String representing INSERT color scheme.
INSERT_BST_ANIMATION - Static variable in class AnimationEvent
ID for the InsertBSTAnimation event.
INSERT_NODE - Static variable in interface TreeHead
String representing the waiting action of insert.
INSERT_RED_BLACK_ANIMATION - Static variable in class AnimationEvent
ID for the InsertRedBlackAnimation event.
insert(BSTTree, int) - Method in class BalancedBSTTree
Inserts the given object into the tree, using recursive calls and is called from the Head node.
insert(BSTTree, int) - Method in class BSTTree
Inserts the given object into the tree, using recursive calls and is called from the Head node.
insert(BSTTree, int) - Method in class RedBlackTree
Inserts the given object into the tree, using recursive calls and is called from the Head node.
insert(Comparable, Object) - Method in class BSTTreeHead
Inserts the comaparable object keyInsert to the tree using its natural ordering .
insert(Comparable, Object) - Method in interface TreeHead
Adds the comaparable object keyInsert to the tree using its natural ordering .
insert(Tree) - Method in class BalancedBSTTreeHead
Adds the node to the tree using its natural ordering .
insert(Tree) - Method in class BSTTreeHead
Inserts the node to the tree using its natural ordering .
insert(Tree) - Method in class RootInsertionBSTTreeHead
Adds the node to the tree using its natural ordering .
insert(Tree) - Method in class SplayTreeHead
Adds the node to the tree using its natural ordering .
insertAnimatingType(BSTTree) - Method in class BalancedBSTTreeHead
Insert the comaparable node to the tree using its natural ordering .
insertAnimatingType(BSTTree) - Method in class BSTTreeHead
Inserts the comaparable node to the tree using its natural ordering .
insertAnimatingType(BSTTree) - Method in class RedBlackTreeHead
Insert the comaparable node to the tree using its natural ordering .
insertAnimatingType(BSTTree) - Method in class RootInsertionBSTTreeHead
Insert the comaparable node to the tree using its natural ordering .
insertAnimatingType(BSTTree) - Method in class SplayTreeHead
Insert the comaparable node to the tree using its natural ordering .
insertAnimatorKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected insertion Animator Key Settings.
insertAnimatorNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected insertion Animator Node Settings.
InsertBSTAnimation - class InsertBSTAnimation.
The Animation object that defines the Insertion into a BSTTree.
InsertBSTAnimation(BSTTree) - Constructor for class InsertBSTAnimation
The constructor which initiates the status and sets the colorSchemes to null.
InsertBSTAnimation(BSTTree, NodeSettings, NodeSettings, NodeSettings, KeySettings, String, int) - Constructor for class InsertBSTAnimation
The constructor which initiates the status and prepares the colorSchemes.
insertCommand(String) - Method in class OptionControlsJPanel
Insert command.
insertCommand(String) - Method in class TreeJPanel
Insert command.
insertDrawingType(BSTTree) - Method in class BSTTreeHead
Insert the comaparable node to the tree using its natural ordering .
insertionSize - Variable in class InsertBSTAnimation
Counts the initial insertion size of the tree.
insertKeys(String) - Method in class TreeJPanel
Inserts the given text as keys into the tree.
insertNodeLeftSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected insertion Left Node Settings.
insertNodeRightSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected insertion Right Node Settings.
InsertRedBlackAnimation - class InsertRedBlackAnimation.
The Animation object that defines the Insertion into a Red-Black Tree.
InsertRedBlackAnimation(BSTTree) - Constructor for class InsertRedBlackAnimation
The constructor which initiates the status and sets the colorSchemes to null.
InsertRedBlackAnimation(BSTTree, NodeSettings, NodeSettings, NodeSettings, KeySettings, String, int) - Constructor for class InsertRedBlackAnimation
The constructor which initiates the status and prepares the colorSchemes.
insertRedBlackTree(RedBlackTree) - Method in class RedBlackTree
Inserts the given object into the tree, using recursive calls and is called from the Head node.
insertTreeType(BSTTree) - Method in class BSTTreeHead
Insert the comaparable node to the tree using its natural ordering .
INTEGER - Static variable in class OptionEvent
actionCommand passed for Change of input (Integer or Character and so forth).
INTEGER - Static variable in class TreeJPanel
String representing integer types.
inTree() - Method in class BSTTree
Determines if the current node is within a BSTTree.
isAnimateDrawing() - Method in class BSTTree
Gets the boolean flag whether the node should draw if called from an animation.
isAnimating() - Method in class TreeJPanel
Gets whether the tree is animating or not.
isAnimatingBSTTree() - Method in class BSTTree
Returns true if the BSTTree is of type AnimatingBSTTree.
isComponentShown() - Method in class DrawingJPanel
Sets whether the tree is shown or not.
isDrawingBSTTree() - Method in class BSTTree
Returns true if the BSTTree is of type DrawingBSTTree or higher type.
isDrawingLines() - Method in class NodeAndLinkAnimatingJPanel
Gets whether the animation is drawing lines or a node.
isDrawTree() - Method in class DrawingJPanel
Gets whether the tree needs to be redrawn.
isEmpty() - Method in class BSTTree
Returns true if the current BSTTree is empty.
isEmpty() - Method in class MovingBSTTreeAnimation
Returns true if the moving node list is empty.
isEmpty() - Method in interface Tree
Returns true if the current Tree is empty.
isJumpStep() - Method in interface AnimatingTreeHead
Gets the JumpStep of the current tree.
isJumpStep() - Method in class BSTTreeHead
Gets the JumpStep of the current tree.
isNodeAnimating() - Method in interface AnimatingTree
Returns true if the node is animating.
isNodeAnimating() - Method in class BSTTree
Returns true if the node is animating.
isRedLink() - Method in class RedBlackTree
Gets the red link for the node.
isSearchHit() - Method in class SearchBSTAnimation
Gets whether a search hit has been found.
isSettingsSaved() - Method in class BSTTree
Returns true if the settings are currently saved for the DrawingTree.
isSettingsSaved() - Method in interface DrawableKey
Returns true if the KeySettings are currently saved.
isSettingsSaved() - Method in class DrawingKey
Returns true if the KeySettings are currently saved for the DrawingTree.
isStep() - Method in class TreeJPanel
Gets whether the tree is stepping or not.
isStepPause() - Method in interface AnimatingTreeHead
Gets the StepPause of the current tree.
isStepPause() - Method in class BSTTreeHead
Gets the StepPause of the current tree.
isTreeAnimating() - Method in interface AnimatingTreeHead
Returns true if the current AnimatingTreeHead is animating (whether the animating list is empty.
isTreeAnimating() - Method in class BSTTreeHead
Returns true if the current AnimatingBSTTreeHead is animating (whether the animating list is empty.
isTreeEmpty() - Method in class BSTTreeHead
Returns true if the is empty, indicating no Child node, and a level of 0.
isTreeEmpty() - Method in interface TreeHead
Returns true if the is empty, indicating no Child node, and a level of 0.
isTreeRemove() - Method in class BSTTreeHead
Gets whether the AnimatingBSTTreeHead is removing an Animation.
isWindows() - Method in class TreeJDesktop
Gets if the desktop is set up in windows format or tabbed pabe format.
itemStateChanged(ItemEvent) - Method in class CenterJFrame
Implements ItemListener.

J

join(BSTTree, BSTTree) - Static method in class BSTTree
Joins two subtrees together as one tree.

K

KEY - Static variable in class TreeJPanel
String representing Key color scheme.
KEY_ANIMATOR_SETTINGS - Static variable in class TreeJPanel
String representing key animator color scheme.
KEY_ORIGINAL_SETTINGS - Static variable in class TreeJPanel
String representing key original color scheme.
KEY_TYPE_CHANGE - Static variable in class TreeMessageEvent
command passed for change of key type.
keyAlphaAnimateDefault - Static variable in class KeySettings
Default alpha for Key Animating (.8).
keyAlphaDefault - Static variable in class KeySettings
Default alpha for Key Drawing (1.0).
keyCompositeAnimateDefault - Static variable in class KeySettings
Default Composite for key animating (AlphaComposite(keyRuleDefault, keyAlphaAnimateDefault)).
keyCompositeDefault - Static variable in class KeySettings
Default Composite for key drawing (AlphaComposite(keyRuleDefault, keyAlphaDefault)).
keyDefaultColor - Static variable in class KeySettings
Default Paint for Key Fill (PaintSettings.lightWhite).
keyDefaultStroke - Static variable in class KeySettings
Default Stroke for Key Drawing (BasicStroke(.05)).
keyOutlineDefaultColor - Static variable in class KeySettings
Default Paint for Key Stroke (Color.black).
keyPressed(KeyEvent) - Method in class OptionControlsJPanel
keyPressed command.
keyReleased(KeyEvent) - Method in class OptionControlsJPanel
keyReleased command.
keyRuleDefault - Static variable in class KeySettings
Default AlphaComposite rule for Key Drawing (SRC_OVER).
KeySettings - class KeySettings.
The class provides an object that refers to the settings of a DrawableKey.
KeySettings() - Constructor for class KeySettings
Constructor, contructs a default defined KeySettings.
KeySettings(String) - Constructor for class KeySettings
Constructor, contructs a defined KeySettings with the given scheme.
keyTyped(KeyEvent) - Method in class OptionControlsJPanel
keyTyped command.

L

LEFT_CHECK - Static variable in class InsertRedBlackAnimation
The location for the left checking of rotations.
LEFT_PAINT - Static variable in class TreeJPanel
String representing the left paint.
LEFT_ROTATION - Static variable in class RotationBSTAnimation
Defines a left rotation.
LEVELORDER_TRAVERSAL - Static variable in class OptionEvent
Animation command passed for a levelorder traversal.
LEVELORDER_TRAVERSAL - Static variable in interface TreeHead
Traverse type levelorder.
LICENSE_INFORMATION - Static variable in class TreeApplication
 
LIGHT_GRAY - Static variable in class PaintSettings
The color light gray.
LIGHT_GREEN - Static variable in class PaintSettings
The color light green.
LIGHT_WHITE - Static variable in class PaintSettings
The color light white.
LIGHTER_GRAY - Static variable in class PaintSettings
The color lighter gray.
lighterGray - Static variable in class PaintSettings
Light Gray (lighter than Color.gray).
lightGreen - Static variable in class PaintSettings
Light Green.
lightWhite - Static variable in class PaintSettings
Light white (darker than Color.white).
linkAlphaAnimateDefault - Static variable in class NodeSettings
Default AlphaComposite alpha for link animating (0.6).
linkAlphaDefault - Static variable in class NodeSettings
Default AlphaComposite alpha for link drawing (0.8).
linkCompositeAnimateDefault - Static variable in class NodeSettings
Default Composite for link animating (AlphaComposite(linkRuleDefault, linkAlphaAnimateDefault)).
linkCompositeDefault - Static variable in class NodeSettings
Default Composite for link drawing (AlphaComposite(linkRuleDefault, linkAlphaDefault)).
linkDefaultColor - Static variable in class NodeSettings
Default Paint for link drawing (PaintSettings.lightWhite)
linkDefaultStroke - Static variable in class NodeSettings
Default Stroke for link drawing (BasicStroke(1)).
linkRuleDefault - Static variable in class NodeSettings
Default AlphaComposite rule for link drawing (SRC_IN).
listeners - Variable in class AbstractAnimation
The list of listeners to this Animation Object.
listeners - Variable in class CenterJFrame
Listeners for the Panel.
listeners - Variable in class OptionJPanel
Listeners for the Panel.

M

MAGENTA - Static variable in class PaintSettings
The color magenta.
MAIN_OPTION_PANEL - Static variable in class OptionEvent
ID for an main option panel.
main(String[]) - Static method in class TreeApplication
Creates new Applet
makeAnimation(Graphics2D, String) - Method in class MovingBSTTreeAnimation
Makes the animation of the next step, using the status of the animation (Animation.PLAY, Animation.PAUSE and so forth).
makeBalanceAnimation(BSTTree) - Method in class BSTTreeHead
Makes a balance Animation using the given node.
makeBalanceErrorMessage() - Method in class BalancedBSTTreeJPanel
Constructs an error type if the tree is attempted to balance.
makeBalanceErrorMessage() - Method in class RedBlackTreeJPanel
Constructs an error type if the tree is attempted to balance.
makeChangeDisplayAnimation() - Method in class BSTTreeHead
Makes a changeDisplay Animation.
makeColorSchemeOptions() - Method in class TreeJPanel
Passes a message to make the color scheme options for the current Panel.
makeColorSettings() - Method in class TreeJPanel
Passes a message to make the color settings options for the current Panel.
makeCurrentRotation() - Method in class DeleteRedBlackAnimation
Constructs the current Rotation according to the current tree, and the defined rotationCheck.
makeCurrentRotation(RedBlackTree, RedBlackTree) - Method in class InsertRedBlackAnimation
Constructs the current Rotation according to the current tree, and the defined rotationCheck.
makeDeleteErrorMessage() - Method in class RedBlackTreeJPanel
Constructs an error type if a node is attempted to delete.
makeDeletionAnimation(BSTTree) - Method in class BSTTreeHead
Makes a deletion Animation using the given node.
makeDeletionAnimation(BSTTree) - Method in class RedBlackTreeHead
Makes a delete Animation using the given node.
makeDrawTreeGraphics() - Method in class DrawingJPanel
Makes the drawing graphics.
makeDrawTreeGraphics() - Method in class NodeAndLinkAnimatingJPanel
Makes the drawing graphics.
makeDrawTreeImage() - Method in class DrawingJPanel
Makes the drawing image.
makeInorderTree(LinkedList) - Method in class BSTTree
Makes an array in inorder using recursive calls and the count.
makeInsertAnimation(BSTTree) - Method in class BSTTreeHead
Makes an insert Animation using the given node.
makeInsertAnimation(BSTTree) - Method in class RedBlackTreeHead
Makes an insert Animation using the given node.
makeInsertAnimation(BSTTree, InsertBSTAnimation) - Method in class BSTTree
Insert the BSTTree down from the current node.
makeInsertAnimation(BSTTree, InsertRedBlackAnimation) - Method in class RedBlackTree
Insert the BSTTree down from the current node.
makeJPopupMenu(ActionListener) - Method in class BSTTreeJPanel
Constructs a popupmenu, using the actionlistener passed.
makeJPopupMenu(ActionListener) - Method in class RedBlackTreeJPanel
Constructs a popupmenu, using the actionlistener passed.
makeJPopupMenu(ActionListener) - Method in class TreeJPanel
Constructs a popupmenu, using the actionlistener passed.
makeMissingErrorMessage(String) - Method in class TreeJPanel
Constructs a error missing message based upon the current type and the String passed in.
makeNode(Comparable, Object) - Method in class BalancedBSTTreeHead
Makes and places the node into the tree.
makeNode(Comparable, Object) - Method in class BSTTreeHead
Makes and places the node into the tree.
makeNode(Graphics2D, double) - Method in class MovingBSTTree
Sets the node of the tree in the given Graphics2D, by setting the AffineTransform.
makeNodeDrawingType(Comparable, Object) - Method in class BSTTreeHead
Makes and places the node into the tree.
makeNodeTreeType(Comparable, Object) - Method in class BSTTreeHead
Makes and places the node into the tree.
makeNodeTreeType(Comparable, Object) - Method in class RedBlackTreeHead
Makes and places the node into the tree.
makePartitionAnimation(BSTTree, int) - Method in class BSTTreeHead
Makes a partition Animation using the given node and given keySelect.
makePostorderTree(LinkedList) - Method in class BSTTree
Makes an array in postorder using recursive calls and the count.
makePreorderTree(LinkedList) - Method in class BSTTree
Makes an array in preorder using recursive calls and the count.
makeRandomTree(String, String, int, boolean) - Method in class TreeJDesktop
Constructs a random Tree for every tree currently in the desktop.
makeRotationAnimation(BSTTree) - Method in class BSTTreeHead
Makes a rotation Animation using the given node.
makeRotationDoubleAnimation(BSTTree) - Method in class BSTTreeHead
Makes a rotationDouble Animation using the given node.
makeSearchAnimation(Comparable) - Method in class BSTTreeHead
Makes a search Animation using the given keySearch.
makeSearchAnimation(Comparable, SearchBSTAnimation) - Method in class BSTTree
Constructs the searchBSTAnimation down from the current node.
makeSelectionAnimation(BSTTree, int) - Method in class BSTTreeHead
Makes a select Animation using the given keySelect.
makeSelectionAnimation(int, SelectionBSTAnimation) - Method in class BSTTree
Constructs the partitionBSTAnimation down from the current node.
makeTabbedPane() - Method in class TreeJDesktop
Makes a tabbedPane.
makeTraverseAnimation(LinkedList) - Method in class BSTTreeHead
Makes a traverse Animation using the given LinkedList.
makeTree(AffineTransform, int) - Method in class BSTTree
Makes the tree recursively using the two parameters.
MakeTree(Graphics2D) - Method in class BSTTreeHead
Makes the entire tree from the null head down.
MakeTree(Graphics2D) - Method in interface DrawingTreeHead
Makes the entire tree from the null head down.
makeTypeErrorMessage(String) - Method in class TreeJPanel
Constructs a error type message based upon the current type and the String passed in.
makeTypeIntegerErrorMessage(String) - Method in class TreeJPanel
Constructs a error type message based upon the current type and the String passed in.
makeWindows() - Method in class TreeJDesktop
Makes the windows for the Desktop.
MESSAGE_ALL - Static variable in class OptionEvent
Animation command passed for all message to pass.
MESSAGE_FINAL_ONLY - Static variable in class OptionControlsJPanel
Message mode set for onyl final messages.
MESSAGE_FINAL_ONLY - Static variable in class OptionEvent
Animation command passed for only final messages to pass.
MESSAGE_OFF - Static variable in class OptionControlsJPanel
Message mode set for messages off.
MESSAGE_OFF - Static variable in class OptionEvent
Animation command passed for no messages to pass.
MESSAGE_ON - Static variable in class OptionControlsJPanel
Message mode set for messages on.
messageAction(String) - Method in class AbstractAnimation
Calls animationAction with an ANIMATION_MESSAGE, sending the message to all of its listeners.
messageAction(String) - Method in class BSTTreeHead
Calls all of the listeners of the Tree and passes the tree message information information regarding the status of the Tree.
messageAction(String, Object) - Method in class BSTTreeHead
Calls all of the listeners of the Tree and passes the tree message information information regarding the status of the Tree.
messageAction(String, Object) - Method in class OptionMainJPanel
Calls all of the treeListeners of the Tree and passes the tree message information information regarding the status of the Tree.
messageAction(String, Object) - Method in class TreeJDesktop
Calls all of the treeListeners of the Tree and passes the tree message information information regarding the status of the Tree.
messageAction(String, Object) - Method in class TreeJPanel
Calls all of the treeListeners of the Tree and passes the tree message information information regarding the status of the Tree.
messageAction(TreeMessageEvent) - Method in class OptionMainJPanel
Calls all of the treeListeners of the Tree and passes the tree message information information regarding the status of the Tree.
mouseClicked(MouseEvent) - Method in class OptionMainJPanel
mouseClicked command.
mouseDragged(MouseEvent) - Method in class OptionMainJPanel
MouseDragged command.
mouseEntered(MouseEvent) - Method in class OptionMainJPanel
mouseEntered command.
mouseExited(MouseEvent) - Method in class OptionMainJPanel
mouseExited command.
mouseMoved(MouseEvent) - Method in class OptionMainJPanel
MouseMoved command.
mousePressed(MouseEvent) - Method in class OptionMainJPanel
MousePressed command.
mouseReleased(MouseEvent) - Method in class OptionMainJPanel
MouseReleased command.
MOVING_NODES_ANIMATION - Static variable in class AnimationEvent
ID for the MovingBSTAnimation event.
MovingBSTTree - class MovingBSTTree.
The class provides the base structure for a BSTTree that can move to a new position in the Binary Search Tree.
MovingBSTTree(BSTTree) - Constructor for class MovingBSTTree
Constructor without a parent passed, indicating that FOLLOW_PARENT_LEFT and FOLLOW_PARENT_RIGHT are not accesible unless a parent is set.
MovingBSTTree(BSTTree, MovingBSTTree) - Constructor for class MovingBSTTree
Constructor with a parent passed.
MovingBSTTreeAnimation - class MovingBSTTreeAnimation.
The Animation object that defines the Moving of a MovingBSTTree.
MovingBSTTreeAnimation() - Constructor for class MovingBSTTreeAnimation
The constructor which initiates the status as Animation.PLAY, default step size, the default NodeAnimationScheme and KeyAnimationScheme.
MovingBSTTreeAnimation(NodeSettings, KeySettings) - Constructor for class MovingBSTTreeAnimation
The constructor which initiates the status as Animation.PLAY, default step size, the given NodeAnimationScheme and KeyAnimationScheme.
MovingBSTTreeAnimation(NodeSettings, KeySettings, String, int) - Constructor for class MovingBSTTreeAnimation
The constructor which initiates the status and prepares the color Schemes.
MovingRedBlackTree - class MovingRedBlackTree.
The class provides the base structure for a RedBlackTree that can move to a new position in the Binary Search Tree.
MovingRedBlackTree(BSTTree) - Constructor for class MovingRedBlackTree
Constructor without a parent passed, indicating that FOLLOW_PARENT_LEFT and FOLLOW_PARENT_RIGHT are not accesible unless a parent is set.
MovingRedBlackTree(BSTTree, MovingBSTTree) - Constructor for class MovingRedBlackTree
Constructor with a parent passed.

N

nextAction(TreeHead) - Method in class WaitingActionList
Calls the next action of the ObjectHead headelement, using the waitingAction command.
nextNodeIndex - Variable in class InsertBSTAnimation
 
node - Variable in class MovingBSTTree
Node that the moving node can follow or imitates.
node - Variable in class MovingRedBlackTree
Node that the moving node can follow or imitates.
NODE - Static variable in class TreeJPanel
String representing Node color scheme.
NODE_ANIMATOR_SETTINGS - Static variable in class TreeJPanel
String representing node animator color scheme.
NODE_CHILD_SETTINGS - Static variable in class TreeJPanel
String representing node child color scheme.
NODE_DESCENDANT_SETTINGS - Static variable in class TreeJPanel
String representing node descendant color scheme.
NODE_DISPLAY_OFF - Static variable in class OptionEvent
Node display turned on.
NODE_DISPLAY_ON - Static variable in class OptionEvent
Node display turned on.
NODE_LEFT_SETTINGS - Static variable in class TreeJPanel
String representing node left color scheme.
NODE_ORIGINAL_SETTINGS - Static variable in class TreeJPanel
String representing node original color scheme.
NODE_RIGHT_SETTINGS - Static variable in class TreeJPanel
String representing node right color scheme.
NODE_ROOT_SETTINGS - Static variable in class TreeJPanel
String representing node root color scheme.
nodeAlphaAnimateDefault - Static variable in class NodeSettings
Default AlphaComposite alpha for node animating (0.8).
nodeAlphaDefault - Static variable in class NodeSettings
Default AlphaComposite alpha for node drawing (1.0).
NodeAndLinkAnimatingJPanel - class NodeAndLinkAnimatingJPanel.
NodeAndLinkAnimatingJPanel() - Constructor for class NodeAndLinkAnimatingJPanel
Sole Constructor for the JPanel that paints the node using the AnimatingTree drawNode method.
NodeAndLinkDrawingJPanel - class NodeAndLinkDrawingJPanel.
A class that extends NodeDrawingJPanel to draw the node and the link within the specific Graphics2D within the panel.
NodeAndLinkDrawingJPanel() - Constructor for class NodeAndLinkDrawingJPanel
Sole Constructor for the JPanel that paints the node using the AnimatingTree drawNode method.
nodeCompositeAnimateDefault - Static variable in class NodeSettings
Default Composite for node animating (AlphaComposite(nodeRuleDefault, nodeAlphaAnimateDefault)).
nodeCompositeDefault - Static variable in class NodeSettings
Default Composite for node drawing (AlphaComposite(nodeRuleDefault, nodeAlphaDefault)).
nodeDefaultFillColor - Static variable in class NodeSettings
Default Paint for node drawing (PaintSettings.darkBlue)
nodeDefaultShape - Static variable in class NodeSettings
Default NodeShape for node drawing (Ellipse2DNode)
NodeDrawingJPanel - class NodeDrawingJPanel.
A simple class that extends JPanel and draws the given node within the Panel.
NodeDrawingJPanel() - Constructor for class NodeDrawingJPanel
Sole Constructor for the JPanel that paints the node using the AnimatingTree drawNode method.
nodeOutlineDefaultColor - Static variable in class NodeSettings
Default Paint for node outline drawing (PaintSettings.darkBlue)
nodeOutlineDefaultStroke - Static variable in class NodeSettings
Default Stroke for node drawing (BasicStroke(1.5)).
nodeRuleDefault - Static variable in class NodeSettings
Default AlphaComposite rule for node drawing (SRC_OVER).
NodeSettings - class NodeSettings.
The class provides an object that refers to the settings of a node in a Tree.
NodeSettings() - Constructor for class NodeSettings
Constructor, contructs a default defined NodeSettings.
NodeSettings(String) - Constructor for class NodeSettings
Constructor, contructs a defined NodeSettings with the given scheme.
NodeShape - interface NodeShape.
The NodeShape interface extends Shape for it is a specific type of shape that can be used as a node in addition to the regular shape methods.
NOKEY - Static variable in class TreeJPanel
command passed for no key errors.
NULL_MOVEMENT - Static variable in class MovingBSTTree
Defines a null movement.

O

OPTION_PANEL - Static variable in class OptionEvent
ID for an option panel.
optionAction(OptionEvent) - Method in class CenterJFrame
Passes an optionEvent.
optionAction(OptionEvent) - Method in class OptionJPanel
Passes an optionEvent.
optionAction(OptionEvent, OptionListener) - Method in class CenterJFrame
Passes an optionEvent.
optionAction(OptionEvent, OptionListener) - Method in class OptionJPanel
Passes an optionEvent.
optionAction(String) - Method in class CenterJFrame
Creates an optionEvent based upon the id and event type.
optionAction(String) - Method in class OptionJPanel
Creates an optionEvent based upon the id and event type.
optionAction(String, Object) - Method in class CenterJFrame
Creates an optionEvent based upon the id, event type, and object.
optionAction(String, Object) - Method in class OptionJPanel
Creates an optionEvent based upon the id, event type, and object.
optionAction(String, Object, OptionListener) - Method in class CenterJFrame
Creates an optionEvent based upon the id, event type, and object.
optionAction(String, Object, OptionListener) - Method in class OptionJPanel
Creates an optionEvent based upon the id, event type, and object.
OptionControlsJPanel - class OptionControlsJPanel.
OptionControlsJPanel for use with the the OptionJPanel.
OptionControlsJPanel() - Constructor for class OptionControlsJPanel
This constructor makes the OptionControlsJPanel for usage with OptionMainJPanel.
OptionEvent - class OptionEvent.
A semantic event which indicates that a Option-defined action occured.
OptionEvent(Object, int, String) - Constructor for class OptionEvent
Constructs an OptionEvent object.
OptionEvent(Object, int, String, Object) - Constructor for class OptionEvent
Constructs an OptionEvent object with the Object value.
optionEvent(OptionEvent) - Method in class TreeJDesktop
Sends an optionEvent to all listeners of the current OptionEvents.
optionEvent(OptionEvent, OptionListener) - Method in class TreeJDesktop
Sends an optionEvent to all listeners of the current OptionEvents.
optionEventPerformed(OptionEvent) - Method in class BSTTreeJPanel
Recieved an event from an OptionJPanel with one of the given commands.
optionEventPerformed(OptionEvent) - Method in interface OptionListener
Invoked when an Option event occurs.
optionEventPerformed(OptionEvent) - Method in class OptionMainJPanel
Option event listener.
optionEventPerformed(OptionEvent) - Method in class TreeJDesktop
Option event listener.
optionEventPerformed(OptionEvent) - Method in class TreeJPanel
Recieved an event from an OptionJPanel with one of the given commands.
OptionJPanel - class OptionJPanel.
OptionJPanel for use generally to extend to more specific usages.
OptionJPanel() - Constructor for class OptionJPanel
This sole constructor sets the listeners list and the original border and background.
OptionListener - interface OptionListener.
The listener interface for receiving Option events.
OptionMainJPanel - class OptionMainJPanel.
OptionMainJPanel for use as the controlling panel for all of the other built panels.
OptionMainJPanel() - Constructor for class OptionMainJPanel
This constructor makes the Main Option JPanel for usage with TreeJApplet.
ORANGE - Static variable in class PaintSettings
The color orange.
original - Static variable in class KeySettings
String used in getSettingName to define an undefined settings.
original - Static variable in class NodeSettings
String used in getSettingName to define an undefined settings.

P

PAINT - Static variable in class TreeJPanel
String representing Paint color scheme.
paintComponent(Graphics) - Method in class DrawingJPanel
Draws the JPanel.
paintComponent(Graphics) - Method in class NodeAndLinkAnimatingJPanel
Overides paintComponenet and is called whenever the Panel needs to be painted.
paintComponent(Graphics) - Method in class SplashPanel
Overides paintComponenet and is called whenever the Panel needs to be painted.
paintComponent(Graphics) - Method in class TreeJPanel
Overides paintComponenet and is called whenever the Panel needs to be painted.
PaintSettings - class PaintSettings.
The class provides an object that refers to the settings of a paint color.
PaintSettings() - Constructor for class PaintSettings
Constructor, contructs a default defined NodeSettings.
PaintSettings(String) - Constructor for class PaintSettings
Constructor, contructs a defined NodeSettings with the given scheme.
PANEL - Static variable in class TreeMessageEvent
ID for the Panel event.
PARTITION_BST_ANIMATION - Static variable in class AnimationEvent
ID for the PartitionBSTAnimation event.
PARTITION_CLICK - Static variable in class OptionEvent
actionCommand passed for Partition.
PARTITION_NODE - Static variable in interface TreeHead
String representing the waiting action of partition.
PARTITION_TREE - Variable in class DeleteBSTAnimation
Defines the partitioning through the tree.
partition(int, int) - Method in class BSTTree
Partitions the Tree at the given keySelect and rotates the keySelectth node to this node's position.
partition(Tree, int) - Method in class BSTTreeHead
Partitions from the given node the keySelect value.
partition(Tree, int) - Method in interface TreeHead
Partitions from the given node the keySelect value.
partitionAnimatingType(BSTTree, int) - Method in class BSTTreeHead
Partitions from the given node the keySelect value.
PartitionBSTAnimation - class PartitionBSTAnimation.
The Animation object that defines the Paritioning of a node in a BSTTree.
PartitionBSTAnimation(BSTTree, int) - Constructor for class PartitionBSTAnimation
The constructor which initiates the status and sets the color schemes to null.
PartitionBSTAnimation(BSTTree, int, String, int) - Constructor for class PartitionBSTAnimation
The constructor which initiates the status and prepares the color schemes.
partitionClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Partition Click command.
partitionCommand(Tree) - Method in class TreeJPanel
Partition command.
partitionNode(Tree) - Method in class TreeJPanel
Partitions the given node.
partitionTreeType(BSTTree, int) - Method in class BSTTreeHead
Partitions from the given node the keySelect value.
PAUSE - Static variable in interface Animation
Constant for the PAUSE status.
pause() - Method in interface AnimatingTreeHead
Sets the status of the entire AnimatingTree to pause.
pause() - Method in class BSTTreeHead
Sets the status of the AnimatingBSTTree to pause.
pauseCommand() - Method in class TreeJPanel
Pause command.
PINK - Static variable in class PaintSettings
The color pink.
PLAY - Static variable in interface Animation
Constant for the PLAY status.
play() - Method in interface AnimatingTreeHead
Sets the status of the entire AnimatingTree to play.
play() - Method in class BSTTreeHead
Sets the status of the AnimatingBSTTree to play.
playCommand() - Method in class TreeJPanel
Play command.
playFastCommand() - Method in class TreeJPanel
Play command.
playStepCommand() - Method in class TreeJPanel
Play command.
POSTORDER_TRAVERSAL - Static variable in class OptionEvent
Animation command passed for a postorder traversal.
POSTORDER_TRAVERSAL - Static variable in interface TreeHead
Traverse type postorder.
PREORDER_TRAVERSAL - Static variable in class OptionEvent
Animation command passed for a preorder traversal.
PREORDER_TRAVERSAL - Static variable in interface TreeHead
Traverse type preorder.
previousLocation - Variable in class DeleteBSTAnimation
 
previousNodeIndex - Variable in class InsertBSTAnimation
Previous and next node indeces
PRIMARY - Static variable in class BSTTreeJPanel
Default color scheme.
PRINCETON - Static variable in class BSTTreeJPanel
Princeton color scheme.
PRINCETON_ORANGE - Static variable in class PaintSettings
The color princeton orange.
PRINCETON_SCHEME - Static variable in class NodeSettings
Princeton color scheme.
princetonOrange - Static variable in class PaintSettings
Princeton Orange.
PROGRAM_INFORMATION - Static variable in class OptionEvent
Animation command passed for program information.
PROGRAM_INFORMATION - Static variable in class TreeApplication
 
programInformationCommand() - Method in class OptionControlsJPanel
Program Information command.

R

RANDOM_TREE - Static variable in class OptionEvent
Animation command passed to make a random tree.
RED - Static variable in class PaintSettings
The color red.
RedBlackTree - class RedBlackTree.
The class provides the base structure of a RedBlackTree, a node of a Red-Black tree.
RedBlackTree() - Constructor for class RedBlackTree
Constructs a new, empty RedBlackTree.
RedBlackTree(int) - Constructor for class RedBlackTree
Constructs a new, empty RedBlackTree according to the type passed.
RedBlackTreeHead - class RedBlackTreeHead.
This class provides the head structure for a RedBlackTree.
RedBlackTreeHead() - Constructor for class RedBlackTreeHead
Constructs a new, null RedBlackTree, sorted according to the keys' natural order.
RedBlackTreeHead(int) - Constructor for class RedBlackTreeHead
Constructs a new, empty RedBlackTree according to the type passed.
RedBlackTreeJPanel - class RedBlackTreeJPanel.
This class provides the panel for a RedBlackTree.
RedBlackTreeJPanel() - Constructor for class RedBlackTreeJPanel
Sole Constructor.
REDRAW - Static variable in interface Animation
Constant for the REDRAW status.
redrawControlPanel() - Method in class OptionControlsJPanel
Redraws the control panel.
redrawControlPanel() - Method in class OptionMainJPanel
Redraws the control panel.
REMOVE_NODE - Static variable in interface TreeHead
String representing the waiting action of remove.
remove() - Method in class BSTTree
Removes the BSTTree from the tree.
remove() - Method in class RedBlackTree
Removes the BSTTree from the tree.
remove(Comparable) - Method in class BSTTreeHead
Removes the comaparable object keyRemove from the BSTTree using its natural ordering .
remove(Comparable) - Method in interface TreeHead
Removes the comaparable object keyRemove from the BSTTree using its natural ordering .
remove(Tree) - Method in class BalancedBSTTreeHead
Removes the given node from the tree.
remove(Tree) - Method in class BSTTreeHead
Removes the given node from the tree.
remove(Tree) - Method in interface TreeHead
Removes the given node from the tree.
removeAnimatingType(BSTTree) - Method in class BSTTreeHead
Removes the node in the BSTTree.
removeAnimationListener(AnimationListener) - Method in class AbstractAnimation
Removes an animationListener from the animation, according to the Animation interface and the AnimationEvent.
removeAnimationListener(AnimationListener) - Method in interface Animation
Removes an animationListener from the animation, according to the Animation interface and the AnimationEvent.
removeMouseListener(MouseListener) - Method in class TreeJDesktop
Removes the specified mouse listener so that it no longer receives mouse events from this component.
removeMouseMotionListener(MouseMotionListener) - Method in class TreeJDesktop
Removes the specified mouse motion listener so that it no longer receives mouse motion events from this component.
removeOptionListener(OptionListener) - Method in class CenterJFrame
Removes the OptionListener as listening to this current panel.
removeOptionListener(OptionListener) - Method in class OptionJPanel
Removes the OptionListener as listening to this current panel.
removeOptionListener(TreeMessageListener) - Method in class TreeJDesktop
Removes an OptionEventListener according to the OptionEventListener interface and the OptionEvent.
removeTreeAnimation() - Method in interface AnimatingTreeHead
Quickly removes all Animations within the Tree.
removeTreeAnimation() - Method in class BSTTreeHead
Quickly removes all Animations within the Tree.
removeTreeMessageListener(TreeMessageListener) - Method in class BSTTreeHead
Removes an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
removeTreeMessageListener(TreeMessageListener) - Method in class OptionMainJPanel
Removes an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
removeTreeMessageListener(TreeMessageListener) - Method in interface TreeHead
Removes an TreeMessageListener from the tree, according to the TreeMessageListener interface and the TreeMessageEvent.
removeTreeMessageListener(TreeMessageListener) - Method in class TreeJDesktop
Removes an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
removeTreeMessageListener(TreeMessageListener) - Method in class TreeJPanel
Removes an TreeMessageListener from the TREE, according to the TreeMessageListener interface and the TreeMessageEvent.
removeTreeType(BSTTree) - Method in class BSTTreeHead
Removes the given node from the tree.
REPLACE_NODE - Variable in class DeleteRedBlackAnimation
Defines the partitioning through the tree.
RESET - Static variable in class OptionEvent
Animation command passed for the reseting of colors.
resetPosition(int) - Method in class InsertBSTAnimation
Returns the AffineTransform after resetting the transform based upon the node's position.
resetSettingStrings() - Method in class BSTTreeJPanel
Resets the string settings currently selected.
resetTreeLevel() - Method in class BSTTreeHead
Resets the lowest level of the Tree.
resetTreeLevel() - Method in interface TreeHead
Resets the lowest level of the Tree.
restore() - Method in class InsertBSTAnimation
Restores the settings of all nodes encountered during the animation.
restore() - Method in class InsertRedBlackAnimation
Restores the settings of all nodes encountered during the animation.
restoreLeftSettings() - Method in class BSTTree
Restores the settings for the tree, decrementing the count of left Saves and total saves by one.
restoreRightSettings() - Method in class BSTTree
Restores the settings for the tree, decrementing the count of right Saves and total saves by one.
restoreSettings() - Method in class BSTTree
Restores the settings for the tree, decrementing the count of saves by one.
restoreSettings() - Method in interface DrawableKey
Restores the settings for the key.
restoreSettings() - Method in class DrawingKey
Restores the settings for the tree, decrementing the count of saves by one.
restoreTransform() - Method in class BSTTree
Restores the AffineTransform defined previously within the tree.
REWIND - Static variable in interface Animation
Constant for the REVERSE status.
rewind() - Method in interface AnimatingTreeHead
Sets the status of the entire AnimatingTree to rewind.
rewind() - Method in class BSTTreeHead
Sets the status of the AnimatingBSTTree to rewind.
rewindCommand() - Method in class TreeJPanel
Play command.
rewindFastCommand() - Method in class TreeJPanel
Play command.
rewindStepCommand() - Method in class TreeJPanel
Play command.
RIGHT_CHECK - Static variable in class InsertRedBlackAnimation
The location for the right checking of rotations.
RIGHT_PAINT - Static variable in class TreeJPanel
String representing the right paint.
RIGHT_ROTATION - Static variable in class RotationBSTAnimation
Defines a right rotation.
RootInsertionBSTTreeHead - class RootInsertionBSTTreeHead.
This class provides the head structure for a BSTTree that is root inserted.
RootInsertionBSTTreeHead() - Constructor for class RootInsertionBSTTreeHead
Constructs a new, null RootInsertionBSTTreeHead, sorted according to the keys' natural order and insertion occurs automatically to the root.
RootInsertionBSTTreeHead(int) - Constructor for class RootInsertionBSTTreeHead
Constructs a new, empty RootInsertionBSTTreeHead according to the type passed.
RootInsertionBSTTreeJPanel - class RootInsertionBSTTreeJPanel.
This class provides the panel for a RootInsertionBSTTree.
RootInsertionBSTTreeJPanel() - Constructor for class RootInsertionBSTTreeJPanel
Sole constructor, setting the tree of the panel as a rootInsertedBSTTree.
ROTATE - Static variable in class TreeJPanel
String representing ROTATE color scheme.
ROTATE_CLICK - Static variable in class OptionEvent
actionCommand passed for Rotate.
ROTATE_DOUBLE_CLICK - Static variable in class OptionEvent
actionCommand passed for Double Rotate.
ROTATE_TO_TOP_NODE - Static variable in interface TreeHead
String representing the waiting action of rotateToTop.
ROTATE_TOP_CLICK - Static variable in class OptionEvent
actionCommand passed for Rotate to top.
ROTATE_UP - Static variable in interface TreeHead
String representing the waiting action of rotateUp.
ROTATE_UP_DOUBLE - Static variable in interface TreeHead
String representing the waiting action of rotateUpDouble.
rotateAnimatorKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Animator Key Settings.
rotateChildNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Child Node Settings.
rotateClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Rotate Click command.
rotateDescendantNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Descendant Node Settings.
rotateDoubleClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Double rotate Click command.
rotateLeft() - Method in class BSTTree
Rotate the tree to the left.
rotateOriginalKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Original Key Settings.
rotateOriginalNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Original Node Settings.
rotateRight() - Method in class BSTTree
Rotate the tree to the right.
rotateRootNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected rotated Root Node Settings.
rotateTopClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Rotate to top Click command.
rotateToTop(BSTTree) - Method in class BSTTreeHead
Rotates the BSTTTree to the top.
rotateToTopAnimatingType(BSTTree) - Method in class BSTTreeHead
Rotates to top the node in the BSTTree.
rotateToTopCommand(Tree) - Method in class BSTTreeJPanel
RotateToTop command.
rotateToTopCommand(Tree) - Method in class RedBlackTreeJPanel
RotateToTop command.
rotateToTopCommand(Tree) - Method in class TreeJPanel
RotateToTop command.
rotateToTopNode(BSTTree) - Method in class BSTTreeJPanel
Rotates up the given node to the top.
rotateToTopTreeType(BSTTree) - Method in class BSTTreeHead
Rotates to top the node up in the BSTTree.
rotateUp(BSTTree) - Method in class BSTTreeHead
Rotates the BSTTree up.
rotateUp(BSTTree, int) - Method in class BSTTreeHead
Rotates the BSTTree up.
rotateUpAnimatingType(BSTTree) - Method in class BSTTreeHead
Rotates the node up in the BSTTree.
rotateUpCommand(Tree) - Method in class BSTTreeJPanel
RotateUp command.
rotateUpCommand(Tree) - Method in class RedBlackTreeJPanel
RotateUp command.
rotateUpCommand(Tree) - Method in class TreeJPanel
RotateUp command.
rotateUpDouble(BSTTree) - Method in class BSTTreeHead
Double Rotatation of the BSTTTree.
rotateUpDouble(BSTTree, int) - Method in class BSTTreeHead
Doubly Rotates the BSTTree up to the top.
rotateUpDoubleAnimatingType(BSTTree) - Method in class BSTTreeHead
Double Rotates the node up in the BSTTree.
rotateUpDoubleCommand(Tree) - Method in class BSTTreeJPanel
RotateUpDouble command.
rotateUpDoubleCommand(Tree) - Method in class RedBlackTreeJPanel
RotateUpDouble command.
rotateUpDoubleCommand(Tree) - Method in class TreeJPanel
RotateUpDouble command.
rotateUpDoubleNode(BSTTree) - Method in class BSTTreeJPanel
Doubly Rotates up the given node.
rotateUpDoubleTreeType(BSTTree) - Method in class BSTTreeHead
Double Rotates the BSTTree up.
rotateUpNode(BSTTree) - Method in class BSTTreeJPanel
Rotates up the given node.
rotateUpTreeType(BSTTree) - Method in class BSTTreeHead
Rotates the BSTTree up.
ROTATION_BST_ANIMATION - Static variable in class AnimationEvent
ID for the RotateBSTAnimation event.
ROTATION_DOUBLE_BST_ANIMATION - Static variable in class AnimationEvent
ID for the RotateDoubleBSTAnimation event.
ROTATION_SCHEME_1 - Static variable in class NodeSettings
Rotation Scheme 1.
ROTATION_SCHEME_2 - Static variable in class NodeSettings
Rotation Scheme 2.
ROTATION_SCHEME_3 - Static variable in class NodeSettings
Rotation Scheme 3.
ROTATION_SCHEME_4 - Static variable in class NodeSettings
Rotation Scheme 4.
RotationBSTAnimation - class RotationBSTAnimation.
The Animation object that defines the Rotation of a BSTTree.
RotationBSTAnimation(BSTTree, BSTTree, int) - Constructor for class RotationBSTAnimation
The constructor which initiates the status and sets the color Schemes to default.
RotationBSTAnimation(BSTTree, BSTTree, int, NodeSettings, NodeSettings, NodeSettings, NodeSettings, KeySettings, KeySettings, String, int) - Constructor for class RotationBSTAnimation
The constructor which initiates the status and prepares the color schemes.
RotationDoubleBSTAnimation - class RotationDoubleBSTAnimation.
The Animation object that defines a double rotation of a node in a BSTTree.
RotationDoubleBSTAnimation(BSTTree) - Constructor for class RotationDoubleBSTAnimation
The constructor which initiates the status and sets the color schemes to null.
RotationDoubleBSTAnimation(BSTTree, String, int) - Constructor for class RotationDoubleBSTAnimation
The constructor which initiates the status and prepares the color schemes.

S

SAVE_ALL - Static variable in class OptionEvent
Animation command passed for a saving of the colors for all trees.
SAVE_TREE - Static variable in class OptionEvent
Animation command passed for a saving of the colors.
saveLeftSettings() - Method in class BSTTree
Saves the settings for the tree, incrementing the count of left Saves and total saves by one and setting the previous settings accordingly.
saveRightSettings() - Method in class BSTTree
Saves the settings for the tree, incrementing the count of right Saves and total saves by one and setting the previous settings accordingly.
saveSettings() - Method in class BSTTree
Saves the settings for the tree, incrementing the count of saves by one and setting the previous settings accordingly.
saveSettings() - Method in interface DrawableKey
Saves the settings for the key.
saveSettings() - Method in class DrawingKey
Saves the settings for the tree, incrementing the count of saves by one and setting the previous settings accordingly.
saveTreeCommand(TreeJPanel) - Method in class TreeJPanel
 
SEARCH - Static variable in class OptionEvent
actionCommand passed for search the tree.
SEARCH - Static variable in interface TreeHead
String representing the waiting action of search.
SEARCH - Static variable in class TreeJPanel
String representing SEARCH color scheme.
SEARCH_BST_ANIMATION - Static variable in class AnimationEvent
ID for the SearchBSTAnimation event.
search(Comparable) - Method in class BalancedBSTTree
Finds a node within a tree using the comparable keyFind.
search(Comparable) - Method in class BSTTree
Finds a node within a tree using the comparable keyFind.
search(Comparable) - Method in class BSTTreeHead
Searches for the comaparable object in the Tree using its natural ordering .
search(Comparable) - Method in class RootInsertionBSTTreeHead
Searches for the comaparable object in the Tree using its natural ordering .
search(Comparable) - Method in class SplayTreeHead
Searches for the comaparable object in the Tree using its natural ordering .
search(Comparable) - Method in interface TreeHead
Searches for the comaparable object in the Tree using its natural ordering .
searchAnimatingType(Comparable) - Method in class BSTTreeHead
Searches for the Tree in the entire tree.
searchAnimatorKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected searching Animator Key Settings.
searchAnimatorNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected searching Animator Node Settings.
SearchBSTAnimation - class SearchBSTAnimation.
The Animation object that defines the Searching in a BSTTree.
SearchBSTAnimation(Comparable, BSTTreeHead) - Constructor for class SearchBSTAnimation
The constructor which initiates the status and sets the color schemes to null.
SearchBSTAnimation(Comparable, BSTTreeHead, NodeSettings, NodeSettings, NodeSettings, KeySettings, String, int) - Constructor for class SearchBSTAnimation
The constructor which initiates the status and prepares the colorSchemes.
searchCommand(String) - Method in class OptionControlsJPanel
Search command.
searchCommand(String) - Method in class TreeJPanel
Search command.
searchKeys(String) - Method in class TreeJPanel
Searches the given text for keys in the tree.
searchNodeLeftSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected searching Left Node Settings.
searchNodeRightSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected searching Right Node Settings.
searchTreeType(Comparable) - Method in class BSTTreeHead
Searches for the Tree in the entire tree.
SECTIONAL_DISPLAY - Static variable in class BSTTreeHead
sectional display
SECTIONAL_DISPLAY - Static variable in class OptionEvent
Animation command passed for display change request to sectional.
SELECT - Static variable in class OptionEvent
actionCommand passed for select the tree.
SELECT - Static variable in interface TreeHead
String representing the waiting action of select.
SELECT - Static variable in class TreeJPanel
String representing SELECT color scheme.
SELECT_CLICK - Static variable in class OptionEvent
actionCommand passed for select the tree.
select(int) - Method in class BSTTree
Selects for the Tree in the entire tree.
select(Tree, int) - Method in class BSTTreeHead
Selects the kth smallest item in the Tree using its natural ordering from the given node.
select(Tree, int) - Method in interface TreeHead
Selects the kth smallest item in the Tree using its natural ordering from the given node.
selectAnimatingType(BSTTree, int) - Method in class BSTTreeHead
Selects for the Tree in the entire tree.
selectAnimatorKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected select Animator Key Settings.
selectAnimatorNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected select Animator Node Settings.
selectClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Select Click command.
selectCommand(String) - Method in class OptionControlsJPanel
Select command.
selectCommand(String) - Method in class TreeJPanel
Select command.
selectCommand(Tree) - Method in class TreeJPanel
Select command.
SELECTION_BST_ANIMATION - Static variable in class AnimationEvent
ID for the SelectionBSTAnimation event.
SELECTION_TREE - Variable in class DeleteRedBlackAnimation
Defines the partitioning through the tree.
SelectionBSTAnimation - class SelectionBSTAnimation.
The Animation object that defines a selection within a BSTTree.
SelectionBSTAnimation(int) - Constructor for class SelectionBSTAnimation
The constructor which initiates the status and sets the color schemes to null.
SelectionBSTAnimation(int, NodeSettings, NodeSettings, NodeSettings, KeySettings, String, int) - Constructor for class SelectionBSTAnimation
The constructor which initiates the status and prepares the colorSchemes.
selectKeys(String) - Method in class TreeJPanel
Selects the given text for keys in the tree.
selectNode(Tree) - Method in class TreeJPanel
Selects the given node.
selectNodeLeftSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected select Left Node Settings.
selectNodeRightSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected select Right Node Settings.
selectTreeType(BSTTree, int) - Method in class BSTTreeHead
Selects for the Tree in the entire tree.
SET_INPUT_OPTIONS - Static variable in class TreeMessageEvent
command passed for set input options request.
SET_PRESET_COLOR_OPTIONS - Static variable in class TreeMessageEvent
command passed for set color settings request.
set(int, AffineTransform) - Method in class AffineTransformList
Replaces the AffineTransform at the specified position in this list with the specified AffineTransform.
setAllSettings(KeySettings) - Method in class KeySettings
Sets the settings of just the key of the KeySettings, using the KeySettings passed.
setAllSettings(NodeSettings) - Method in class NodeSettings
Sets the settings of just the node of the NodeSettings, using the NodeSettings passed.
setAnimateDrawing(boolean) - Method in class BSTTree
Sets the boolean flag whether the node should draw if called from an animation.
setAnimating(boolean) - Method in class BSTTreeJPanel
Sets whether the tree is animating or not.
setAnimating(boolean) - Method in class TreeJPanel
Sets whether the tree is animating or not.
setAnimatingNode(BSTTree) - Method in class ColorOptionsJPanel
Sets the animating node in the panel.
setAnimatingNode(DrawingTree) - Method in class NodeAndLinkAnimatingJPanel
Set the node for drawing.
setAnimatingPanel(NodeAndLinkAnimatingJPanel) - Method in class ColorOptionsJPanel
Sets the animating panel.
setAnimationPanelShow(boolean) - Method in class OptionControlsJPanel
Sets the display of the animation Panel in this control bar.
setAnimationPanelShow(boolean) - Method in class OptionMainJPanel
Sets the display of the animation Panel in this control bar.
setAnimationScheme(NodeSettings, KeySettings) - Method in class MovingBSTTreeAnimation
Sets the animation scheme for each moving node.
setAnimationSchemeLeft(NodeSettings) - Method in class InsertBSTAnimation
Sets the NodeSettings for the left animation scheme for the insertion.
setAnimationSchemeLeft(NodeSettings) - Method in class SearchBSTAnimation
Sets the NodeSettings for the left animation scheme for the insertion.
setAnimationSchemeLeft(NodeSettings) - Method in class SelectionBSTAnimation
Sets the NodeSettings for the left animation scheme for the insertion.
setAnimationSchemeRight(NodeSettings) - Method in class InsertBSTAnimation
Sets the NodeSettings for the right animation scheme for the insertion.
setAnimationSchemeRight(NodeSettings) - Method in class SearchBSTAnimation
Sets the NodeSettings for the right animation scheme for the insertion.
setAnimationSchemeRight(NodeSettings) - Method in class SelectionBSTAnimation
Sets the NodeSettings for the right animation scheme for the insertion.
setAnimationTimer(Timer) - Method in class NodeAndLinkAnimatingJPanel
Sets the animation timer for the animation of the panel.
setAnimationTimer(Timer) - Method in class TreeJPanel
Sets the animation timer for the animation of the panel.
setAnimatorScheme(NodeSettings) - Method in class InsertBSTAnimation
Sets the NodeSettings for the animator scheme for the insertion.
setAnimatorScheme(NodeSettings) - Method in class SearchBSTAnimation
Sets the NodeSettings for the animator scheme for the insertion.
setAnimatorScheme(NodeSettings) - Method in class SelectionBSTAnimation
Sets the NodeSettings for the animator scheme for the insertion.
setAnimatorScheme(NodeSettings) - Method in class TraverseBSTAnimation
Sets the NodeSettings for the animator scheme for the insertion.
setBackgroundColor(Color) - Method in class BSTTreeHead
Sets the background paint for the tree.
setBalanceDifference(int) - Method in class BalancedBSTTreeHead
Gets the Balance Frequency for the Balanced BSTTree.
setBlackChangeLinks() - Method in class DeleteRedBlackAnimation
Fixes the blackChangeLinks by settings all the nodes links within the list to black.
setBlackChangeLinks() - Method in class InsertRedBlackAnimation
Fixes the blackChangeLinks by settings all the nodes links within the list to black.
setChild(Tree) - Method in class BSTTreeHead
Sets the child of the TreeHead.
setChild(Tree) - Method in class RedBlackTreeHead
Sets the child of the TreeHead and sets its red link to false.
setChild(Tree) - Method in interface TreeHead
Sets the child of the TreeHead.
setChildAnimationScheme(NodeSettings) - Method in class RotationBSTAnimation
Sets the NodeSettings for the child animation scheme for the rotation.
setChildNode(RedBlackTree) - Method in class DeleteRedBlackAnimation
Sets the node being deleted during the Deletion.
setColorSchemeSetting(String) - Method in class BSTTreeJPanel
Sets the color scheme using the given preset scheme string.
setColorSchemeSetting(String, String, String) - Method in class BSTTreeJPanel
Sets the color scheme using the given function and setting.
setColorSchemesJComboBox(JComboBox) - Method in class ColorOptionsJPanel
Sets the color schemes JCombo box.
setColorSettingsJComboBox(JComboBox) - Method in class ColorOptionsJPanel
Sets the color settings JCombo box.
setColorSettingsString(String) - Method in class BSTTreeJPanel
Sets the color settings string of the current panel to the colorSettings param.
setComponentShown(boolean) - Method in class BSTTreeJPanel
Sets whether the tree is shown or not.
setComponentShown(boolean) - Method in class DrawingJPanel
Sets whether the tree is shown or not.
setComponentShown(boolean) - Method in class NodeAndLinkAnimatingJPanel
Sets whether the tree is shown or not.
setCurrentGraphics(Graphics2D) - Method in class BSTTree
Sets the graphics defined within the tree.
setCurrentLocation(double) - Method in class InsertBSTAnimation
Sets the current location of the Insertion.
setCurrentPower2(double) - Method in class BSTTree
Sets the current power of 2.
setCurrentTransform(AffineTransform) - Method in class BSTTree
Sets the AffineTransform defined within the tree.
setDelayRate(int) - Method in class NodeAndLinkAnimatingJPanel
Sets the delay rate for the timer for the animation.
setDelayRate(int) - Method in class TreeJPanel
Sets the delay rate for the timer for the animation.
setDeleteLeftLinePaintSettings(PaintSettings) - Method in class BSTTreeHead
Sets the PaintSettings for the left line of Paint.
setDeleteRightLinePaintSettings(PaintSettings) - Method in class BSTTreeHead
Sets the PaintSettings for the right line of Paint.
setDescendantAnimationScheme(NodeSettings) - Method in class RotationBSTAnimation
Sets the NodeSettings for the descendant animation scheme for the rotation.
setDiplayPanelDrawNode(DrawingTree) - Method in class OptionControlsJPanel
Sets the drawingTree node for the display panel.
setDisplay(int) - Method in class BSTTreeHead
Sets the display choice for the tree.
setDisplayChange(int) - Method in class DisplayChangeAnimation
Sets the displayChange for the animation.
setDisplayPanelBackground(Color) - Method in class OptionControlsJPanel
Sets the diplay panel background color.
setDisplayPanelBorder(String) - Method in class OptionControlsJPanel
Sets the diplay panel border.
setDisplayPanelShow(boolean) - Method in class OptionControlsJPanel
Sets the display of the display Panel in this control bar.
setDisplayPanelShow(boolean) - Method in class OptionMainJPanel
Sets the display of the display Panel in this control bar.
setDrawingArea(Rectangle) - Method in class DrawingJPanel
Sets the drawing area for this panel.
setDrawingKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the key of the head, used in creation of new nodes.
setDrawingLevel(double) - Method in class BSTTree
Sets the drawing level for the current DrawingTree.
setDrawingLines(boolean) - Method in class NodeAndLinkAnimatingJPanel
Sets whether the animation is drawing lines or a node.
setDrawingNode(BSTTree) - Method in class ColorOptionsJPanel
Sets the drawing node in the panel.
setDrawingNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the node of the head, used in creation of new nodes.
setDrawingPanel(NodeAndLinkDrawingJPanel) - Method in class ColorOptionsJPanel
Sets the drawing panel.
setDrawTree(boolean) - Method in class DrawingJPanel
Sets whether the tree needs drawing.
setDrawTreeGraphics(Graphics2D) - Method in class DrawingJPanel
Sets the draw Tree graphics for this panel.
setDrawTreeImage(BufferedImage) - Method in class DrawingJPanel
Sets the draw Tree Image for this panel.
setElementCount(int) - Method in class SelectionBSTAnimation
Sets the element count (kth element being partition).
setEndLevel(int) - Method in class MovingBSTTree
Sets the ending level for the moving of the node.
setEndTransform(AffineTransform) - Method in class MovingBSTTree
Sets the ending transform for the moving of the node.
setErasingNode(BSTTree) - Method in class DeleteBSTAnimation
Sets the node being deleted during the Deletion.
setFollowLeftMovingTransform(Graphics2D) - Method in class MovingBSTTree
Sets the current transform for a given following node.
setFollowNodeMovingTransform(Graphics2D, double) - Method in class MovingBSTTree
Sets the current transform for a given following node.
setFollowRightMovingTransform(Graphics2D) - Method in class MovingBSTTree
Sets the current transform for a given following node.
setFont(Font) - Method in class KeySettings
Sets the Font used for drawing the key.
setFunctionJComboBox(JComboBox) - Method in class ColorOptionsJPanel
Sets the function JCombo box.
setHead(BSTTreeHead) - Method in class BSTTree
Sets the head for the node.
setInorderCount(int) - Method in class BSTTree
Sets the inorder count of the current node.
setInsertAnimatorKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the animator key settings for insertion.
setInsertAnimatorNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the animator node settings for insertion.
setInsertNode(BSTTree) - Method in class InsertBSTAnimation
Sets the node currently being drawn during the Insertion.
setInsertNodeLeftSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the left node settings for insertion.
setInsertNodeRightSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the right node settings for insertion.
setJumpStep(boolean) - Method in interface AnimatingTreeHead
Sets the JumpStep of the current tree to the boolean value.
setJumpStep(boolean) - Method in class BSTTreeHead
Sets the JumpStep of the current tree to the boolean value.
setKey(int) - Method in class BSTTreeHead.NodeAndKey
Sets the key for the object.
setKey(Object) - Method in class DrawingKey
Sets the Object key of the DrawableKey.
setKeyAnimationScheme(KeySettings) - Method in class MovingBSTTreeAnimation
Sets the KeySettings for the animation key for the moving node.
setKeyAnimationScheme(KeySettings) - Method in class RotationBSTAnimation
Sets the KeySettings for the animation scheme for the key during rotation.
setKeyAnimatorScheme(KeySettings) - Method in class InsertBSTAnimation
Sets the KeySettings for the animator scheme key for the insertion.
setKeyAnimatorScheme(KeySettings) - Method in class SearchBSTAnimation
Sets the KeySettings for the animator scheme key for the insertion.
setKeyAnimatorScheme(KeySettings) - Method in class SelectionBSTAnimation
Sets the KeySettings for the animator scheme key for the insertion.
setKeyAnimatorScheme(KeySettings) - Method in class TraverseBSTAnimation
Sets the KeySettings for the animator scheme key for the insertion.
setKeyComposite(Composite) - Method in class KeySettings
Sets the key composite.
setKeyFillPaint(Paint) - Method in class KeySettings
Sets the paint for filling the key.
setKeyOriginalScheme(KeySettings) - Method in class DisplayChangeAnimation
Sets the KeySettings for the original scheme of the key during rotation.
setKeyOriginalScheme(KeySettings) - Method in class RotationBSTAnimation
Sets the KeySettings for the original scheme of the key during rotation.
setKeyOutlinePaint(Paint) - Method in class KeySettings
Sets the paint for the outline of the key.
setKeyOutlineStroke(BasicStroke) - Method in class KeySettings
Sets the key stroke.
setKeyOutlineStroke(Stroke, float) - Method in class KeySettings
Sets the stroke for the key.
setKeySelect(int) - Method in class PartitionBSTAnimation
Sets the keySelect of the partition, the kth element.
setKeySettings(KeySettings) - Method in interface DrawableKey
Sets the KeySettings of the DrawableKey.
setKeySettings(KeySettings) - Method in class DrawingKey
Sets the KeySettings of the DrawableKey.
setKeyType(String) - Method in class TreeJPanel
Sets the key type for the tree.
setLeaf() - Method in class BSTTree
Sets the values of a new Node left and right tress, to refer to null trees.
setLeaf() - Method in class RedBlackTree
Sets the values of a new Node left and right tress, to refer to null trees.
setLeftLinePaint(Paint) - Method in class NodeAndLinkAnimatingJPanel
Sets the paint for the left line drawing.
setLeftLinePaintSettings(PaintSettings) - Method in class DeleteBSTAnimation
Sets the paint for the left line of the partition for deletion.
setLeftLinkComposite(Composite) - Method in class NodeSettings
Sets the left composite.
setLeftLinkPaint(Paint) - Method in class NodeSettings
Sets the left link paint.
setLeftLinkStroke(BasicStroke) - Method in class NodeSettings
Sets the left link stroke.
setLeftLinkStroke(Stroke, float) - Method in class NodeSettings
Sets the left link stroke.
setLeftSettings(NodeSettings) - Method in class NodeSettings
Sets the left settings of the NodeSettings, using the NodeSettings passed.
setLeftTree(BSTTree) - Method in class BSTTree
Sets the left tree for the node.
setLevel(int) - Method in class BSTTree
Sets the the level of the current BSTTree.
setLevelCount(int) - Method in class PartitionBSTAnimation
Sets the count of levels for rotated the replacing node to its proper place.
setMessageMode(int) - Method in class OptionControlsJPanel
Sets the message mode for the panel.
setMessagePanelShow(boolean) - Method in class OptionControlsJPanel
Sets the display of the display Panel in this control bar.
setMessagePanelShow(boolean) - Method in class OptionMainJPanel
Sets the display of the display Panel in this control bar.
setMovePosition(int) - Method in class MovingBSTTree
Sets the move position for the moving node.
setMovingParent(MovingBSTTree) - Method in class MovingBSTTree
Sets the moving parent of the MovingBSTTree.
setMovingSectionHeight(double) - Method in class MovingBSTTree
Sets the section height for the drawing of the node.
setMovingTreeNodes(MovingBSTTreeAnimation) - Method in class DisplayChangeAnimation
Sets the MovingBSTTreeAnimation for the tree whose display is changing.
setNode(BSTTree) - Method in class BalanceBSTAnimation
Sets the node from which the balancing takes place.
setNode(BSTTree) - Method in class BSTTreeHead.NodeAndKey
Sets the node for the object.
setNode(BSTTree) - Method in class MovingBSTTree
Sets the node that the MovingBSTTree imitates.
setNode(BSTTree) - Method in class PartitionBSTAnimation
Sets the node from which the partitioning takes place.
setNode(BSTTree) - Method in class RotationDoubleBSTAnimation
Sets the node from which the partitioning takes place.
setNode(Comparable, Object) - Method in class BSTTree
Sets the key and value of the BSTTree.
setNode(DrawingTree) - Method in class NodeDrawingJPanel
Set the node for drawing.
setNode(RedBlackTree) - Method in class MovingRedBlackTree
Sets the node that the MovingBSTTree imitates.
setNodeAnimationScheme(NodeSettings) - Method in class MovingBSTTreeAnimation
Sets the NodeSettings for the animation of the moving node.
setNodeComposite(Composite) - Method in class NodeSettings
Sets the node composite.
setNodeFillPaint(Paint) - Method in class NodeSettings
Sets the paint for filling the node.
setNodeHeight(double) - Method in class BSTTreeHead
Sets the node height for the standard node.
setNodeOriginalScheme(NodeSettings) - Method in class DisplayChangeAnimation
Sets the NodeSettings for the original scheme for the rotation.
setNodeOriginalScheme(NodeSettings) - Method in class RotationBSTAnimation
Sets the NodeSettings for the original scheme for the rotation.
setNodeOutlinePaint(Paint) - Method in class NodeSettings
Sets the paint for the outline of the node.
setNodeOutlineStroke(BasicStroke) - Method in class NodeSettings
Sets the node stroke.
setNodeOutlineStroke(Stroke, float) - Method in class NodeSettings
Sets the stroke for the node.
setNodeSettings(NodeSettings) - Method in class BSTTree
Sets the settings of the node for the BSTTree.
setNodeSettings(NodeSettings) - Method in class NodeSettings
Sets the settings of just the node of the NodeSettings, using the NodeSettings passed.
setNodeShape(NodeShape) - Method in class NodeSettings
Sets the NodeShape for the settings.
setNodeWidth(double) - Method in class BSTTreeHead
Sets the node width for the standard node.
setPaint(Paint) - Method in class PaintSettings
Sets the paint.
setParentTree(BSTTree) - Method in class BSTTree
Sets the parent tree for the node.
setPresetColorOptionsJComboBox(JComboBox) - Method in class ColorOptionsJPanel
Sets the function JCombo box.
setPreviousDisplay(int) - Method in class BSTTreeHead
Sets the previous display choice for the tree.
setPreviousLocation(double) - Method in class InsertBSTAnimation
Sets the previous location of the Insertion.
setRedChangeLinks() - Method in class DeleteRedBlackAnimation
Fixes the redChangeLinks by settings all the nodes links within the list to red.
setRedChangeLinks() - Method in class InsertRedBlackAnimation
Fixes the redChangeLinks by settings all the nodes links within the list to red.
setRedLink(boolean) - Method in class RedBlackTree
Sets the red link for the node.
setRedLinkPaint(PaintSettings) - Method in class RedBlackTree
Sets the red link paint for the current RedBlackTree.
setRedLinkPaint(PaintSettings) - Method in class RedBlackTreeHead
Sets the red link paint for the current RedBlackTree.
setRedLinkStroke(Stroke) - Method in class RedBlackTree
Gets the red link stroke for the current RedBlackTree.
setRedLinkStroke(Stroke) - Method in class RedBlackTreeHead
Gets the red link stroke for the current RedBlackTree.
setRemove(boolean) - Method in class BSTTreeHead
Sets whether the AnimatingBSTTreeHead is removing an Animation, because multiple Animations may occur simultaneously.
setReplacingNode(BSTTree) - Method in class BalanceBSTAnimation
Sets the node that will replace the balanced node.
setReplacingNode(BSTTree) - Method in class DeleteBSTAnimation
Sets the node being replaced during the Deletion.
setReplacingNode(BSTTree) - Method in class PartitionBSTAnimation
Sets the node currently being drawn during the Partition.
setRightLinePaint(Paint) - Method in class NodeAndLinkAnimatingJPanel
Sets the paint for the right line drawing.
setRightLinePaintSettings(PaintSettings) - Method in class DeleteBSTAnimation
Sets the PaintSettings for the right line of the partition for deletion.
setRightLinkComposite(Composite) - Method in class NodeSettings
Sets the right composite.
setRightLinkPaint(Paint) - Method in class NodeSettings
Sets the right link paint.
setRightLinkStroke(BasicStroke) - Method in class NodeSettings
Sets the right link stroke.
setRightLinkStroke(Stroke, float) - Method in class NodeSettings
Sets the right link stroke.
setRightSettings(NodeSettings) - Method in class NodeSettings
Sets the right settings of the NodeSettings, using the NodeSettings passed.
setRightTree(BSTTree) - Method in class BSTTree
Sets the right tree for the node.
setRootAnimationScheme(NodeSettings) - Method in class RotationBSTAnimation
Sets the NodeSettings for the root animation scheme for the rotation.
setRotateAnimatorKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the animator key settings for rotation.
setRotateChildNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the child node settings for rotation.
setRotateDescendantNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the descendant node settings for rotation.
setRotateOriginalKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the original key settings for rotation.
setRotateOriginalNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the original node settings for rotation.
setRotateRootNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the root node settings for rotation.
setScheme(String) - Method in class KeySettings
Sets the scheme of the settings, using Color.white as the default background color, if the background color is indeed needed.
setScheme(String) - Method in class NodeSettings
Sets the scheme of the settings, using Color.white as the default background color, if the background color is indeed needed.
setScheme(String) - Method in class PaintSettings
Sets the scheme of the current PaintSettings using the defined String within this class.
setScheme(String, Color) - Method in class KeySettings
Sets the scheme of the settings, using the background color if needed.
setScheme(String, Color) - Method in class NodeSettings
Sets the scheme of the settings, using the background color if needed.
setScreenBounds(Rectangle2D) - Method in class BSTTree
Sets the bounds of the screen to which the tree is drawing.
setScreenBounds(Rectangle2D) - Method in class BSTTreeHead
Sets the bounds of the screen to which the tree is drawing.
setScreenBounds(Rectangle2D) - Method in interface DrawingTree
Sets the bounds of the screen to which the tree is drawing.
setScreenBounds(Rectangle2D) - Method in interface DrawingTreeHead
Sets the bounds of the screen to which the tree is drawing.
setSearchAnimatorKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the animator key settings for searching.
setSearchAnimatorNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the animator node settings for searching.
setSearchNodeLeftSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the left node settings for searching.
setSearchNodeRightSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the right node settings for searching.
setSectionHeight(double) - Method in class BSTTreeHead
Sets the height of the section, used for rendering the tree.
setSelectAnimatorKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the animator key settings for selection.
setSelectAnimatorNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the animator node settings for selection.
setSelectedFrame(JInternalFrame) - Method in class TreeJDesktop
Overides the desktop method, to add functionality, by passing information about the changed frame by tree message.
setSelectedPanel(TreeJPanel) - Method in class ColorOptionsJPanel
Sets the currently selected panel for the color schemes.
setSelectNodeLeftSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the left node settings for selection.
setSelectNodeRightSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the right node settings for selection.
setSettingName(String) - Method in class KeySettings
Sets the string name for the current settings.
setSettingName(String) - Method in class NodeSettings
Sets the string name for the current settings.
setSettingName(String) - Method in class PaintSettings
Sets the string name for the current settings.
setSettings() - Method in class BSTTreeJPanel
Sets the settings for the panel using the currently selected String options.
setSettings(KeySettings) - Method in interface DrawableKey
Sets the KeySettings of the DrawableKey.
setSettings(KeySettings) - Method in class DrawingKey
Sets the KeySettings of the DrawableKey.
setSettings(NodeSettings) - Method in class BSTTree
Sets the NodeSettings of the DrawingTree.
setSettings(NodeSettings) - Method in interface DrawingTree
Sets the NodeSettings of the tree.
setSettings(TreeJPanel) - Method in class BSTTreeJPanel
Sets the settings for the panel using the currently selected String options.
setSettings(TreeJPanel) - Method in class TreeJPanel
Sets the settings for the panel param.
setSize(int) - Method in class BSTTree
Sets the the size of the current BSTTree.
setStartingCommand(String) - Method in class AbstractAnimation
Sets the starting command for the current animation.
setStartLevel(int) - Method in class MovingBSTTree
Sets the starting level for the moving of the node.
setStartTransform(AffineTransform) - Method in class MovingBSTTree
Sets the starting transform for the moving of the node.
setStatus(String) - Method in class AbstractAnimation
Sets the status of the Animation using a command within Animation interface.
setStatus(String) - Method in interface Animation
Sets the status of the Animation using a command within Animation interface.
setStep(boolean) - Method in class AbstractAnimation
Sets whether the current animation is in stepping mode or not.
setStep(boolean) - Method in interface Animation
Sets whether the current animation is in stepping mode or not.
setStep(boolean) - Method in class TreeJPanel
Sets whether the tree is stepping or not.
setStepConversion(int) - Method in class AbstractAnimation
Sets the conversion factor for step size and step time.
setStepPause(boolean) - Method in interface AnimatingTreeHead
Sets the StepPause of the current tree to the boolean value.
setStepPause(boolean) - Method in class BSTTreeHead
Sets the StepPause of the current tree to the boolean value.
setStepSize(double) - Method in class AbstractAnimation
Sets the step size for the animation.
setStepTime(int) - Method in class AbstractAnimation
Sets the step time for the animation.
setStepTime(int) - Method in interface Animation
Sets the step size for the animation.
setTraverseAnimatorKeySettings(KeySettings) - Method in class BSTTreeHead
Sets the KeySettings for the animator key settings for traversal.
setTraverseAnimatorNodeSettings(NodeSettings) - Method in class BSTTreeHead
Sets the NodeSettings for the animator node settings for traversal.
setTree(AnimatingTreeHead) - Method in class TreeJPanel
Sets the head of the tree currently drawn in the Panel.
setTreeAnimationsStepSize(int) - Method in interface AnimatingTreeHead
Sets the step size of the Animations of the tree.
setTreeAnimationsStepSize(int) - Method in class BSTTreeHead
Sets the step size of the Animations of the tree.
setTreeLevel(int) - Method in class BSTTreeHead
Sets the lowest level of the Tree, used in numerous methods.
setTreeSettings(NodeSettings, KeySettings) - Method in class BSTTree
Sets the settings of the entire tree.
setTreeSettings(NodeSettings, KeySettings) - Method in class BSTTreeHead
Sets the NodeSettings for the entire tree from the head down.
setTreeSettings(NodeSettings, KeySettings) - Method in interface DrawingTreeHead
Sets the NodeSettings for the entire tree from the head down.
setTreeSettings(NodeSettings, KeySettings, PaintSettings, Stroke) - Method in class RedBlackTree
Sets the settings of the entire tree.
setTreeSettings(NodeSettings, KeySettings, PaintSettings, Stroke) - Method in class RedBlackTreeHead
Sets the NodeSettings for the entire tree from the head down.
setTreeStatus(String) - Method in interface AnimatingTreeHead
Sets the Tree's status, using the String status of Animation.
setTreeStatus(String) - Method in class BSTTreeHead
Sets the Status of the entire tree, using the status of Animation class.
setTreeType(int) - Method in class BSTTree
Sets the tree type for the BSTTree.
setTreeType(int) - Method in class BSTTreeHead
Sets the tree type for the BSTTree.
setTreeType(int) - Method in class MovingBSTTree
Sets the tree type for the BSTTree.
setWindows(boolean) - Method in class TreeJDesktop
Sets whether the desktop is set as windows or tabbed pane.
size() - Method in class BSTTree
Returns the number of nodes in the current Tree and below.
size() - Method in class BSTTreeHead
Returns the number of objects in the entire tree.
size() - Method in interface Tree
Returns the number of objects in the current Tree.
size() - Method in interface TreeHead
Returns the number of objects in the entire tree.
SplashPanel - class SplashPanel.
This class provides the panel for a splash screen.
SplashPanel() - Constructor for class SplashPanel
Sole constructor which sets all of the default values for the Panel.
SPLAY_CLICK - Static variable in class OptionEvent
actionCommand passed for Splay.
SPLAY_NODE - Static variable in interface TreeHead
String representing the waiting action of splay.
splay(BSTTree) - Method in class BSTTreeHead
Splays the BSTTTree to the top (Double rotates).
splayAnimatingType(BSTTree) - Method in class BSTTreeHead
Splays the node up in the BSTTree.
splayClickCommand(Tree, OptionListener) - Method in class OptionMainJPanel
Splay Click command.
splayCommand(Tree) - Method in class BSTTreeJPanel
Splay command.
splayCommand(Tree) - Method in class RedBlackTreeJPanel
Splay command.
splayCommand(Tree) - Method in class TreeJPanel
Splay command.
splayNode(BSTTree) - Method in class BSTTreeJPanel
Splays up the given node.
SplayTreeHead - class SplayTreeHead.
This class provides the head structure for a SplayBSTTree.
SplayTreeHead() - Constructor for class SplayTreeHead
Constructs a new, null RootInsertionBSTTreeHead, sorted according to the keys' natural order and insertion occurs automatically to the root.
SplayTreeHead(int) - Constructor for class SplayTreeHead
Constructs a new, empty RootInsertionBSTTreeHead according to the type passed.
SplayTreeJPanel - class SplayTreeJPanel.
This class provides the panel for a SplayTree.
SplayTreeJPanel() - Constructor for class SplayTreeJPanel
 
splayTreeType(BSTTree) - Method in class BSTTreeHead
Splays the node up in the BSTTree.
START - Variable in class DeleteBSTAnimation
Constant that defines the starting location.
START - Variable in class DeleteRedBlackAnimation
Constant that defines the starting location.
stateChanged(ChangeEvent) - Method in class OptionControlsJPanel
The method called for slider changes occuring.
stateChanged(ChangeEvent) - Method in class TreeJDesktop
Implements Change Listener.
STATUS_MESSAGE - Static variable in class TreeMessageEvent
command passed for status message.
STEP - Static variable in interface Animation
Constant for the STEP status.
STOP - Static variable in interface Animation
Constant for the STOP status.
stop() - Method in interface AnimatingTreeHead
Sets the status of the entire AnimatingTree to stop.
stop() - Method in class BSTTreeHead
Sets the status of the AnimatingBSTTree to stop.
stopCommand() - Method in class TreeJPanel
Stop command.
stringToType(String) - Method in class TreeJPanel
Given a String, converts the string into the specific type set currently for the tree.

T

TABBED_PANE - Static variable in class OptionEvent
actionCommand passed for a tabbed pane.
TOOL_BAR_OFF - Static variable in class OptionEvent
Command passed to turn off the tool bar.
TOOL_BAR_ON - Static variable in class OptionEvent
Command passed to turn on the tool bar.
TRAVERSE - Static variable in interface TreeHead
String representing the waiting action of traverse.
TRAVERSE - Static variable in class TreeJPanel
String representing TRAVERSE color scheme.
TRAVERSE_BST_ANIMATION - Static variable in class AnimationEvent
ID for the TraverseBSTAnimation event.
traverse(int) - Method in class BSTTreeHead
Traverses the tree in the given traversal type.
traverseAnimatingType(int) - Method in class BSTTreeHead
Traverses the tree in the given traversal type.
traverseAnimatorKeySettings - Variable in class BSTTreeJPanel
The protected String for the currently selected traversal animator Key Settings.
traverseAnimatorNodeSettings - Variable in class BSTTreeJPanel
The protected String for the currently selected traversal animator Node Settings.
TraverseBSTAnimation - class TraverseBSTAnimation.
The Animation object that defines the Searching in a BSTTree.
TraverseBSTAnimation() - Constructor for class TraverseBSTAnimation
The constructor which initiates the status and sets the color schemes to null.
TraverseBSTAnimation(NodeSettings, KeySettings, String, int) - Constructor for class TraverseBSTAnimation
The constructor which initiates the status and prepares the colorSchemes.
traverseCommand(int) - Method in class BSTTreeJPanel
Traverse command.
traverseCommand(int) - Method in class TreeJPanel
Traverse command.
traverseTreeType(int) - Method in class BSTTreeHead
Traverses the tree in the given traversal type.
Tree - interface Tree.
A rooted Tree, where every node is pointed to by just one other node, which is called its parent.
TREE - Static variable in class TreeMessageEvent
ID for the Tree event.
TREE_INFORMATION - Static variable in class BalancedBSTTreeHead
String representing information regarding the type of tree.
TREE_INFORMATION - Static variable in class BSTTreeHead
String representing information regarding the type of tree.
TREE_INFORMATION - Static variable in class OptionEvent
Animation command passed for tree information.
TREE_INFORMATION - Static variable in class RedBlackTreeHead
String representing information regarding the type of tree.
TREE_INFORMATION - Static variable in class RootInsertionBSTTreeHead
String representing information regarding the type of tree.
TREE_INFORMATION - Static variable in class SplayTreeHead
String representing information regarding the type of tree.
TREE_SCHEME - Static variable in class NodeSettings
Tree color scheme.
TREE_TOOLS_ALL_OPTION_PANEL - Static variable in class OptionEvent
ID for an tree tools all option panel.
TREE_TOOLS_OPTION_PANEL - Static variable in class OptionEvent
ID for an tree tools option panel.
TreeApplication - class TreeApplication.
The TreeJApplet presents an applet that allows for the drawing of different forms of tress.
TreeApplication() - Constructor for class TreeApplication
 
TreeHead - interface TreeHead.
The TreeHead interface extends the Tree interface.
treeInformationCommand() - Method in class OptionControlsJPanel
Tree Information command.
TreeJDesktop - class TreeJDesktop.
The JDesktop class intended for a tree structure.
TreeJDesktop() - Constructor for class TreeJDesktop
Sole Constructor, which constructs all of the tree panels and sets up all of the listening.
TreeJPanel - class TreeJPanel.
This class provides the panel for a Tree.
TreeJPanel() - Constructor for class TreeJPanel
Sole constructor which sets all of the default values for the Panel.
TreeMessageEvent - class TreeMessageEvent.
A semantic event which indicates that a TreeMessage-defined action occured.
TreeMessageEvent(Object, int, String) - Constructor for class TreeMessageEvent
Constructs a TreeMessageEvent object.
TreeMessageEvent(Object, int, String, Object) - Constructor for class TreeMessageEvent
Constructs a TreeMessageEvent object with a message object.
treeMessageEventPerformed(TreeMessageEvent) - Method in class CenterJFrame
Invoked when an Tree Message action occurs.
treeMessageEventPerformed(TreeMessageEvent) - Method in class ColorOptionsJPanel
Tree Message Event performed.
treeMessageEventPerformed(TreeMessageEvent) - Method in class OptionControlsJPanel
Tree Message Event performed.
treeMessageEventPerformed(TreeMessageEvent) - Method in class OptionMainJPanel
Tree Message Event performed.
treeMessageEventPerformed(TreeMessageEvent) - Method in class TreeJDesktop
Listens to tree message events.
treeMessageEventPerformed(TreeMessageEvent) - Method in class TreeJPanel
Listens to tree message events.
treeMessageEventPerformed(TreeMessageEvent) - Method in interface TreeMessageListener
Invoked when an Tree Message action occurs.
TreeMessageListener - interface TreeMessageListener.
The listener interface for receiving TreeMessage events.
TWO_THREE_FOUR_DISPLAY - Static variable in class OptionEvent
Animation command passed for display change request to 234.
TYPEERR - Static variable in class TreeJPanel
command passed for type errors.

U

UP_LEFT - Static variable in class MovingBSTTree
Defines moving up and to the left.
UP_RIGHT - Static variable in class MovingBSTTree
Defines moving up and to the right.

W

waitingAction(String, Object) - Method in class BalancedBSTTreeHead
Acts according to the String action passed.Overides BSTTree, to stop rapid-fire insertion.
waitingAction(String, Object) - Method in class BSTTreeHead
Acts according to the String action passed.
waitingAction(String, Object) - Method in class RedBlackTreeHead
Acts according to the String action passed.
waitingAction(String, Object) - Method in class RootInsertionBSTTreeHead
Acts according to the String action passed.Overides BSTTree, to stop rapid-fire insertion.
waitingAction(String, Object) - Method in class SplayTreeHead
Acts according to the String action passed.Overides BSTTree, to stop rapid-fire insertion.
waitingAction(String, Object) - Method in interface TreeHead
Acts according to the String action passed.
WaitingActionList - class WaitingActionList.
Linked list implementation of the List interface containing String actions and accompanying Object elements.
WaitingActionList() - Constructor for class WaitingActionList
Constructs an empty list.
WaitingActionList(Collection, Collection) - Constructor for class WaitingActionList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
WHITE - Static variable in class PaintSettings
The color white.
WHITE_SCHEME - Static variable in class KeySettings
White color scheme.
WHITE_SCHEME - Static variable in class NodeSettings
White color scheme.
windowActivated(WindowEvent) - Method in class TreeApplication
Invoked when the Window is set to be the active Window.
windowClosed(WindowEvent) - Method in class TreeApplication
Invoked when a window has been closed as the result of calling dispose on the window.
windowClosing(WindowEvent) - Method in class TreeApplication
Invoked when the user attempts to close the window from the window's system menu.
windowDeactivated(WindowEvent) - Method in class TreeApplication
Invoked when a Window is no longer the active Window.
windowDeiconified(WindowEvent) - Method in class TreeApplication
Invoked when a window is changed from a minimized to a normal state.
windowIconified(WindowEvent) - Method in class TreeApplication
Invoked when a window is changed from a normal to a minimized state.
windowOpened(WindowEvent) - Method in class TreeApplication
Invoked the first time a window is made visible.
WINDOWS - Static variable in class OptionEvent
actionCommand passed for a tabbed pane.
worstCaseInsertion(int) - Method in class BSTTreeHead
Returns the worst case Insertion time, according to n, the amount of elements in the tree.
worstCaseInsertion(int) - Method in class RedBlackTreeHead
Returns the worst case Insertion time, according to n, the amount of elements in the tree.
worstCaseSearchHit(int) - Method in class BSTTreeHead
Returns the worst case Search hit time, according to n, the amount of elements in the tree.
worstCaseSearchHit(int) - Method in class RedBlackTreeHead
Returns the worst case Search hit time, according to n, the amount of elements in the tree.
worstCaseSearchMiss(int) - Method in class BSTTreeHead
Returns the worst case Search miss time, according to n, the amount of elements in the tree.
worstCaseSearchMiss(int) - Method in class RedBlackTreeHead
Returns the worst case Search miss time, according to n, the amount of elements in the tree.

Y

YELLOW - Static variable in class PaintSettings
The color yellow.
YELLOW_GREEN - Static variable in class PaintSettings
The color yellow green.
yellowGreen - Static variable in class PaintSettings
Yellow Green.

Z

ZOOM_IN - Static variable in class OptionEvent
actionCommand passed for zoom in.
ZOOM_OUT - Static variable in class OptionEvent
actionCommand passed for zoom out.

A B C D E F G H I J K L M N O P R S T U W Y Z