Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
S
T
U
A
appendKey(int)
- Method in class
BNode
Adds a new key in appropriate position
B
BNode
- class
BNode
.
BNode(int)
- Constructor for class
BNode
Create a new leaf node with multiple weight and children.
BNode(int, int)
- Constructor for class
BNode
Create a new node with multiple weight and children with weight to insert
bigFont
- Variable in class
BNode
C
child
- Variable in class
BNode
subtree array
D
deleteKey(int)
- Method in class
BNode
Delete specific key(at index) return current key count
draw(Graphics)
- Method in class
BNode
This method draws the node on the corresponding graphical context normally passed in from the drawing panel.
drawEdge(Graphics, BNode)
- Method in class
BNode
E
expandSize(float)
- Method in class
BNode
Adjust the node size by a factor
F
findChildPosition(int)
- Method in class
BNode
find child position which has spechfic key
findKey(int)
- Method in class
BNode
Find specific key in this Node Return founded position(index) return -1, if didn't find
G
getAllKeyString()
- Method in class
BNode
return all key as string
getChild(int)
- Method in class
BNode
return child at index
getChildCount()
- Method in class
BNode
return actual child number
getColour()
- Method in class
BNode
getEdgeXY(BNode)
- Method in class
BNode
getFilledkeywidth()
- Method in class
BNode
return actual node size which was filled by inserted key
getHeadXY()
- Method in class
BNode
getHeight()
- Method in class
BNode
return height in the tree
getKey(int)
- Method in class
BNode
return key at index
getKeyCount()
- Method in class
BNode
return actual key number
getLabel()
- Method in class
BNode
getMaxKey()
- Method in class
BNode
Get Maximum key in this Node
getNodesize()
- Method in class
BNode
return maximum node size
H
height
- Variable in class
BNode
height of node
highlightColor
- Variable in class
BNode
hugeFont
- Variable in class
BNode
I
initColors(Color)
- Method in class
BNode
Set the color of the node.
initFonts(Font, Font)
- Method in class
BNode
Assign some font instances to reduce initialization over during redraw.
insertKey(int, BNode, BNode)
- Method in class
BNode
insert specifickey and set two children on the left of weight and right of weight.
isLeaf()
- Method in class
BNode
return true if it is leaf
isSentinel(int)
- Method in class
BNode
return true if child is null at index
K
key
- Variable in class
BNode
key array
L
labelColor
- Variable in class
BNode
M
max_children
- Variable in class
BNode
maximum number of children
max_key
- Variable in class
BNode
maximum number of key
move(int, int)
- Method in class
BNode
Move the node and all its branches based on the parameters.
moveTreeNode(int, int)
- Method in class
BNode
Move the tree starting with node dx pixels to the right and dy pixels down.
N
nodeColor
- Variable in class
BNode
nodespace
- Static variable in class
BNode
S
setChild(BNode)
- Method in class
BNode
Adds a new node
setChild(int, BNode)
- Method in class
BNode
Adds a new node at index
setColour(Color)
- Method in class
BNode
setHighlight(Graphics)
- Method in class
BNode
setKey(int, int)
- Method in class
BNode
Adds a new key at index
setKeyCount(int)
- Method in class
BNode
set actual key number
setLabel(String)
- Method in class
BNode
setLabelColour(Color)
- Method in class
BNode
setNodespace(Nodespace)
- Method in class
BNode
setPosition(int, int, int, int)
- Method in class
BNode
Start at a node and set the positions for the sub-tree elements
setPosition(int, int, int, int, int)
- Method in class
BNode
Start at a node and set the positions for the sub-tree elements
T
toString()
- Method in class
BNode
return all key and height as string
U
Unhighlight_Node()
- Method in class
BNode
A
B
C
D
E
F
G
H
I
K
L
M
N
S
T
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes