public interface IlvBlinkingObject
IlvGraphic
.
An object that uses a blinking drawing resource must register itself at
the blinking manager when it starts or ends using the resource via:
drawingResource.notifyUsed(blinkingObject, used);If the entire object blinks (i.e. not when only a color of the object blinks), the it must register itself via
IlvBlinkingManager.registerObject(blinkingObject);and unregister itself when the blinking should stop:
IlvBlinkingManager.unregisterObject(blinkingObject);
Modifier and Type | Method and Description |
---|---|
void |
blinkingStateOn(boolean on)
Sets the blinking state of the object.
|
IlvBlinkingObjectOwner |
getBlinkingObjectOwner()
Returns the blinking object owner.
|
long |
getBlinkingOffPeriod()
Returns the duration, in milliseconds, the object is hidden when blinking.
|
long |
getBlinkingOnPeriod()
Returns the duration, in milliseconds, the object is shown when blinking.
|
void |
reDraw()
Redraws the object.
|
long getBlinkingOnPeriod()
long getBlinkingOffPeriod()
void blinkingStateOn(boolean on)
void reDraw()
IlvBlinkingObjectOwner getBlinkingObjectOwner()
reDraw()
so that the final redraw is time-synchron.
Can return null
if such a delay mechanism is not available.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.