Package com.rapleaf.jack.test_project.database_1.models

Examples of com.rapleaf.jack.test_project.database_1.models.Image$Attributes


    IUserPersistence users = dbs.getDatabase1().users();
    long t0 = System.currentTimeMillis();
    long t1 = t0 + 10;
    long t2 = t0 + 20;
    byte[] someBinary = new byte[]{5, 4, 3, 2, 1};
    User bryand = users.create("bryand", t0, 5, t1, t2, "this is a relatively long string", someBinary, 1.2d, 3.4d, true);
    verifyCreatedUser(users, t0, t1, t2, someBinary, bryand);
  }
View Full Code Here


  public Set<Image> findByUserId(final Integer value) throws IOException {
    return find(new HashMap<Enum, Object>(){{put(Image._Fields.user_id, value);}});
  }

  public ImageQueryBuilder query() {
    return new ImageQueryBuilder(this);
  }
View Full Code Here

  public Set<Post> findByUpdatedAt(final Long value) throws IOException {
    return find(new HashMap<Enum, Object>(){{put(Post._Fields.updated_at, value);}});
  }

  public PostQueryBuilder query() {
    return new PostQueryBuilder(this);
  }
View Full Code Here

  public Set<User> findBySomeBoolean(final Boolean value) throws IOException {
    return find(new HashMap<Enum, Object>(){{put(User._Fields.some_boolean, value);}});
  }

  public UserQueryBuilder query() {
    return new UserQueryBuilder(this);
  }
View Full Code Here

  public RemoveStandardAttributes(final Attributes controlAttributesParam) {
    controlAttributes = controlAttributesParam;
  }

  public Attributes removeStandard() {
    Attributes attributes = new Attributes(controlAttributes);
    attributes.remove("id");
    attributes.remove("height");
    attributes.remove("width");
    attributes.remove("x");
    attributes.remove("y");
    attributes.remove("align");
    attributes.remove("valign");
    attributes.remove("paddingLeft");
    attributes.remove("paddingRight");
    attributes.remove("paddingTop");
    attributes.remove("paddingBottom");
    attributes.remove("padding");
    attributes.remove("childClip");
    attributes.remove("visible");
    attributes.remove("visibleToMouse");
    attributes.remove("childLayout");
    attributes.remove("focusable");
    attributes.remove("filename");
    attributes.remove("filter");
    attributes.remove("imageMode");
    attributes.remove("inset");
    attributes.remove("backgroundColor");
    attributes.remove("backgroundImage");
    attributes.remove("font");
    attributes.remove("textHAlign");
    attributes.remove("textVAlign");
    attributes.remove("color");
    attributes.remove("selectionColor");
    attributes.remove("name");
    return attributes;
  }
View Full Code Here

  public void materialize(
      final Nifty nifty,
      final Element element,
      final Screen screen,
      final LinkedList < Object > controllers) {
    Attributes attributes = getAttributes();
    initEffect(EffectEventId.onStartScreen, onStartScreen, element, nifty, screen, attributes, controllers);
    initEffect(EffectEventId.onEndScreen, onEndScreen, element, nifty, screen, attributes, controllers);
    initEffect(EffectEventId.onHover, onHover, element, nifty, screen, attributes, controllers);
    initEffect(EffectEventId.onStartHover, onStartHover, element, nifty, screen, attributes, controllers);
    initEffect(EffectEventId.onEndHover, onEndHover, element, nifty, screen, attributes, controllers);
View Full Code Here

  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

TOP

Related Classes of com.rapleaf.jack.test_project.database_1.models.Image$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.