Interface Effect
-
- All Known Implementing Classes:
AbstractEffect
,DelayEffect
,OpacityFadeEffect
public interface Effect
Encapsulates information for a component effect.- Author:
- Garret Wilson
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELAY_PROPERTY
The delay bound property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDelay()
void
setDelay(int newDelay)
Sets the delay before the effect takes place.
-
-
-
Method Detail
-
getDelay
int getDelay()
- Returns:
- The delay, in milliseconds, before the effect takes place.
-
setDelay
void setDelay(int newDelay)
Sets the delay before the effect takes place. This is a bound property of typeInteger
.- Parameters:
newDelay
- The delay, in milliseconds, before the effect takes place.- Throws:
java.lang.IllegalArgumentException
- if the given delay is negative.- See Also:
DELAY_PROPERTY
-
-