Examples of update()


Examples of org.pdfclown.documents.contents.Resources.update()

    // No font resources collection?
    if(fonts == null)
    {
      // Create the font resources collection!
      fonts = new FontResources(scanner.getContents().getDocument());
      resources.setFonts(fonts); resources.update();
    }
    // Get the key associated to the font!
    PdfName name = fonts.getBaseDataObject().getKey(value.getBaseObject());
    // No key found?
    if(name == null)
View Full Code Here

Examples of org.pdfclown.documents.contents.XObjectResources.update()

      // Insert the external object within the resources!
      int xObjectIndex = xObjects.size();
      do
      {name = new PdfName(String.valueOf(++xObjectIndex));}
      while(xObjects.containsKey(name));
      xObjects.put(name,value); xObjects.update();
    }

    return name;
  }
View Full Code Here

Examples of org.pentaho.platform.api.engine.IConfiguration.update()

        new PropertiesFileConfiguration( "test", new File( "test-res/SystemConfig/system/test.properties" ) );
    systemConfig.registerConfiguration( c );
    IConfiguration configuration = systemConfig.getConfiguration( "test" );
    Properties props = configuration.getProperties();
    props.setProperty( "someProperty", "new value" );
    configuration.update( props );

    FileSystemXmlApplicationContext context =
        new FileSystemXmlApplicationContext( "test-res/SystemConfig/system/testPropertyPlaceholders.spring.xml" );
    context.refresh();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.report.drag.MoveDragOperation.update()

      final MassElementStyleUndoEntryBuilder builder = new MassElementStyleUndoEntryBuilder(selectedElements);
      final MoveDragOperation mop = new MoveDragOperation(selectedElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);

      if (keyCode == KeyEvent.VK_UP)
      {
        mop.update(new Point(0, -1), 1);
      }
      else if (keyCode == KeyEvent.VK_DOWN)
      {
        mop.update(new Point(0, 1), 1);
      }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.WrapperExpressionRuntime.update()

      return originalChart;
    }

    final LegacyDataRowWrapper legacyDataRowWrapper = new LegacyDataRowWrapper();
    final WrapperExpressionRuntime runtimeWrapper = new WrapperExpressionRuntime();
    runtimeWrapper.update(null, getRuntime());
    legacyDataRowWrapper.setParent(getDataRow());
    try
    {
      final BSFManager interpreter = new BSFManager();
      interpreter.declareBean("chart", originalChart, JFreeChart.class); //$NON-NLS-1$
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.table.TableCellRenderBox.update()

        final InstanceID rowHeader = crosstabLayout.getRowHeader(i - crosstabLayout.getFirstRowGroupIndex());
        final RenderNode cell = CrosstabOutputHelper.findNode(rowRenderNode, rowHeader);
        if (cell instanceof TableCellRenderBox)
        {
          final TableCellRenderBox cellBox = (TableCellRenderBox) cell;
          cellBox.update(cellBox.getRowSpan() + 1, cellBox.getColSpan());
        }
        else
        {
          throw new IllegalStateException("Unable to find previously defined row header. Aborting report processing.");
        }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.KeyedComboBoxModel.update()

        {
          return;
        }

        inUpdate = true;
        model.update(itemIndex, getQuery(), getQueryName());
      }
      finally
      {
        inUpdate = false;
      }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableLayoutProducer.update()

  protected void processPaginationContent(final LogicalPageKey logicalPageKey, final LogicalPageBox logicalPage)
      throws ContentProcessingException
  {
    final TableLayoutProducer tableLayoutProducer = new TableLayoutProducer(metaData);
    tableLayoutProducer.update(logicalPage, false);
    final SheetLayout layout = tableLayoutProducer.getLayout();
    final TableContentProducer tcp = new TableContentProducer(layout, metaData);
    tcp.compute(logicalPage, false);
    try
    {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.parameters.DefaultParameterContext.update()

      this.reportParameterValues = new ReportParameterValues(report.getParameterValues());
    }

    parameterComponents = new ArrayList<ParameterComponent>();
    // we are using a very simple model here (for now).
    parameterContext.update(report);
    parameterContext.update(this.reportParameterValues);

    validator = parameterDefinition.getValidator();

    final ParameterDefinitionEntry[] entries = parameterDefinition.getParameterDefinitions();
View Full Code Here

Examples of org.pentaho.reporting.libraries.fonts.registry.BaselineInfo.update()

    info.setBaseline(BaselineInfo.CENTRAL, maxAscent / 2);
    info.setBaseline(BaselineInfo.HANGING, maxAscent - getXHeight());
    info.setDominantBaseline(BaselineInfo.ALPHABETIC);

    final BaselineInfo cached = new BaselineInfo();
    cached.update(info);
    cachedBaselineInfo = cached;
    return info;
  }

  public BaseFont getBaseFont()
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.