//
// command_BOUNDS
//
////////////////////////////////////////////////////////////////////////////
public void test_BOUNDS_setLocation_materialize() throws Exception {
LayoutContainerInfo container =
parseJavaInfo(
"public class Test extends LayoutContainer {",
" public Test() {",
" setLayout(new AbsoluteLayout());",
" {",
" Button button = new Button();",
" add(button);",
" }",
" }",
"}");
container.refresh();
AbsoluteLayoutInfo layout = (AbsoluteLayoutInfo) container.getLayout();
WidgetInfo button = container.getWidgets().get(0);
// set location
layout.command_BOUNDS(button, new Point(1, 2), null);
assertEditor(
"public class Test extends LayoutContainer {",
" public Test() {",