Package org.jfree.layouting.renderer.process.valign

Examples of org.jfree.layouting.renderer.process.valign.BoxAlignContext


      return false;
    }

    if (box instanceof InlineRenderBox)
    {
      breakState.openContext(new BoxAlignContext(box));
      return true;
    }

    breakState.getCurrentLine().addChild(new InlineBlockAlignContext(box));
    breakState.setSuspendItem(box.getInstanceId());
View Full Code Here


    if (breakState.isSuspended())
    {
      return;
    }

    breakState.openContext(new BoxAlignContext(box));
  }
View Full Code Here

    if (breakState == null || breakState.isSuspended())
    {
      return;
    }

    final BoxAlignContext boxAlignContext = breakState.closeContext();


    // This aligns all direct childs. Once that is finished, we have to
    // check, whether possibly existing inner-paragraphs are still valid
    // or whether moving them violated any of the inner-pagebreak constraints.
View Full Code Here

    public void openContext (final BoxAlignContext context)
    {
      if (contexts.isEmpty() == false)
      {
        final BoxAlignContext boxAlignContext =
            (BoxAlignContext) contexts.peek();
        boxAlignContext.addChild(context);
      }
      contexts.push (context);
    }
View Full Code Here

      return false;
    }

    if (box instanceof InlineRenderBox)
    {
      breakState.openContext(new BoxAlignContext(box));
      return true;
    }

    breakState.getCurrentLine().addChild(new InlineBlockAlignContext(box));
    breakState.setSuspendItem(box.getInstanceId());
View Full Code Here

    if (breakState.isSuspended())
    {
      return;
    }

    breakState.openContext(new BoxAlignContext(box));
  }
View Full Code Here

    if (breakState == null || breakState.isSuspended())
    {
      return;
    }

    final BoxAlignContext boxAlignContext = breakState.closeContext();


    // This aligns all direct childs. Once that is finished, we have to
    // check, whether possibly existing inner-paragraphs are still valid
    // or whether moving them violated any of the inner-pagebreak constraints.
View Full Code Here

    public void openContext (final BoxAlignContext context)
    {
      if (contexts.isEmpty() == false)
      {
        final BoxAlignContext boxAlignContext =
            (BoxAlignContext) contexts.peek();
        boxAlignContext.addChild(context);
      }
      contexts.push (context);
    }
View Full Code Here

      return false;
    }

    if (box instanceof InlineRenderBox)
    {
      breakState.openContext(new BoxAlignContext(box));
      return true;
    }

    breakState.getCurrentLine().addChild(new InlineBlockAlignContext(box));
    breakState.setSuspendItem(box.getInstanceId());
View Full Code Here

    if (breakState.isSuspended())
    {
      return;
    }

    breakState.openContext(new BoxAlignContext(box));
  }
View Full Code Here

TOP

Related Classes of org.jfree.layouting.renderer.process.valign.BoxAlignContext

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.