|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
AlgAnimFrame
class is a top-level window with a title
and border.start_button
action handling method, which is
automatically invoked when the button is pressed.
x
to the trajectory
offset
from another one
TableCanvas
,
which add an entry to the table and push the existing entries after
this newly added object one position down.
Vector
construction.
BasicDrawingPanel
is the graphical panel attached to the
animation frame AlgAnimFrame
.String
parameter.
String
parameter, using the foreground and background colors indicated by
the fourth and fifth parameters.
java.awt.Label
.java.awt.Panel
class to form
a panel which holds the buttons that control
the animation of the algorithm.TableCanvas
,
which checks if the table contains a certain object specified by
the parameter.
DrawingPanel
is the graphical panel attached to the
animation frame AlgAnimFrame
.setDelay(int)
.
paint(Graphics g)
method of the drawing panel/canvas.
paint()
.
repaint()
method of the table panel.
paint()
method to draw
each entry of the table as a box.
TableCanvas
.
draw
method which
in turn is called from the drawing panel to draw the matrix based
on the position and color previously set.
TableCanvas
,
which checks if the table has been fully filled up.
Panel
.
animate
animate
ImageButton
, which is
cast to java.awt.Button
ImageButton
, which is
casted to java.awt.Button
ImageButton
, which is
casted to java.awt.Button
ImageButton
, which is
cast to java.awt.Button
TableCanvas
,
which obtains the object placed at the table row specified by the
parameter.
TextFrame
used to set the layout
constraints and highlight certain lines of the source code.
java.awt.Panel
which can be added to the drawing panel
(DrawingPanel
).TableCanvas
,
which highlights the table entry with the row specified by the
parameter.
ImageButton
class extends the original
java.awt.Button
to display graphical images in
gif
format.ImageButton
using the gif
file specified by the first parameter on the panel defined by
the third parameter.
DrawingObj
interface
that can be added to the drawingPanel (an instance of
DrawingPanel
).TableCanvas
,
which gets the location of an object in the table.
LFrame
is an extension of the java.awt.Frame
class
customized to display the legend of the color code used in the
animation panel.DrawingObj
interface.TableCanvas
,
which gets the number of rows in the table where the contents are
non-null objects.
TableCanvas
,
which checks if a particular row in the table has a non-null object.
setStart(int)
on the text panel.
repaint()
on each of the image buttons.
TableCanvas
,
which restores any highlighted row.
DrawingObj
interface.imageFileDisable.gif
.
Panel
.
imageFile.gif
TableCanvas
,
which sets the object specified by the first parameter to the table
row defined by the second parameter.
TableCanvas
,
which sets the size of the table and hence rescale the scrollbar.
getComPanel
.
TableCanvas
class.
TextFrame
class brings up a frame containing the text
panel.TableCanvas
,
which gets the maximum size of the table.
repaint()
method is called.
repaint()
method is called.
repaint
method
is called.
repaint()
method of the panel is called.
repaint()
method of the
parent class is called.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |