Understanding widgets
MBWidget
Div
Void setFreezeChildren(Boolean freezeChildren);
boolean isFreezeChildren();Div div = new Div();
div.setFreezeChildren(true);
div.setWidth(200);
div.setHeight(100);
div.borders(true);
div.setBorderColor(Color.decode("#057dcd"));
Div childDiv1 = new Div();
childDiv1.setWidth(div.getWidth() / 2);
childDiv1.setHeight(90);
childDiv1.borders(true);
childDiv1.setBorderColor(Color.decode("#464646"));
div.appendChild(childDiv1);
Div childDiv2 = new Div();
childDiv2.setWidthPercentage(50);
childDiv2.setHeight(90);
childDiv2.borders(true);
childDiv2.setMarginLeft(childDiv1.getWidth());
childDiv2.setBorderColor(Color.decode("#464646"));
div.appendChild(childDiv2);
page.addWidget(div);Table
DataTable
FormPanel
Image
TextBox
BorderProps
ColorPros
FontPros
PageCounter
Header
Footer
Last updated