Package org.pentaho.reporting.designer.core.model

Examples of org.pentaho.reporting.designer.core.model.CachedLayoutData


    long maxY = Long.MIN_VALUE;
    for (int j = 0; j < objects.length; j++)
    {
      final Element object = objects[j];
      final CachedLayoutData data = ModelUtility.getCachedLayoutData(object);
      final long l = data.getY() + data.getHeight();
      if (l > maxY)
      {
        maxY = l;
      }
    }

    for (int j = 0; j < objects.length; j++)
    {
      final Element object = objects[j];
      final CachedLayoutData data = ModelUtility.getCachedLayoutData(object);
      final long l = data.getY() + data.getHeight();
      final long delta = maxY - l;
      if (delta == 0)
      {
        continue;
      }
View Full Code Here


    long maxX = Long.MIN_VALUE;
    for (int j = 0; j < objects.length; j++)
    {
      final Element object = objects[j];
      final CachedLayoutData data = ModelUtility.getCachedLayoutData(object);
      final long x1 = data.getX();
      final long x2 = x1 + data.getWidth();
      if (x2 > maxX)
      {
        maxX = x2;
      }
    }

    for (int j = 0; j < objects.length; j++)
    {
      final Element object = objects[j];
      final CachedLayoutData data = ModelUtility.getCachedLayoutData(object);
      final long elementCenter = data.getX() + data.getWidth();
      final long delta = maxX - elementCenter;
      if (delta == 0)
      {
        continue;
      }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.model.CachedLayoutData

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.