Package org.emrick.project.effect
Class StaticColorEffect
java.lang.Object
org.emrick.project.effect.StaticColorEffect
- All Implemented Interfaces:
GeneratedEffect
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStaticColorEffect(long startTime, long endTime, Color staticColor, Duration duration, int id) -
Method Summary
Modifier and TypeMethodDescriptiongenerateEffects(ArrayList<LEDStrip> ledStrips) longintgetId()longvoidsetDuration(Duration duration) voidsetEndTime(long endTime) voidsetId(int id) voidsetStartTime(long startTime) voidsetStaticColor(Color staticColor)
-
Field Details
-
startTime
private long startTime -
endTime
private long endTime -
staticColor
-
duration
-
id
private int id
-
-
Constructor Details
-
StaticColorEffect
-
-
Method Details
-
getStartTime
public long getStartTime()- Specified by:
getStartTimein interfaceGeneratedEffect
-
setStartTime
public void setStartTime(long startTime) - Specified by:
setStartTimein interfaceGeneratedEffect
-
getEndTime
public long getEndTime()- Specified by:
getEndTimein interfaceGeneratedEffect
-
setEndTime
public void setEndTime(long endTime) - Specified by:
setEndTimein interfaceGeneratedEffect
-
getStaticColor
-
setStaticColor
-
getDuration
-
setDuration
-
getId
public int getId() -
setId
public void setId(int id) -
getEffectType
- Specified by:
getEffectTypein interfaceGeneratedEffect
-
generateEffectObj
- Specified by:
generateEffectObjin interfaceGeneratedEffect
-
generateEffects
- Specified by:
generateEffectsin interfaceGeneratedEffect
-