de.lessvoid.nifty.builder
Class EffectBuilder

java.lang.Object
  extended by de.lessvoid.nifty.builder.EffectBuilder

public class EffectBuilder
extends Object


Field Summary
protected  ControlEffectAttributes attributes
           
 
Constructor Summary
EffectBuilder(String effectName)
           
 
Method Summary
 EffectBuilder alternateDisable(String alternateDisable)
           
 EffectBuilder alternateEnable(String alternateEnable)
           
 EffectBuilder customKey(String customKey)
           
 EffectBuilder effectParameter(String key, String value)
           
 EffectBuilder effectValue(String... values)
           
 ControlEffectAttributes getAttributes()
           
 EffectBuilder inherit()
           
 EffectBuilder inherit(boolean inherit)
           
 EffectBuilder length(int ms)
           
 EffectBuilder neverStopRendering(boolean neverStopRendering)
           
 EffectBuilder onEndEffectCallback(String callback)
           
 EffectBuilder oneShot(boolean oneShot)
           
 EffectBuilder onStartEffectCallback(String callback)
           
 EffectBuilder overlay(boolean overlay)
           
 EffectBuilder post(boolean post)
           
 EffectBuilder startDelay(int ms)
           
 EffectBuilder timeType(String timeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected ControlEffectAttributes attributes
Constructor Detail

EffectBuilder

public EffectBuilder(String effectName)
Method Detail

inherit

public EffectBuilder inherit(boolean inherit)

inherit

public EffectBuilder inherit()

post

public EffectBuilder post(boolean post)

overlay

public EffectBuilder overlay(boolean overlay)

alternateEnable

public EffectBuilder alternateEnable(String alternateEnable)

alternateDisable

public EffectBuilder alternateDisable(String alternateDisable)

customKey

public EffectBuilder customKey(String customKey)

neverStopRendering

public EffectBuilder neverStopRendering(boolean neverStopRendering)

effectParameter

public EffectBuilder effectParameter(String key,
                                     String value)

startDelay

public EffectBuilder startDelay(int ms)

length

public EffectBuilder length(int ms)

oneShot

public EffectBuilder oneShot(boolean oneShot)

timeType

public EffectBuilder timeType(String timeType)

onStartEffectCallback

public EffectBuilder onStartEffectCallback(String callback)

onEndEffectCallback

public EffectBuilder onEndEffectCallback(String callback)

getAttributes

public ControlEffectAttributes getAttributes()

effectValue

public EffectBuilder effectValue(String... values)


Copyright © 2012. All Rights Reserved.