Package com.google.gdt.eclipse.designer.gwtext.model.widgets

Examples of com.google.gdt.eclipse.designer.gwtext.model.widgets.HTMLPanelInfo


    assertHierarchy(
        "{this: com.gwtext.client.widgets.Panel} {this} {/setLayout(new RowLayout())/ /add(htmlPanel)/}",
        "  {new: com.gwtext.client.widgets.layout.RowLayout} {empty} {/setLayout(new RowLayout())/}",
        "  {new: com.gwtext.client.widgets.HTMLPanel} {local-unique: htmlPanel} {/new HTMLPanel('my HTML', 10)/ /add(htmlPanel)/}",
        "    {virtual-layout_data: com.gwtext.client.widgets.layout.RowLayoutData} {virtual-layout-data} {}");
    HTMLPanelInfo htmlPanel = (HTMLPanelInfo) panel.getChildrenWidgets().get(0);
    // check properties
    assertEquals("my HTML", htmlPanel.getPropertyByTitle("html").getValue());
    assertEquals(10, htmlPanel.getPropertyByTitle("paddings").getValue());
  }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.gwtext.model.widgets.HTMLPanelInfo

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.