Package com.google.gwt.layout.client

Examples of com.google.gwt.layout.client.LayerFriend


    Scheduler.get().scheduleDeferred(new ScheduledCommand() {

      @Override
      public void execute() {
        Layer layer = (Layout.Layer) widget.getLayoutData();
        LayerFriend helper = new LayerFriend(layer);

        assertEquals("Top", expectedLayerProperties.getTop(), helper.getTop());
        assertEquals("Right", expectedLayerProperties.getRight(),
            helper.getRight());
        assertEquals("Bottom", expectedLayerProperties.getBottom(),
            helper.getBottom());
        assertEquals("Left", expectedLayerProperties.getLeft(),
            helper.getLeft());
        assertEquals("Height", expectedLayerProperties.getHeight(),
            helper.getHeight());
        assertEquals("Width", expectedLayerProperties.getWidth(),
            helper.getWidth());

        assertEquals("Top Units", expectedLayerProperties.getTopUnit(),
            helper.getTopUnit());
        assertEquals("Right Units", expectedLayerProperties.getRightUnit(),
            helper.getRightUnit());
        assertEquals("Bottom Units", expectedLayerProperties.getBottomUnit(),
            helper.getBottomUnit());
        assertEquals("Left Units", expectedLayerProperties.getLeftUnit(),
            helper.getLeftUnit());
        assertEquals("Height Units", expectedLayerProperties.getHeightUnit(),
            helper.getHeightUnit());
        assertEquals("Width Units", expectedLayerProperties.getWidthUnit(),
            helper.getWidthUnit());
        finishTest();
      }
    });
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.layout.client.LayerFriend

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.