Examples of Items


Examples of com.extjs.gxt.ui.client.widget.Items

    if (singleSelect) {
      if (items.length > 0) {
        select(items[0], false);
      }
    } else {
      doSelect(new Items(items), false, false);
    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Items

      doSelect(new Items(items), false, false);
    }
  }

  public void select(T item, boolean keepExisting) {
    doSelect(new Items(item), !singleSelect && keepExisting, false);
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Items

    doSelect(new Items(item), !singleSelect && keepExisting, false);
  }

  public void selectAll() {
    if (singleSelect) {
      doSelect(new Items(0), false, false);
    } else {
      doSelect(new Items(0, container.getItemCount() - 1), false, false);
    }
  }
View Full Code Here

Examples of com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.Items

        JsonSchema prop3 = properties.get("property3");
        assertNotNull(prop3);
        assertTrue(prop3.isArraySchema());
        assertNull(prop3.getRequired());
        Items items = prop3.asArraySchema().getItems();
        assertTrue(items.isSingleItems());
        JsonSchema itemType = items.asSingleItems().getSchema();
        assertNotNull(itemType);
        assertTrue(itemType.isStringSchema());

        JsonSchema prop4 = properties.get("property4");
        assertNotNull(prop4);
        assertTrue(prop4.isArraySchema());
        assertNull(prop4.getRequired());
        items = prop4.asArraySchema().getItems();
        assertTrue(items.isSingleItems());
        itemType = items.asSingleItems().getSchema();
        assertNotNull(itemType);
        assertTrue(itemType.isNumberSchema());

        JsonSchema prop5 = properties.get("property5");
        assertNotNull(prop5);
View Full Code Here

Examples of com.google.checkout.Items

    if (LOG.isDebugEnabled()) {
      LOG.debug("Building CheckoutShoppingCart from HTTP Request");
    }
    CheckoutShoppingCart checkoutCart = new CheckoutShoppingCart();
    ShoppingCart cart = new ShoppingCart();
    Items items = new Items();
    // Start with 0
    int lineNum = 0;
    while (_request.getParameter(PARAM_ITEM_NAME + lineNum) != null
        && _request.getParameter(PARAM_ITEM_DESCRIPTION + lineNum) != null
        && _request.getParameter(PARAM_UNIT_PRICE + lineNum) != null
        && _request.getParameter(PARAM_QUANTITY + lineNum) != null) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Found items for line " + lineNum);
      }
      Item item = new Item();
      item.setItemName(_request.getParameter(PARAM_ITEM_NAME + lineNum));
      item.setItemDescription(_request
          .getParameter(PARAM_ITEM_DESCRIPTION + lineNum));
      UnitPrice price = new UnitPrice();
      price.setContent(new BigDecimal(_request
          .getParameter(PARAM_UNIT_PRICE + lineNum)));
      if (_request.getParameter(PARAM_UNIT_PRICE + lineNum + PARAM_DOT_CURRENCY) != null) {
        price.setCurrency(_request.getParameter(PARAM_UNIT_PRICE
            + lineNum + PARAM_DOT_CURRENCY));
      } else {
        price.setCurrency(USD);
      }
      item.setUnitPrice(price);
      item.setQuantity(Integer.parseInt(_request.getParameter(PARAM_QUANTITY
          + lineNum)));
      items.addItem(item);
      lineNum++;
    }
    cart.setItems(items);
    if (LOG.isDebugEnabled()) {
      LOG.debug("Added " + lineNum + " items to the cart.");
View Full Code Here

Examples of com.google.checkout.schema._2.ShoppingCart.Items

      throw new ProtocolException("itemList cannot be null");
    }
   
    // Create the <items> tag and add each item in the list to the cart
    ShoppingCart cart = _objectFact.createShoppingCart();
    Items items = _objectFact.createShoppingCartItems();
    List<Item> item_list = items.getItem();
    for (Item item : itemList) {
      item_list.add(item);
    }
   
    cart.setItems(items);
View Full Code Here

Examples of com.google.checkout.sdk.domain.ShoppingCart.Items

    CheckoutShoppingCartBuilder(CartPoster cartPoster) {
      this.cartPoster = cartPoster;
      this.shoppingCart = new ShoppingCart();
      this.hasBeenBuilt = false;
      shoppingCart.setItems(new Items());
    }
View Full Code Here

Examples of com.sun.tools.javac.jvm.Items

                                        genCrt ? new CRTable(tree, env.toplevel.endPositions)
                                               : null,
                                        syms,
                                        types,
                                        pool);
            items = new Items(pool, code, syms, types);
            if (code.debugCode)
                System.err.println(meth + " for body " + tree);

            // If method is not static, create a new local variable address
            // for `this'.
View Full Code Here

Examples of interfaceFeature.xbean.averageCase.purchaseOrder.Items

        for (int i = 0; i < LEN; i++)
        {
            it[i] = Items.Item.Factory.newInstance();
            it[i].setUSPrice(new BigDecimal("" + 2));
        }
        Items items = Items.Factory.newInstance();
        items.setItemArray(it);
        po.setItems(items);
        // System.out.println("poDoc: " + poDoc);

        int i = poDoc.getTotal();
//20 items @ $2
View Full Code Here

Examples of interfaceFeature.xbean.fixedAttrBean.purchaseOrder.Items

        for (int i = 0; i < LEN; i++)
        {
            it[i] = Items.Item.Factory.newInstance();
            it[i].setUSPrice(new BigDecimal("" + 4));
        }
        Items items = Items.Factory.newInstance();
        items.setItemArray(it);
        po.setItems(items);

        StringBuffer sb = new StringBuffer();
        sb.append("<pur:purchaseOrder xmlns:pur=\"http://xbean.interface_feature/fixedAttrBean/PurchaseOrder\">");
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.