//represent
final ButtonGroup obButtonGroup = new ButtonGroup();
//represent
final DropDownMenu objDropDownMenu = new DropDownMenu();
//represent
final AnchorListItem objAnchorListItem1 = new AnchorListItem("Item One");
final AnchorListItem objAnchorListItem2 = new AnchorListItem("Item two");
final AnchorListItem objAnchorListItem3 = new AnchorListItem("Item three");
objDropDownMenu.add(objAnchorListItem1);
objDropDownMenu.add(objAnchorListItem2);
objDropDownMenu.add(objAnchorListItem3);
final Button siddhuButton1 = new Button("Siddhu1");
siddhuButton1.setDataToggle(org.gwtbootstrap3.client.ui.constants.Toggle.DROPDOWN);
//Adding all button in and menu in Group
obButtonGroup.add(objDropDownMenu);
obButtonGroup.add(siddhuButton1);
No comments:
Post a Comment