Examples of addBand()


Examples of net.sf.jasperreports.engine.design.JRDesignSection.addBand()

  }
 
  protected JRSection wrapBand(JRBand band, JROrigin origin)
  {
    JRDesignSection section = new JRDesignSection(origin);
    section.addBand(band);
    return section;
  }
 
  public JRBand getBackground()
  {
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignSection.addBand()

      return null;
    }
   
    JROrigin origin = new JROrigin(null, getName(), bandType);
    JRDesignSection section = new JRDesignSection(origin);
    section.addBand(band);
    return section;
  }
 
  public JRSection getGroupFooterSection()
  {
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignSection.addBand()

        headerBand.setHeight(headerHeight);
        templateDesign.setColumnHeader(headerBand);

        JRDesignBand detailBand = new JRDesignBand();
        detailBand.setHeight(detailHeight);
        detailSection.addBand(detailBand);

        final int columnWidth;
        final int numColumns = columns.size();
        if (columns.isEmpty()) {
            columnWidth = templateDesign.getPageWidth();
View Full Code Here

Examples of org.geotools.image.ImageWorker.addBand()

                            ImageLayout.SAMPLE_MODEL_MASK);
                    RenderedImage alpha = ConstantDescriptor.create(
                            Float.valueOf(image.getWidth()), Float.valueOf(image.getHeight()),
                            new Byte[] { Byte.valueOf((byte) 255) }, new RenderingHints(
                                    JAI.KEY_IMAGE_LAYOUT, tempLayout));
                    iw.addBand(alpha, false);
                    image = iw.getRenderedImage();
                    cm = image.getColorModel();
                }
                File storedImageFile = storeImage(image, tempFolder);
                location = storedImageFile.getAbsolutePath();
View Full Code Here

Examples of org.geotools.image.ImageWorker.addBand()

                return returnValues.get(0);
            } else {
                // we return a multiband coverage that uses the original ones as sources
                final ImageWorker worker= new ImageWorker(returnValues.get(0).getRenderedImage());
                for(int i=1;i<size;i++){
                    worker.addBand(returnValues.get(i).getRenderedImage(), false);
                }
                final GridSampleDimension sds[]= new GridSampleDimension[size];
                Arrays.fill(sds, returnValues.get(0).getSampleDimensions()[0]);
                return new GridCoverageFactory().create(
                        "result",
View Full Code Here

Examples of org.jvnet.flamingo.ribbon.RibbonTask.addBand()

 
  protected void createFileRibbonMenu(JRibbon ribbon){
    RibbonTask fileTask = new RibbonTask();
    JRibbonBand fileBand;
    if((fileBand = getFileBand()) != null) {
      fileTask.addBand(fileBand);
    }
   
    JRibbonBand editBand;
    if((editBand = getEditBand()) != null) {
      fileTask.addBand(editBand);
View Full Code Here

Examples of org.jvnet.flamingo.ribbon.RibbonTask.addBand()

      fileTask.addBand(fileBand);
    }
   
    JRibbonBand editBand;
    if((editBand = getEditBand()) != null) {
      fileTask.addBand(editBand);
    }
   
    JRibbonBand simulationBand;
    if((simulationBand = getSimulationBand()) != null) {
      fileTask.addBand(simulationBand);
View Full Code Here

Examples of org.jvnet.flamingo.ribbon.RibbonTask.addBand()

      fileTask.addBand(editBand);
    }
   
    JRibbonBand simulationBand;
    if((simulationBand = getSimulationBand()) != null) {
      fileTask.addBand(simulationBand);
    }
   
    JRibbonBand helpBand;
    if((helpBand = getHelpBand()) != null) {
      fileTask.addBand(helpBand);
View Full Code Here

Examples of org.jvnet.flamingo.ribbon.RibbonTask.addBand()

      fileTask.addBand(simulationBand);
    }
   
    JRibbonBand helpBand;
    if((helpBand = getHelpBand()) != null) {
      fileTask.addBand(helpBand);
    }
   
    ribbon.addTask(GlobalContext.getLocalizedMessage("pd.menu.file", "File"),
        fileTask);
    ribbon.add(new JSeparator(JSeparator.VERTICAL));
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.