Package org.gwtoolbox.widget.client.menu

Examples of org.gwtoolbox.widget.client.menu.MenuItemBase


        DOM.setStyleAttribute(label.getElement(), "marginTop", "150px");

        final CheckBox checkBox = new CheckBox("Disable Option 2");
        checkBox.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
            public void onValueChange(ValueChangeEvent<Boolean> event) {
                MenuItemBase item = contextMenu.getMenu().getItem("Options.option2");
                item.setEnabled(!event.getValue());
            }
        });
        main.add(checkBox);

View Full Code Here

TOP

Related Classes of org.gwtoolbox.widget.client.menu.MenuItemBase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.