Package de.poxenter.pxclass.gui

Examples of de.poxenter.pxclass.gui.PXElasticConstraints


  public PXElasticConstraintsCreationTest(String name) {
    super(name);
  }

  public void testDefaultConstructor() {
    PXElasticConstraints constraints = new PXElasticConstraints();
    assertEquals("gridX has not been initialized correctly!",
                 0, constraints.gridX);
    assertEquals("gridY has not been initialized correctly!",
                 0, constraints.gridY);
    assertEquals("gridWidth has not been initialized correctly!",
View Full Code Here


    assertNull("insets has not been initialized correctly!",
               constraints.insets);
  }

  public void testMediumConstructor() {
    PXElasticConstraints constraints =
      new PXElasticConstraints(1, 2,
                               1.0, 2.0,
                               3.0, 4.0,
                               PXElasticConstraints.EAST,
                               PXElasticConstraints.HORIZONTAL);
    assertEquals("gridX has not been initialized correctly!",
View Full Code Here

    assertNull("insets has not been initialized correctly!",
               constraints.insets);
  }

  public void testFullConstructor() {
    PXElasticConstraints constraints =
      new PXElasticConstraints(2, 4,
                               3, 5,
                               2.0, 5.0,
                               6.0, 9.0,
                               PXElasticConstraints.SOUTHWEST,
                               PXElasticConstraints.AS_STRETCH_X_AND_Y,
View Full Code Here

TOP

Related Classes of de.poxenter.pxclass.gui.PXElasticConstraints

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.