|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulation_BasicVersion.FrameAdvancer
public class FrameAdvancer
This class encapsulates an listener that implements behaviours in response to action events. This class implements an ActionListener.
Constructor Summary | |
---|---|
FrameAdvancer(Picture gameCanvas)
Creates a frame advancer, which is an ActionListener that can be installed on a ActionEvent dispatcher. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameAdvancer(Picture gameCanvas)
gameCanvas
- as described aboveMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |