Class Bottomcontrolstuff
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----Bottomcontrolstuff
- class Bottomcontrolstuff
- extends Panel
- implements ActionListener
-
bzlHandle
-
-
Debug
-
-
Bottomcontrolstuff(Curveline)
- This constructor adds buttons as required per the context of the class.
-
actionPerformed(ActionEvent)
- This function performs actions for each button push.
bzlHandle
Curveline bzlHandle
Debug
boolean Debug
Bottomcontrolstuff
public Bottomcontrolstuff(Curveline bzl)
- This constructor adds buttons as required per the context of the class.
Different types of curves required different buttons. The buttonss are
created here according to a series of if () statements.
actionPerformed
public void actionPerformed(ActionEvent ae)
- This function performs actions for each button push. A series of if
statements analyses which button was pushed, and determines an appropriate
action. There are nested if() decisions made, so that a few buttons
can perform different actions, based upon the context and the curve
type drawn. Handles are used to get back to key parameter values and
to get back to other objects to enable the repaint() command!