Package com.alkacon.acacia.client

Examples of com.alkacon.acacia.client.ChoiceMenuEntryBean


     */
    private void initButtons() {

        m_addButton.addChoice(
            m_attributeHandler.getWidgetService(),
            new ChoiceMenuEntryBean(m_attributeHandler.getAttributeName()),
            new AsyncCallback<ChoiceMenuEntryBean>() {

                public void onFailure(Throwable caught) {

                    // will not be called
View Full Code Here


     */
    private void initButtons() {

        m_addButton.addChoice(
            m_handler.getWidgetService(),
            new ChoiceMenuEntryBean(m_handler.getAttributeName()),
            new AsyncCallback<ChoiceMenuEntryBean>() {

                public void onFailure(Throwable caught) {

                    // will not be called
View Full Code Here

     *
     * @param entryWidget the entry widget whose children should be added to the submenu
     */
    protected void addSubmenu(ChoiceMenuEntryWidget entryWidget) {

        ChoiceMenuEntryBean menuEntry = entryWidget.getEntryBean();
        AsyncCallback<ChoiceMenuEntryBean> selectHandler = entryWidget.getSelectHandler();
        AttributeChoiceWidget choiceWidget = entryWidget.getAttributeChoiceWidget();
        ChoiceSubmenu submenu = new ChoiceSubmenu(menuEntry);
        submenu.positionDeferred(entryWidget);
        choiceWidget.getSubmenuPanel().add(submenu);
        m_submenus.add(submenu);
        for (ChoiceMenuEntryBean subEntry : menuEntry.getChildren()) {
            submenu.addChoice(createMenuEntryWidget(
                entryWidget.getWidgetService(),
                subEntry,
                selectHandler,
                choiceWidget,
View Full Code Here

    protected void onMouseover(ChoiceMenuEntryWidget entryWidget) {

        m_mouseoutTimer.cancel();

        cleanUpSubmenus(entryWidget);
        ChoiceMenuEntryBean entryBean = entryWidget.getEntryBean();
        if (!entryBean.isLeaf()) {
            addSubmenu(entryWidget);
        }
    }
View Full Code Here

TOP

Related Classes of com.alkacon.acacia.client.ChoiceMenuEntryBean

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.