|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.service.IltDefaultBlinkingManager
public class IltDefaultBlinkingManager
Default implementation of the blinking manager.
IlpBlinkingManager| Constructor Summary | |
|---|---|
IltDefaultBlinkingManager(long onPeriod,
long offPeriod)
Creates a blinking manager. |
|
IltDefaultBlinkingManager(long onPeriod,
long offPeriod,
long coalesceTime)
Deprecated. Please use IltDefaultBlinkingManager(long, long) instead. |
|
| Method Summary | |
|---|---|
void |
addColor(IlpBlinkingColor color)
Adds a blinking color to this object. |
void |
clearColorMap()
Remove all the blinking colors stored in this manager. |
long |
getCoalesceTime()
Deprecated. |
IlpBlinkingColor |
getColor(Color onColor,
Color offColor,
long onPeriod,
long offPeriod)
Returns a blinking color to be used by this blinking manager. |
long |
getOffPeriod()
Returns the default duration of off periods in milliseconds. |
long |
getOnPeriod()
Returns the default duration of on periods in milliseconds. |
void |
removeColor(IlpBlinkingColor color)
Removes a blinking color from this object. |
void |
setCoalesceTime(long coalesceTime)
Deprecated. |
void |
setOffPeriod(long offPeriod)
Sets the default duration of off periods in milliseconds. |
void |
setOnPeriod(long onPeriod)
Sets the default duration of on periods in milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltDefaultBlinkingManager(long onPeriod,
long offPeriod,
long coalesceTime)
IltDefaultBlinkingManager(long, long) instead.
onPeriod - The duration, in milliseconds, of default on periodsoffPeriod - The duration, in milliseconds, of default off periodscoalesceTime - The minimum time between redraw events that will be
grouped together
public IltDefaultBlinkingManager(long onPeriod,
long offPeriod)
onPeriod - The duration, in milliseconds, of default on periodsoffPeriod - The duration, in milliseconds, of default off periods| Method Detail |
|---|
public long getOnPeriod()
IlpBlinkingManager
getOnPeriod in interface IlpBlinkingManagerpublic void setOnPeriod(long onPeriod)
IlpBlinkingManager
setOnPeriod in interface IlpBlinkingManagerpublic long getOffPeriod()
IlpBlinkingManager
getOffPeriod in interface IlpBlinkingManagerpublic void setOffPeriod(long offPeriod)
IlpBlinkingManager
setOffPeriod in interface IlpBlinkingManagerpublic long getCoalesceTime()
IlpBlinkingManager
getCoalesceTime in interface IlpBlinkingManagerpublic void setCoalesceTime(long coalesceTime)
IlpBlinkingManager
setCoalesceTime in interface IlpBlinkingManagerpublic void addColor(IlpBlinkingColor color)
IlpBlinkingManager
addColor in interface IlpBlinkingManagercolor - Blinking color to be added.public void removeColor(IlpBlinkingColor color)
IlpBlinkingManager
removeColor in interface IlpBlinkingManagercolor - Blinking color to be removed.
public IlpBlinkingColor getColor(Color onColor,
Color offColor,
long onPeriod,
long offPeriod)
This blinking manager implementation verifies if a blinking color with the given characteristics already exists. In this case, the existing blinking color is returned. Otherwise a new blinking color is created and registered in this blinking manager.
getColor in interface IlpBlinkingManageronColor - on coloroffColor - off coloronPeriod - duration in milliseconds of the period to display the
onColoroffPeriod - duration in milliseconds of the period to display the
offColor
public void clearColorMap()
getColor(Color, Color, long, long).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||