|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.awt.blinker.Blinker
public class Blinker
Blinker is an invisible bean that fires a property change event at a regular specified interval.
| Constructor Summary | |
|---|---|
Blinker()
Class constructor which uses the default interval |
|
Blinker(int milliSeconds)
Class Constructor |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Register a property change listener |
int |
getInterval()
Return the blink interval |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a property change listener |
void |
run()
Run method runs a infinite loop |
void |
setInterval(int milliSeconds)
Set the current blinker interval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Blinker(int milliSeconds)
milliSeconds - milliSeconds is the period of the blinkpublic Blinker()
| Method Detail |
|---|
public int getInterval()
public void setInterval(int milliSeconds)
milliSeconds - milliseconds is the new blinker intervalpublic void run()
run in interface java.lang.Runnablepublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - l is the listener to registerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - l is the listener to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||