Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
B
C
H
I
M
P
R
S
V
W
B
b
- Variable in class
MergeSortVis
The temp-array for the merge-process
b
- Variable in class
MergePanel
The entire array that has to be sorted
C
CodePanel
- class
CodePanel
.
Diese Klasse ist ein JPanel, welches den Quellcode fuer den MergeSort-Algorithmus anzeigt.
createBarArray(int[])
- Method in class
MergePanel
This function creates the Array of Bars and draws the Array-Objects using the new Graphics2D object.
createTempBarArray(int[], int, int)
- Method in class
MergePanel
Creates the Array below the first array.
H
highlightLine
- Variable in class
CodePanel
Die Zeile, die gehighlighted werden soll.
highlightStart
- Variable in class
MergePanel
The start-element to highlight.
highlightStop
- Variable in class
MergePanel
The end-element to highlight.
I
init()
- Method in class
MergeSortVis
M
m
- Variable in class
MergePanel
The maximum element.
merge(int, int)
- Method in class
MergeSortVis
The Merge-function.
MergePanel
- class
MergePanel
.
This class provides a JPanel with methods for drawing and moving bars.
MergePanel()
- Constructor for class
MergePanel
Standard constructor
mergeSort(int, int)
- Method in class
MergeSortVis
This is the actual MergeSort Algorithm It does all the steps used for sorting and visualizes the results.
MergeSortVis
- class
MergeSortVis
.
MergeSortVis()
- Constructor for class
MergeSortVis
minimumSize()
- Method in class
MergePanel
The Minimum Size of this Panel
P
paint(Graphics)
- Method in class
MergePanel
The paint-method.
paint(Graphics)
- Method in class
CodePanel
Die Methode, die dem Panel sagt, wie es sich selber malen soll.
prefferedSize()
- Method in class
MergePanel
The Preferred Size of this Panel
R
run()
- Method in class
MergeSortVis
The run-method of the thread.
S
sa
- Variable in class
MergeSortVis
The array to sort
sa
- Variable in class
MergePanel
The Array, that contains the elements that are to be merged
start
- Variable in class
MergePanel
The beginning element that is to be copied in the temporary merge-array.
startSortProcess()
- Method in class
MergeSortVis
This function is called to start the sort-process.
startSortProcess(int[])
- Method in class
MergePanel
This function starts the sort-process from the array sa
stop
- Variable in class
MergePanel
The last element that is to be copied in the temporary merge-array.
stopSortProcess()
- Method in class
MergeSortVis
Stops the sort-process
stopSortProcess()
- Method in class
MergePanel
This function stops the sort-process.
str2intArray(String)
- Method in class
MergeSortVis
This function converts a String object into an int-Array
V
vis(int)
- Method in class
MergeSortVis
This function is used to visualize the code panel and to sleep a while so the user can see what is going on
W
writeCode()
- Method in class
CodePanel
Diese Funktion schreibt den String Array mit den Quellcode zeilenweise untereinandern.
B
C
H
I
M
P
R
S
V
W
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES