Examples of addElement()


Examples of net.sf.jasperreports.engine.base.JRBasePrintPage.addElement()

    JRPrintLine line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider());
    line.setX(40);
    line.setY(50);
    line.setWidth(515);
    line.setHeight(0);
    page.addElement(line);
   
    JRPrintImage image = new JRBasePrintImage(jasperPrint.getDefaultStyleProvider());
    image.setX(45);
    image.setY(55);
    image.setWidth(165);
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignBand.addElement()

        throw new JRRuntimeException("Uknown child type "
            + childClone.getClass().getName());
      }
    }
   
    groupFooter.addElement(footerFrame);
    ((JRDesignSection) summaryGroup.getGroupFooterSection()).addBand(groupFooter);
   
    mainDataset.addScriptlet(TABLE_SCRIPTLET_NAME, TableReportScriptlet.class);
    mainDataset.addFirstGroup(summaryGroup);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignElementGroup.addElement()

      {
        band.setHeight(element.getHeight() + element.getY());
      }
     
      JRDesignElementGroup rowGroup = getRowElementGroup(rowLevel);
      rowGroup.addElement(element);
    }
   
    JRDesignElementGroup getRowElementGroup(int rowLevel)
    {
      int rowCount = rowGroups.size();
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignFrame.addElement()

    {
      JRChild child = (JRChild) iterator.next();
      JRChild childClone = (JRChild) child.clone(footerFrame);
      if (childClone instanceof JRElement)
      {
        footerFrame.addElement((JRElement) childClone);
      }
      else if (childClone instanceof JRElementGroup)
      {
        footerFrame.addElementGroup((JRElementGroup) childClone);
      }
View Full Code Here

Examples of net.sf.jasperreports.engine.fill.JRTemplatePrintFrame.addElement()

    if (elements != null)
    {
      for (Iterator it = elements.iterator(); it.hasNext();)
      {
        JRPrintElement element = (JRPrintElement) it.next();
        printFrame.addElement(element);
      }
    }
   
    return printFrame;
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.mssql.util.DatabaseObjectInfoTableModel.addElement()

        /* we must iterate through this in descending order to avoid removing, say, item #2, making
         * item #4 into item #3, inadvertently removing item #5. */
        for (int i = selectedRows.length - 1; i >= 0 ; i--) {
            IDatabaseObjectInfo oi = (IDatabaseObjectInfo) fromModel.getValueAt(selectedRows[i],0);
            if (fromModel.removeElement(oi))
                toModel.addElement(oi);
        }
       
        /* TODO: sort the list. */
    }
   
View Full Code Here

Examples of net.xoetrope.html.XComboBox.addElement()

    }
   
    public void addItemCombo() {
        XEdit edit = (XEdit)findComponent( obj, "edit" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        combo.addElement( edit.getText() );
    }
   
    public void removeItemCombo() {
        XComboBox combo = (XComboBox)findComponent( obj, "combo" );
        combo.deleteElement( combo.getSelectedIndex() + 1 );
View Full Code Here

Examples of nixonftp.list.NXDefaultListModel.addElement()

  public void setFilters(NXFilter[] filters) {
    if (filters == null) return;
    NXDefaultListModel lm = (NXDefaultListModel) list.getModel();
    for (int x = 0; x < filters.length; x++) {
      lm.addElement(filters[x]);
    }
    list.setModel(lm);
  }
 
  public void itemStateChanged(ItemEvent e) {
View Full Code Here

Examples of opennlp.tools.formats.ad.ADParagraphStream.ParagraphParser.Node.addElement()

                && element.getLevel() > 0 && element.getLevel() <= nodeStack.peek().getLevel()) {
              nodeStack.pop();
            }
            if( element.isLeaf() ) {
              if (nodeStack.isEmpty()) {
                root.addElement(element);
              } else {
                // look for the node with the correct level
                Node peek = nodeStack.peek();
                if (element.level == 0) { // add to the root
                  nodeStack.firstElement().addElement(element);
View Full Code Here

Examples of opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node.addElement()

                && element.getLevel() > 0 && element.getLevel() <= nodeStack.peek().getLevel()) {
              nodeStack.pop();
            }
            if( element.isLeaf() ) {
              if (nodeStack.isEmpty()) {
                root.addElement(element);
              } else {
                // look for the node with the correct level
                Node peek = nodeStack.peek();
                if (element.level == 0) { // add to the root
                  nodeStack.firstElement().addElement(element);
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.