|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
start_button
action handling method, which is
automatically invoked when the button is pressed.
offset
from another one
x
to the trajectory
TableCanvas
,
which add an entry to the table and push the existing entries after
this newly added object one position down.
AlgAnimFrame
class is a top-level window with a title
and border.Vector
construction.
BasicDrawingPanel
is the graphical panel attached to the
animation frame AlgAnimFrame
.String
parameter, using the foreground and background colors indicated by
the fourth and fifth parameters.
String
parameter.
java.awt.Label
.TableCanvas
,
which checks if the table contains a certain object specified by
the parameter.
java.awt.Panel
class to form
a panel which holds the buttons that control
the animation of the algorithm.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
.
DrawingPanel
is the graphical panel attached to the
animation frame AlgAnimFrame
.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.
TableCanvas
,
which highlights the table entry with the row specified by the
parameter.
java.awt.Panel
which can be added to the drawing panel
(DrawingPanel
).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.
TableCanvas
,
which gets the location of an object in the table.
DrawingObj
interface
that can be added to the drawingPanel (an instance of
DrawingPanel
).DrawingObj
interface.LFrame
is an extension of the java.awt.Frame
class
customized to display the legend of the color code used in the
animation panel.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.
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
.
DrawingObj
interface.TableCanvas
class.
TableCanvas
,
which gets the maximum size of the table.
TextFrame
class brings up a frame containing the text
panel.TreeNode
'sstart
and end
repaint()
method of the
parent class is called.
repaint
method
is called.
repaint()
method is called.
repaint()
method of the panel is called.
repaint()
method is called.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |