|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gerhardb.lib.util.Killer
public class Killer
Generally used by a parent to ask threads to die. Allows threads to clean up after themselves.
| Constructor Summary | |
|---|---|
Killer()
|
|
| Method Summary | |
|---|---|
void |
dead()
Signals that the thread is dead. |
boolean |
die()
If this returns true, the thread should terminate ASAP. |
void |
kill()
Signals threads to die. |
boolean |
live()
If this returns true, the thread should not terminate. |
void |
setButtons(javax.swing.JButton start,
javax.swing.JButton stop)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Killer()
| Method Detail |
|---|
public void setButtons(javax.swing.JButton start,
javax.swing.JButton stop)
public boolean die()
public boolean live()
public void kill()
public void dead()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||