* Creates the table with one row
* which has the locator and the user info in it
*/
private static MarlinBean _sCreateLocatorUserInfoTable()
{
MarlinBean table = new MarlinBean(TABLE_LAYOUT_NAME);
table.setAttributeValue(WIDTH_ATTR, "100%");
MarlinBean row = new MarlinBean(ROW_LAYOUT_NAME);
table.addIndexedChild(row);
// add cells to the row:
// add a cell with the locator child
MarlinBean locatorCell = new MarlinBean(CELL_FORMAT_NAME);
locatorCell.addIndexedChild(
ContextPoppingUINode.getUINode(LOCATION_CHILD));
row.addIndexedChild(locatorCell);
// figure out if the locator region should be rendered
// add a cell with some horizontal space
MarlinBean spacerCell = new MarlinBean(CELL_FORMAT_NAME);
MarlinBean spacer = new MarlinBean(SPACER_NAME);
spacer.setAttributeValue(WIDTH_ATTR, "5");
spacer.setAttributeValue(HEIGHT_ATTR, "1");
spacerCell.addIndexedChild(spacer);
row.addIndexedChild(spacerCell);
// add a cell with the user info child
MarlinBean userInfoCell = _sCreateUserInfoCell();
row.addIndexedChild(userInfoCell);
return table;
}