Package org.pentaho.reporting.engine.classic.core.util

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID


    this.cache = new LFUMap(500);
  }

  public BoxDefinition getBoxDefinition(final StyleSheet es)
  {
    final InstanceID id = es.getId();
    final CacheKey key = new CacheKey(id, es.getClass().getName());
    final CacheCarrier cc = (CacheCarrier) cache.get(key);
    if (cc == null)
    {
      final BoxDefinition boxDefinition = createBoxDefinition(es);
View Full Code Here


    this.watermarkArea = new WatermarkAreaBox();
    this.watermarkArea.setName("Logical-Page-Watermark-Area");
    this.watermarkArea.setLogicalPage(this);

    final BlockRenderBox contentArea = new BlockRenderBox
        (SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY, new MasterReportType(),
            report.getAttributes(), null);
    contentArea.setName("Logical-Page-Content-Area");
    addChild(contentArea);
    contentAreaId = contentArea.getInstanceId();
    this.pageGrid = new DefaultPageGrid(report.getPageDefinition());
View Full Code Here

public class BlockRenderBox extends RenderBox
{
  public BlockRenderBox(final StyleSheet styleSheet)
  {
    super(RenderNode.VERTICAL_AXIS, RenderNode.HORIZONTAL_AXIS,
        styleSheet, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

  }

  public BlockRenderBox()
  {
    super(RenderNode.VERTICAL_AXIS, RenderNode.HORIZONTAL_AXIS,
        SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

        pageBox.setPageOffset(nextOffset);

        final long shift = cleanPaginatedBoxesStep.compute(pageBox);
        if (shift > 0)
        {
          final InstanceID shiftNode = cleanPaginatedBoxesStep.getShiftNode();
          applyPageShiftValuesStep.compute(pageBox, shift, shiftNode);
        }

        if (pageBreak.isNextPageContainsContent())
        {
View Full Code Here

public class InlineRenderBox extends RenderBox
{
  public InlineRenderBox()
  {
    super(RenderNode.HORIZONTAL_AXIS, RenderNode.VERTICAL_AXIS,
        SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

  private boolean isNonVisualsChanged()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      final Long dataSourceChangeTracker = parent.getDatasourceChangeTracker();
      if (dataSourceChangeTracker.equals(dataFactoryChangeTrackers.get(id)) == false)
      {
        return true;
      }
View Full Code Here

  private boolean isDataFactoryChanged()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      final Long dataSourceChangeTracker = parent.getDatasourceChangeTracker();
      if (dataSourceChangeTracker.equals(dataFactoryChangeTrackers.get(id)) == false)
      {
        return true;
      }
View Full Code Here

  private void updateChangeTrackers()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      dataFactoryChangeTrackers.put(id, parent.getDatasourceChangeTracker());
      nonVisualChangeTrackers.put(id, parent.getNonVisualsChangeTracker());

      final Section parentSection = parent.getParentSection();
      if (parentSection == null)
View Full Code Here

  private RenderableReplacedContent content;

  public RenderableReplacedContentBox(final RenderableReplacedContent content)
  {
    super(RenderNode.VERTICAL_AXIS, RenderNode.HORIZONTAL_AXIS,
        SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
    if (content == null)
    {
      throw new NullPointerException();
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.util.InstanceID

Copyright © 2018 www.massapicom. 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.