All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Button
|
+----edu.cornell.lassp.mck10.HysteresisApplet.StopButton
StopButton class allows the user to stop the hysteresis
model modeled in the HysteresisLattice class by pressing
a button.
Source Code is available.
StopButton(model) constructor attaches the button
to a model.
action(e,obj) method is called when the button is
pressed.
public StopButton(HysteresisLattice model)
StopButton(model) constructor attaches the button
to a model.
public boolean action(Event e,
Object obj)
action(e,obj) method is called when the button is
pressed. It just stops the model and returns true to indicate that
the event has been processed.
All Packages Class Hierarchy This Package Previous Next Index