LayoutInfo layout = panel.getLayout();
// check association
assertInstanceOf(ImplicitObjectAssociation.class, layout.getAssociation());
// check creation support
{
ImplicitLayoutCreationSupport creationSupport =
(ImplicitLayoutCreationSupport) layout.getCreationSupport();
assertEquals(panel.getCreationSupport().getNode(), creationSupport.getNode());
assertEquals(
"implicit-layout: com.gwtext.client.widgets.layout.RowLayout",
creationSupport.toString());
// validation
assertFalse(creationSupport.canReorder());
assertFalse(creationSupport.canReparent());
// no clipboard
assertNull(creationSupport.getImplicitClipboard());
}
// check variable
{
ImplicitLayoutVariableSupport variableSupport =
(ImplicitLayoutVariableSupport) layout.getVariableSupport();