Examples of initFromAttributes()


Examples of de.lessvoid.nifty.loaderv2.types.EffectType.initFromAttributes()

    effectValues.add(value);
  }

  public EffectType create() {
    EffectType effectType = new EffectType();
    effectType.initFromAttributes(attributes);
    for (int i=0; i<effectValues.size(); i++) {
      effectType.addValue(effectValues.get(i));
    }
    return effectType;
  }
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.EffectTypeOnHover.initFromAttributes()

    controlHoverAttributes = controlHoverAttributesParam;
  }

  public EffectTypeOnHover create() {
    EffectTypeOnHover effectTypeOnHover = new EffectTypeOnHover();
    effectTypeOnHover.initFromAttributes(attributes);
    for (int i=0; i<effectValues.size(); i++) {
      effectTypeOnHover.addValue(effectValues.get(i));
    }
    if (controlHoverAttributes != null) {
      effectTypeOnHover.setHover(controlHoverAttributes.create());
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.EffectsType.initFromAttributes()

    onCustom.add(effectParam);
  }

  public EffectsType create() {
    EffectsType effectsType = new EffectsType();
    effectsType.initFromAttributes(attributes);
    addOnStartScreen(effectsType, onStartScreen);
    addOnEndScreen(effectsType, onEndScreen);
    addOnHover(effectsType, onHover);
    addOnStartHover(effectsType, onStartHover);
    addOnEndHover(effectsType, onEndHover);
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.HoverType.initFromAttributes()

    attributes.set("hoverHeight", hoverHeight);
  }

  public HoverType create() {
    HoverType effectType = new HoverType();
    effectType.initFromAttributes(attributes);
    return effectType;
  }
}
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.InteractType.initFromAttributes()

    attributes.set("onClickAlternateKey", onClickAlternateKey);
  }

  public InteractType create() {
    InteractType interact = new InteractType();
    interact.initFromAttributes(attributes);
    return interact;
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.