Package org.pentaho.reporting.libraries.base.util

Examples of org.pentaho.reporting.libraries.base.util.FloatDimension


    b.getStyle().setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(10));

    TextFieldElementFactory textFieldFactory = new TextFieldElementFactory();
    textFieldFactory.setFieldname("office.Name");
    textFieldFactory.setAbsolutePosition(new Point2D.Float(0, 0));
    textFieldFactory.setMinimumSize(new FloatDimension(200, 12));
    b.addElement(textFieldFactory.createElement());

    textFieldFactory = new TextFieldElementFactory();
    textFieldFactory.setFieldname("office.Annotations");
    textFieldFactory.setAbsolutePosition(new Point2D.Float(200, 0));
    textFieldFactory.setMinimumSize(new FloatDimension(-100, 12));
    textFieldFactory.setDynamicHeight(Boolean.TRUE);
    b.addElement(textFieldFactory.createElement());

    report.getItemBand().addElement(b);
View Full Code Here


  {
    if (borderRadiusWidth == null || borderRadiusHeight == null)
    {
      return null;
    }
    return new FloatDimension(borderRadiusWidth.floatValue(), borderRadiusHeight.floatValue());
  }
View Full Code Here

  {
    if (borderBottomLeftRadiusWidth == null || borderBottomLeftRadiusHeight == null)
    {
      return null;
    }
    return new FloatDimension(borderBottomLeftRadiusWidth.floatValue(), borderBottomLeftRadiusHeight.floatValue());
  }
View Full Code Here

  {
    if (borderBottomRightRadiusWidth == null || borderBottomRightRadiusHeight == null)
    {
      return null;
    }
    return new FloatDimension(borderBottomRightRadiusWidth.floatValue(), borderBottomRightRadiusHeight.floatValue());
  }
View Full Code Here

  {
    if (borderTopLeftRadiusWidth == null || borderTopLeftRadiusHeight == null)
    {
      return null;
    }
    return new FloatDimension(borderTopLeftRadiusWidth.floatValue(), borderTopLeftRadiusHeight.floatValue());
  }
View Full Code Here

  {
    if (borderTopRightRadiusWidth == null || borderTopRightRadiusHeight == null)
    {
      return null;
    }
    return new FloatDimension(borderTopRightRadiusWidth.floatValue(), borderTopRightRadiusHeight.floatValue());
  }
View Full Code Here

    {
      return null;
    }
    if (minimumWidth == null)
    {
      return new FloatDimension(0, minimumHeight.floatValue());
    }
    if (minimumHeight == null)
    {
      return new FloatDimension(minimumWidth.floatValue(), 0);
    }
    return new FloatDimension(minimumWidth.floatValue(), minimumHeight.floatValue());
  }
View Full Code Here

    {
      return null;
    }
    if (maximumWidth == null)
    {
      return new FloatDimension(0, maximumHeight.floatValue());
    }
    if (maximumHeight == null)
    {
      return new FloatDimension(maximumWidth.floatValue(), 0);
    }
    return new FloatDimension(maximumWidth.floatValue(), maximumHeight.floatValue());
  }
View Full Code Here

    {
      return null;
    }
    if (width == null)
    {
      return new FloatDimension(0, height.floatValue());
    }
    if (height == null)
    {
      return new FloatDimension(width.floatValue(), 0);
    }
    return new FloatDimension(width.floatValue(), height.floatValue());
  }
View Full Code Here

    b.getStyle().setStyleProperty(TextStyleKeys.FONT, "SansSerif");
    b.getStyle().setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(12));

    LabelElementFactory labelFactory = new LabelElementFactory();
    labelFactory.setAbsolutePosition(new Point2D.Float(0, 0));
    labelFactory.setMinimumSize(new FloatDimension(200, 15));
    labelFactory.setText("Preferred Lunch Meals");
    b.addElement(labelFactory.createElement());

    labelFactory = new LabelElementFactory();
    labelFactory.setAbsolutePosition(new Point2D.Float(200, 0));
    labelFactory.setMinimumSize(new FloatDimension(-100, 15));
    labelFactory.setText("Rating");
    b.addElement(labelFactory.createElement());

    b.addElement(HorizontalLineElementFactory.createHorizontalLine
        (15, null, new BasicStroke(1)));
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.base.util.FloatDimension

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.