Examples of addItem()


Examples of com.vtence.tape.testmodel.Order.addItem()

    }

    public Order build() {
        Order order = new Order(orderNumber);
        for (Item item : items) {
            order.addItem(item);
        }
        order.paidUsing(paymentMethod);
        return order;
    }
}
View Full Code Here

Examples of com.wiquery.plugin.antilia.link.ActionsPanel.addItem()

    public EffectsPanel(String id) {
      super(id);
      ActionsPanel actions  = new ActionsPanel("actions");     
      add(actions);
     
      actions.addItem(effectSpeedPanel = new EffectSpeedPanel(actions.newChildId(), EffectSpeed.SLOW));
     
      actions.addItem(new AjaxTextLinkPanel(actions.newChildId(),"Toggle") {
       
        private static final long serialVersionUID = 1L;
View Full Code Here

Examples of com.wiquery.plugin.dynamicdrive.menu.Menubar.addItem()

        return Menubar.SLIDEMENU_CSS_BLUE;
      }
    };
    add(menubar);
   
    menubar.addItem(new ExternalLink("google", "http://www.google.com/ncr", "Google Inc"));
   
    SubMenubar subMenubar = new SubMenubar("Sub-Menu-One-1", menubar) {
      /**
       *
       */
 
View Full Code Here

Examples of com.wiquery.plugin.dynamicdrive.menu.SubMenubar.addItem()

      protected String getTitle() {
        return "Sub-Menu-One-1";
      }
    };
   
    subMenubar.addItem(new ExternalLink("dynamicdrive", "http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/","Dynamicdrive1"));
    subMenubar.addItem(new ExternalLink("dynamicdrive2", "http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/","Dynamicdrive2"));
   
    subMenubar = new SubMenubar("Two-2", menubar) {
      /**
       *
 
View Full Code Here

Examples of com.wiquery.plugin.superfish.SubMenu.addItem()

    });

    SubMenu subMenu = new SubMenu("Sub Menu 1");
    menu.addItem(subMenu);
   
    subMenu.addItem(new AjaxMenuItem("Very very very long link!") {
     
      private static final long serialVersionUID = 1L;

      @Override
      public void onClick(AjaxRequestTarget target) {
View Full Code Here

Examples of controlP5.DropdownList.addItem()

    DropdownList dropdownOutputFader = cp5.addDropdownList(name,
            35+Theme.DROPBOX_XOFS*2, 45+yPosStartDrowdown, Theme.DROPBOXLIST_LENGTH, 140);
        Theme.themeDropdownList(dropdownOutputFader);
        int i=0;
        for (FaderName fn: FaderName.values()) {
            dropdownOutputFader.addItem(fn.name(), i++);
        }
        dropdownOutputFader.setLabel(dropdownOutputFader.getItem(0).getName());       
        dropdownOutputFader.setHeight(70);

        return dropdownOutputFader;
View Full Code Here

Examples of cu.repsystestbed.data.Workflow.addItem()

    EigenTrust repAlg = (EigenTrust) ReputationAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.EigenTrust");
    RankbasedTrustAlg trustAlg = (RankbasedTrustAlg) TrustAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.RankbasedTrustAlg");
   
    // create the work flow and add the items
    Workflow workflow = new Workflow();
    workflow.addItem(feedbackHistoryGraph);
    workflow.addItem(repAlg);
    workflow.addItem(repGraph);
    workflow.addItem(trustAlg);
    workflow.addItem(trustGraph);
   
View Full Code Here

Examples of cz.cuni.mff.abacs.burglar.logics.objects.agents.Guard.addItem()

      }
    }
   
    // add the uniform:
    Uniform clothes = new Uniform(map.getNextID(), map);
    guard.addItem(clothes);
    map.addItem(clothes);
   
    if(isStunned)
      guard.daze();
   
View Full Code Here

Examples of de.lessvoid.nifty.controls.DropDown.addItem()

        }
      });

      DropDown dropDown = screen.findNiftyControl("resolutions", DropDown.class);
      for (DisplayMode mode : sorted) {
        dropDown.addItem(mode);
      }
    } catch (Exception e) {
    }
  }
View Full Code Here

Examples of de.mh4j.examples.maxknapsack.model.Knapsack.addItem()

        "Awe", 30, 10)));

    SimulatedAnnealingKnapsackSolver solver = new SimulatedAnnealingKnapsackSolver(
        knapsackCapacity, items);
    Knapsack currentSolution = new Knapsack(knapsackCapacity);
    currentSolution.addItem(items.get(3));
    currentSolution.addItem(items.get(2));
    currentSolution.addItem(items.get(1));

    solver.setInitialSolution(currentSolution);
    solver.setLogLevel(Level.TRACE);
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.