Examples of FixedValue


Examples of com.esotericsoftware.tablelayout.Value.FixedValue

    return (L)this;
  }

  /** Padding at the top edge of the table. */
  public L padTop (float padTop) {
    this.padTop = new FixedValue(padTop);
    sizeInvalid = true;
    return (L)this;
  }
View Full Code Here

Examples of com.esotericsoftware.tablelayout.Value.FixedValue

    return (L)this;
  }

  /** Padding at the left edge of the table. */
  public L padLeft (float padLeft) {
    this.padLeft = new FixedValue(padLeft);
    sizeInvalid = true;
    return (L)this;
  }
View Full Code Here

Examples of com.esotericsoftware.tablelayout.Value.FixedValue

    return (L)this;
  }

  /** Padding at the bottom edge of the table. */
  public L padBottom (float padBottom) {
    this.padBottom = new FixedValue(padBottom);
    sizeInvalid = true;
    return (L)this;
  }
View Full Code Here

Examples of com.esotericsoftware.tablelayout.Value.FixedValue

    return (L)this;
  }

  /** Padding at the right edge of the table. */
  public L padRight (float padRight) {
    this.padRight = new FixedValue(padRight);
    sizeInvalid = true;
    return (L)this;
  }
View Full Code Here

Examples of net.sf.cglib.proxy.FixedValue

  public static BeanInterface createCglibBean() {
    Enhancer enhancer = new Enhancer();
    enhancer.setClassLoader( BeanInterface.class.getClassLoader() );
    enhancer.setInterfaces( new Class[] { BeanInterface.class } );
    enhancer.setCallbackFilter( new InterfaceMethodFilter() );
    enhancer.setCallbacks( new Callback[] { new FixedValue()
        {
          public Object loadObject() throws Exception {

            return "Hello, World!";
          }
View Full Code Here

Examples of org.activiti.engine.impl.el.FixedValue

  protected void validateFieldDeclarationsForShell(Element serviceTaskElement, List<FieldDeclaration> fieldDeclarations) {
    boolean shellCommandDefined = false;

    for (FieldDeclaration fieldDeclaration : fieldDeclarations) {
      String fieldName = fieldDeclaration.getName();
      FixedValue fieldFixedValue = (FixedValue) fieldDeclaration.getValue();
      String fieldValue = fieldFixedValue.getExpressionText();

      shellCommandDefined |= fieldName.equals("command");

      if ((fieldName.equals("wait") || fieldName.equals("redirectError") || fieldName.equals("cleanEnv")) && !fieldValue.toLowerCase().equals("true")
              && !fieldValue.toLowerCase().equals("false")) {
View Full Code Here

Examples of org.activiti.engine.impl.el.FixedValue

  protected FieldDeclaration parseStringFieldDeclaration(Element fieldDeclarationElement, Element serviceTaskElement, String fieldName) {
    try {
      String fieldValue = getStringValueFromAttributeOrElement("stringValue", "string", fieldDeclarationElement);
      if (fieldValue != null) {
        return new FieldDeclaration(fieldName, Expression.class.getName(), new FixedValue(fieldValue));
      }
    } catch (ActivitiException ae) {
      if (ae.getMessage().contains("multiple elements with tag name")) {
        addError("Multiple string field declarations found", serviceTaskElement);
      } else {
View Full Code Here

Examples of org.activiti.engine.impl.el.FixedValue

      if (StringUtils.isNotEmpty(fieldExtension.getExpression())) {
        fieldDeclaration = new FieldDeclaration(fieldExtension.getFieldName(), Expression.class.getName(),
            expressionManager.createExpression(fieldExtension.getExpression()));
      } else {
        fieldDeclaration = new FieldDeclaration(fieldExtension.getFieldName(), Expression.class.getName(),
            new FixedValue(fieldExtension.getStringValue()));
      }
     
      fieldDeclarations.add(fieldDeclaration);
    }
    return fieldDeclarations;
View Full Code Here

Examples of org.activiti.engine.impl.el.FixedValue

  }

  private ClassDelegate createNoOpServiceTask(ServiceTask serviceTask) {
    List<FieldDeclaration> fieldDeclarations = new ArrayList<FieldDeclaration>();
    fieldDeclarations.add(new FieldDeclaration("name",
        Expression.class.getName(), new FixedValue(serviceTask.getImplementation())));
    return new ClassDelegate(NoOpServiceTask.class, fieldDeclarations);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.el.FixedValue

  protected void validateFieldDeclarationsForShell(Element serviceTaskElement, List<FieldDeclaration> fieldDeclarations) {
    boolean shellCommandDefined = false;

    for (FieldDeclaration fieldDeclaration : fieldDeclarations) {
      String fieldName = fieldDeclaration.getName();
      FixedValue fieldFixedValue = (FixedValue) fieldDeclaration.getValue();
      String fieldValue = fieldFixedValue.getExpressionText();

      shellCommandDefined |= fieldName.equals("command");

      if ((fieldName.equals("wait") || fieldName.equals("redirectError") || fieldName.equals("cleanEnv")) && !fieldValue.toLowerCase().equals("true")
              && !fieldValue.toLowerCase().equals("false")) {
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.