Examples of addItem()


Examples of freenet.client.Metadata.SimpleManifestComposer.addItem()

        if (m == null) throw new NullPointerException("HERE!!");
      } else {
        m = ((PutHandler)item).metadata;
        if (m == null) throw new NullPointerException("HERE!!" +item);
      }
      smc.addItem(name, m);
    }
    return smc.getMetadata();
  }

  /**
 
View Full Code Here

Examples of getfacts.ConfigurationItems.addItem()

        // title
        output.setUserTitle(title);
       
        // url
        ConfigurationItem urlItem = new TextFieldItem(CFG_URL_KEY, url);
        output.addItem(urlItem);
       
        // String xpathToFrontPageTitle
        ConfigurationItem xp_fp_title = new TextFieldItem(CFG_XP_FRONTPAGE_TITLE_KEY, xpathToFrontPageTitle);
        output.addItem(xp_fp_title);
       
View Full Code Here

Examples of gld.sim.stats.tracks.JAXBStatisticsUtils.addItem()

        for (int j = 0; j < lanes.length; j++) {
          Drivelane drivelane = lanes[j];
          Drivelane.DrivelaneStatistics dls = drivelane.getStatistics();

          Track track = su.makeNewTrack(Integer.toString(drivelane.getId()),dls.getAvgNumberRUWaiting());
          su.addItem(track);
          drivelane.initStats();         
        }
      } catch (InfraException e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of gov.nist.checklists.xccdf.x12.ProfileSetComplexValueType.addItem()

      if (values.isEmpty()) {
        setValue.setNil();
      } else {
        for (String item : values) {
          setValue.addItem(item);
        }
      }
    } else {
      ProfileSetValueType setValue = data.addNewSetValue();
      setValue.setIdref(value.getId());
View Full Code Here

Examples of hermes.browser.model.ClasspathConfigTableModel.addItem()

    {
        ClasspathConfigTableModel toModel = parentModel.getChildModel(target);

        try
        {
            toModel.addItem(HermesBrowser.getConfigDAO().duplicate(config));
        }
        catch (JAXBException e)
        {
            HermesBrowser.getBrowser().showErrorDialog(e);
        }
View Full Code Here

Examples of java.awt.Choice.addItem()

        b.addItemListener(this);
        b.setForeground(Color.black);
        target.setForeground(b.getForeground());
        Choice shapes = new Choice();
        shapes.addItemListener(this);
        shapes.addItem("Lines");
        shapes.addItem("Points");
        shapes.setBackground(Color.lightGray);
        add(shapes);
    }
View Full Code Here

Examples of java.awt.peer.ChoicePeer.addItem()

          NullPointerException("cannot add null item to Choice");
  }
  pItems.insertElementAt(item, index);
  ChoicePeer peer = (ChoicePeer)this.peer;
  if (peer != null) {
      peer.addItem(item, index);
  }
  // no selection or selection shifted up
  if (selectedIndex < 0 || selectedIndex >= index) {
      select(0);
  }
View Full Code Here

Examples of java.awt.peer.ListPeer.addItem()

      items.insertElementAt(item, index);
  }

  ListPeer peer = (ListPeer)this.peer;
  if (peer != null) {
      peer.addItem(item, index);
  }
    }

    /**
     * Replaces the item at the specified index in the scrolling list
View Full Code Here

Examples of java.awt.peer.MenuPeer.addItem()

      items.addElement(mi);
      mi.parent = this;
      MenuPeer peer = (MenuPeer)this.peer;
      if (peer != null) {
          mi.addNotify();
    peer.addItem(mi);
      }
      return mi;
  }
    }
View Full Code Here

Examples of javax.swing.JComboBox.addItem()

    }
   
    public static final JComboBox getHashTypeComboBox() {
        JComboBox cb = getComboBox();
        for (Object o : JacksumAPI.getAvailableAlgorithms().keySet()) {
            cb.addItem(o);
        }
        return cb;
    }

    public static final JComboBox getFontRenderingCombo() {
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.