public class DefaultTimerListener extends java.lang.Object implements TimerListener
Constructor and Description |
---|
DefaultTimerListener(double min,
double max) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(TimerEvent ev) |
void |
doOnEntry(TimerEvent ev) |
void |
doOnExit(TimerEvent ev) |
void |
doWhileInside(TimerEvent ev) |
boolean |
getCheckOnEntry() |
boolean |
getCheckOnExit() |
boolean |
getCheckWhileInside() |
double |
getMaximumTimeRemaining() |
double |
getMinimumTimeRemaining() |
javax.sound.sampled.Clip |
getSoundClip() |
void |
setCheckOnEntry(boolean b) |
void |
setCheckOnExit(boolean b) |
void |
setCheckWhileInside(boolean b) |
void |
setMaximumTimeRemaining(double in) |
void |
setMinimumTimeRemaining(double in) |
void |
setSoundPath(java.lang.String s) |
public javax.sound.sampled.Clip getSoundClip()
public void setSoundPath(java.lang.String s)
public double getMinimumTimeRemaining()
public double getMaximumTimeRemaining()
public void setMinimumTimeRemaining(double in)
public void setMaximumTimeRemaining(double in)
public boolean getCheckOnEntry()
public boolean getCheckOnExit()
public boolean getCheckWhileInside()
public void setCheckOnExit(boolean b)
public void setCheckOnEntry(boolean b)
public void setCheckWhileInside(boolean b)
public void actionPerformed(TimerEvent ev)
actionPerformed
in interface TimerListener
public void doOnExit(TimerEvent ev)
public void doOnEntry(TimerEvent ev)
public void doWhileInside(TimerEvent ev)
Copyright © 2011, 2013. Daniel P. Dougherty