Examples of Length


Examples of org.pentaho.reporting.engine.classic.wizard.model.Length

    if (source != null)
    {
      attList.setAttribute(WizardCoreModule.NAMESPACE, "source", source);
    }

    final Length x = rootBandDefinition.getX();
    if (x != null)
    {
      attList.setAttribute(WizardCoreModule.NAMESPACE, "x", x.toString());
    }
    final Length y = rootBandDefinition.getY();
    if (y != null)
    {
      attList.setAttribute(WizardCoreModule.NAMESPACE, "y", y.toString());
    }
    final Length width= rootBandDefinition.getWidth();
    if (width != null)
    {
      attList.setAttribute(WizardCoreModule.NAMESPACE, "width", width.toString());
    }
    final Length height = rootBandDefinition.getX();
    if (height != null)
    {
      attList.setAttribute(WizardCoreModule.NAMESPACE, "height", height.toString());
    }

    final boolean visible = rootBandDefinition.isVisible();
    attList.setAttribute(WizardCoreModule.NAMESPACE, "visible", String.valueOf(visible));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.model.Length

    final Float[] widthSpecs = new Float[detailFieldDefinitions.length];
    for (int i = 0; i < detailFieldDefinitions.length; i++)
    {
      final DetailFieldDefinition fieldDefinition = detailFieldDefinitions[i];
      final Length length = fieldDefinition.getWidth();
      if (length == null)
      {
        continue;
      }
      widthSpecs[i] = length.getNormalizedValue();
    }
    final float[] computedWidth =
        AutoGeneratorUtility.computeFieldWidths(widthSpecs, definition.getPageDefinition().getWidth());

View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.model.Length

    final Float[] widthSpecs = new Float[detailFieldDefinitions.length];
    for (int i = 0; i < detailFieldDefinitions.length; i++)
    {
      final DetailFieldDefinition fieldDefinition = detailFieldDefinitions[i];
      final Length length = fieldDefinition.getWidth();
      if (length == null)
      {
        continue;
      }
      widthSpecs[i] = length.getNormalizedValue();
    }
    final float[] computedWidth =
        AutoGeneratorUtility.computeFieldWidths(widthSpecs, definition.getPageDefinition().getWidth());

    itemBand.getStyle().setStyleProperty(BandStyleKeys.LAYOUT, "row");
View Full Code Here

Examples of org.renjin.compiler.ir.tac.expressions.Length

    IRLabel exitLabel = factory.newLabel();
      
    // initialize the counter
    factory.addStatement(new Assignment(counter, new Constant(0)));
    factory.addStatement(new Assignment(length,
        new Length((Expression)vector)));

    // check the counter and potentially loop
    factory.addLabel(counterLabel);
    factory.addStatement(new IfStatement(new CmpGE(counter, length), exitLabel, bodyLabel));
   
View Full Code Here

Examples of org.springmodules.validation.bean.conf.loader.annotation.handler.Length

        int min = 0;
        int max = 0;
        String applyIfValang = null;

        if (a instanceof Length) {
            Length annotation = (Length) a;
            errMsg = messages.getMessage(annotation.errorCode(), annotation.message());
            min = annotation.min();
            max = annotation.max();
            applyIfValang = valangToJS(annotation.applyIf());
        } else if (a instanceof Size) {
            Size annotation = (Size) a;
            errMsg = messages.getMessage(annotation.errorCode(), annotation.message());
            min = annotation.min();
            max = annotation.max();
            applyIfValang = valangToJS(annotation.applyIf());
        }

        StringBuffer sb = new StringBuffer();
        sb.append(" function() {return this.between(this.lengthOf(this.getPropertyValue(");
        sb.append(wrapAndEscapeJsString(field));// field
View Full Code Here

Examples of org.xhtmlrenderer.css.style.Length

        }
       
        private void initWidths() {
            _widths = new ArrayList(_table.numEffCols());
            for (int i = 0; i < _table.numEffCols(); i++) {
                _widths.add(new Length());
            }
        }
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.