Package com.netflix.priam.aws

Examples of com.netflix.priam.aws.SDBInstanceData$Attributes


  public XmlBaseType() {
  }

  public XmlBaseType(final XmlBaseType src) {
    if (src.attributes != null) {
      attributes = new Attributes(src.attributes);
    }
  }
View Full Code Here


  public Attributes getAttributes() {
    return attributes;
  }

  public void initFromAttributes(final Attributes attributesParam) {
    attributes = new Attributes(attributesParam);
  }
View Full Code Here

    popupType.getAttributes().set("style", style);
    return createAndAddPopup(id, popupType);
  }

  public Element createPopupWithStyle(final String popupId, final String style) {
    return createPopupWithStyle(popupId, style, new Attributes());
  }
View Full Code Here

  public void refreshAttributes(
      final Nifty nifty,
      final Screen screen,
      final Element element,
      final ControlAttributes attributes) {
    Attributes attrib = new Attributes(getAttributes());
    attributes.refreshAttributes(attrib);
    applyAttributes(element, attrib, nifty.getRenderEngine());
    applyPostAttributes(element, attrib, nifty.getRenderEngine());
    attributes.refreshEffects(effects);
    screen.layoutLayers();
View Full Code Here

  }

  void resolveParameters(final Attributes parentAttributes) {
    getAttributes().resolveParameters(parentAttributes);

    Attributes newParent = new Attributes(parentAttributes);
    newParent.merge(getAttributes());

    interact.resolveParameters(newParent);
    effects.resolveParameters(newParent);

    for (ElementType elementType : elements) {
View Full Code Here

  /**
   * Support for CustomControlCreator
   * @param source
   */
  public ControlEffectsAttributes(final EffectsType source) {
    this.attributes = new Attributes(source.getAttributes());
    this.onStartScreen = source.getOnStartScreen();
    this.onEndScreen = source.getOnEndScreen();
    this.onHover = source.getOnHover();
    this.onStartHover = source.getOnStartHover();
    this.onEndHover = source.getOnEndHover();
View Full Code Here

  public ControlHoverAttributes() {
  }

  public ControlHoverAttributes(final HoverType hoverType) {
    this.attributes = new Attributes(hoverType.getAttributes());
  }
View Full Code Here

  public ControlEffectAttributes() {
  }

  public ControlEffectAttributes(final Attributes attributes, final ArrayList<EffectValueType> effectValues) {
    this.attributes = new Attributes(attributes);
    this.effectValues = new ArrayList<EffectValueType>(effectValues);
    Collections.copy(this.effectValues, effectValues);
  }
View Full Code Here

  public ControlEffectOnHoverAttributes() {
  }

  public ControlEffectOnHoverAttributes(final Attributes attributes, final ArrayList<EffectValueType> effectValues, final HoverType hoverType) {
    this.attributes = new Attributes(attributes);
    this.effectValues = new ArrayList<EffectValueType>(effectValues);
    Collections.copy(this.effectValues, effectValues);
    this.controlHoverAttributes = new ControlHoverAttributes(hoverType);
  }
View Full Code Here

import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.xml.xpp3.Attributes;

public class CustomControlCreator extends ControlAttributes {
  public CustomControlCreator(final ControlType source) {
    attributes = new Attributes(source.getAttributes());
    interact = new ControlInteractAttributes(source.getInteract());
    effects = new ControlEffectsAttributes(source.getEffects());
  }
View Full Code Here

TOP

Related Classes of com.netflix.priam.aws.SDBInstanceData$Attributes

Copyright © 2018 www.massapicom. 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.