Examples of FinishedRenderNode


Examples of org.pentaho.reporting.engine.classic.core.layout.model.FinishedRenderNode

  {
    node.setCachedY(computeVerticalCanvasPosition(node));

    if (node.getNodeType() == LayoutNodeTypes.TYPE_NODE_FINISHEDNODE)
    {
      final FinishedRenderNode fnode = (FinishedRenderNode) node;
      node.setCachedHeight(fnode.getLayoutedHeight());
    }
    else
    {
      node.setCachedHeight(0);
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.FinishedRenderNode

    node.setCachedY(computeVerticalRowPosition(node));

    final int type = node.getNodeType();
    if (type == LayoutNodeTypes.TYPE_NODE_FINISHEDNODE)
    {
      final FinishedRenderNode fnode = (FinishedRenderNode) node;
      node.setCachedHeight(fnode.getLayoutedHeight());
    }
    else if ((type & LayoutNodeTypes.MASK_BOX_INLINE) == LayoutNodeTypes.MASK_BOX_INLINE)
    {
      throw new IllegalStateException("A Inline-Box must be contained in a paragraph.");
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.FinishedRenderNode

      b = new StringBuilder();
      for (int i = 0; i < level; i++)
      {
        b.append("   ");
      }
      final FinishedRenderNode fn = (FinishedRenderNode) node;
      b.append("layouted-y=");
      b.append(fn.getLayoutedY());
      b.append(", layouted-width=");
      b.append(fn.getLayoutedWidth());
      b.append(", layouted-height=");
      b.append(fn.getLayoutedHeight());
      b.append(", orphan-leaf=");
      b.append(fn.isOrphanLeaf());
      print(b.toString());
    }

    if (node instanceof RenderableText)
    {
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.