Examples of Fixed


Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    return this;
  }

  /** Sets the minWidth and minHeight to the specified value. */
  public Cell<T> minSize (float size) {
    minSize(new Fixed(size));
    return this;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    return this;
  }

  /** Sets the minWidth and minHeight to the specified values. */
  public Cell<T> minSize (float width, float height) {
    minSize(new Fixed(width));
    return this;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    minSize(new Fixed(width));
    return this;
  }

  public Cell<T> minWidth (float minWidth) {
    this.minWidth = new Fixed(minWidth);
    return this;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    this.minWidth = new Fixed(minWidth);
    return this;
  }

  public Cell<T> minHeight (float minHeight) {
    this.minHeight = new Fixed(minHeight);
    return this;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    return this;
  }

  /** Sets the prefWidth and prefHeight to the specified value. */
  public Cell<T> prefSize (float width, float height) {
    prefSize(new Fixed(width));
    return this;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

    return this;
  }

  /** Sets the prefWidth and prefHeight to the specified values. */
  public Cell<T> prefSize (float size) {
    prefSize(new Fixed(size));
    return this;
  }
View Full Code Here

Examples of com.hp.hpl.jena.graph.query.QueryNode.Fixed

    public QueryNode createAny()
        { return new Any(); }
   
    @Override
    public QueryNode createFixed( Node n )
        { return new Fixed( n ); }
View Full Code Here

Examples of com.prupe.mcpatcher.ctm.TileOverrideImpl$Fixed

        if (!method.equals("default") && !method.equals("glass") && !method.equals("ctm")) {
          if (method.equals("random")) {
            override = new TileOverrideImpl$Random1(propertiesFile, properties, tileLoader);

            if (((TileOverride)override).getNumberOfTiles() == 1) {
              override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
            }
          } else if (!method.equals("fixed") && !method.equals("static")) {
            if (!method.equals("bookshelf") && !method.equals("horizontal")) {
              if (!method.equals("horizontal+vertical") && !method.equals("h+v")) {
                if (method.equals("vertical")) {
                  override = new TileOverrideImpl$Vertical(propertiesFile, properties, tileLoader);
                } else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
                  if (!method.equals("sandstone") && !method.equals("top")) {
                    if (!method.equals("repeat") && !method.equals("pattern")) {
                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
                      override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
              override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
            }
          } else {
            override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
          }
        } else {
          override = new TileOverrideImpl$CTM(propertiesFile, properties, tileLoader);
        }
View Full Code Here

Examples of com.puppetlabs.xtext.textflow.CharSequences.Fixed

  @Test
  public void test_TextLinewrap() {
    // default is 132 characters before a wrap and 0 wrap indent
    MeasuredTextFlow flow = this.getInjector().getInstance(TextFlow.class);
    Fixed stars = new CharSequences.Fixed('*', 22);
    for(int i = 0; i < 24; i++) {
      flow.appendText(stars);
      flow.appendSpaces(0);
    }
    assertEquals(4, flow.getHeight());
View Full Code Here

Examples of org.apache.avro.generic.GenericData.Fixed

      return datum.toString(); // To workaround AvroUTF8
      // This also gets us around the Enum issue since we just take the value
      // and convert it to a string. Yay!
    case BINARY:
      if (recordSchema.getType() == Type.FIXED){
        Fixed fixed = (Fixed) datum;
        return fixed.bytes();
      } else if (recordSchema.getType() == Type.BYTES){
        return AvroSerdeUtils.getBytesFromByteBuffer((ByteBuffer) datum);
      } else {
        throw new AvroSerdeException("Unexpected Avro schema for Binary TypeInfo: " + recordSchema.getType());
      }
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.