|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.DisplayActivity
public class DisplayActivity
Manage busy/idle handlers for a Display
Constructor Summary | |
---|---|
DisplayActivity(DisplayImpl dpy)
Manage busy/idle handlers for a Display, using a default idle time of 0.25 second. |
|
DisplayActivity(DisplayImpl dpy,
int milliseconds)
Manage busy/idle handlers for a Display, using the specified idle time, with the minimum idle time being 100 milliseconds. |
Method Summary | |
---|---|
void |
addHandler(ActivityHandler ah)
Add a new activity handler. |
void |
destroy()
Stop the idle timer and any running tasks. |
void |
removeHandler(ActivityHandler ah)
Remove an activity handler. |
void |
updateBusyStatus()
Notify the activity monitor that work has been done. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayActivity(DisplayImpl dpy)
dpy
- Display to manage.public DisplayActivity(DisplayImpl dpy, int milliseconds)
dpy
- Display to manage.milliseconds
- Number of milliseconds to wait before
the Display is considered idle.Method Detail |
---|
public void destroy()
public void addHandler(ActivityHandler ah) throws VisADException
ah
- ActivityHandler to add
VisADException
- no handler listpublic void removeHandler(ActivityHandler ah) throws VisADException
ah
- ActivityHandler to remove
VisADException
- no handler listpublic void updateBusyStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |