|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulation.AlarmBehavior
Field Summary | |
private int |
interval
|
private boolean |
ringing
|
private int |
time
|
Constructor Summary | |
(package private) |
AlarmBehavior(int interval)
|
Method Summary | |
void |
doIt(Model m)
|
(package private) boolean |
isRinging()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int time
private int interval
private boolean ringing
Constructor Detail |
AlarmBehavior(int interval)
Method Detail |
public void doIt(Model m)
doIt
in interface Behavior
boolean isRinging()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |