|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeHandler
Represents a display that keeps itself synchronized with the current system time, and can reset current system time via its timeHandler. This is intended to cover either displays generated using the stylesheet engine or the NIS generic display.
Method Summary | |
---|---|
void |
acceptTimeChange(double systemTime)
Accept a new time (generally from another registered TimeHandler). |
void |
acceptTimeSpanChange(double start,
double end)
Accept a new time span from another registered time handler. |
Clock |
getClock()
Return the Clock that is currently syncronising this TimeHandler |
double |
getMaxTime()
find the largest end time handled by this TimeHandler. |
void |
setClock(Clock clock)
Set the Clock to which this TimeHandler is registered |
void |
setTime(double time)
Broadcast a new time. |
void |
setTimeHighlightColor(java.awt.Color color)
Change the Color used for all registered TimeHandlers to highlight times |
void |
setTimeSpan(double start,
double end)
Broadcast a new span to all registered TimeHandlers. |
Method Detail |
---|
void acceptTimeChange(double systemTime)
void setTime(double time)
void acceptTimeSpanChange(double start, double end)
void setTimeSpan(double start, double end)
Clock getClock()
void setClock(Clock clock)
void setTimeHighlightColor(java.awt.Color color)
double getMaxTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |