Examples of ListDataModel


Examples of org.beryl.gui.model.ListDataModel

            && dataModel.getValue("name") != null
            && !((String) dataModel.getValue("name")).trim().equals(""));
      }
    });

    ListDataModel events = new ListDataModel();
    List list = object.widget.getWidgetInfo().getEventEntries();

    for (int i = 0; i < list.size(); i++) {
      events.addValue(list.get(i));
    }
   
    ((ComboBox) dialog.getWidget("EventCombo")).setListDataModel(events);

    if (list.size() > 0) {
View Full Code Here

Examples of org.jboss.seam.jsf.ListDataModel

    */
   public DataModel getDataModel(Object value)
   {
      if (value instanceof List)
      {
         return new ListDataModel( (List) value );
      }
      else if (value instanceof Object[])
      {
         return new ArrayDataModel( (Object[]) value );
      }
View Full Code Here

Examples of org.richfaces.model.impl.ListDataModel

  public void testCreateDataModel() {
   
   
   
   
    ListDataModel l = new ListDataModel(Collections.singletonList("aaaa"));
    table.setValue(l);
    ExtendedDataModel model = table.createDataModel();
   
    assertTrue(model instanceof DataModelCache);
   
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.