Package org.gwtoolbox.widget.client.menu.item

Examples of org.gwtoolbox.widget.client.menu.item.RadioMenuItem


            public void selectionChanged(SelectionMenuItem item) {
                Window.alert("'" + item.getKey() + "' was selected");
            }
        };

        RadioMenuItem radio = new RadioMenuItem("1", "Option 1", false);
        radio.addListener(listener);
        radio.setGroup("options");
        radiosMenu.addItem(radio);

        radio = new RadioMenuItem("2", "Option 2", false);
        radio.addListener(listener);
        radio.setGroup("options");
        radiosMenu.addItem(radio);

        radio = new RadioMenuItem("3", "Option 3", false);
        radio.addListener(listener);
        radio.setGroup("options");
        radiosMenu.addItem(radio);

        miscMenu.addItem("Radios", radiosMenu);

View Full Code Here

TOP

Related Classes of org.gwtoolbox.widget.client.menu.item.RadioMenuItem

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.