Package org.pushingpixels.flamingo.internal.ui.ribbon.appmenu

Examples of org.pushingpixels.flamingo.internal.ui.ribbon.appmenu.JRibbonApplicationMenuPopupPanel


                .defaultManager().getShownPath();
            if (popups.size() > 0) {
              PopupPanelManager.PopupInfo lastPopup = popups
                  .get(popups.size() - 1);
              if (lastPopup.getPopupPanel() instanceof JRibbonApplicationMenuPopupPanel) {
                JRibbonApplicationMenuPopupPanel appMenuPopupPanel = (JRibbonApplicationMenuPopupPanel) lastPopup
                    .getPopupPanel();
                KeyTipManager.KeyTipChain currentlyShownKeyTipChain = KeyTipManager
                    .defaultManager()
                    .getCurrentlyShownKeyTipChain();
                if ((currentlyShownKeyTipChain != null)
                    && (currentlyShownKeyTipChain.chainParentComponent == appMenuPopupPanel
                        .getPanelLevel2()))
                  return;
              }
            }
            PopupPanelManager.defaultManager().hideLastPopup();
View Full Code Here


                .defaultManager().getShownPath();
            if (popups.size() > 0) {
              PopupPanelManager.PopupInfo lastPopup = popups
                  .get(popups.size() - 1);
              if (lastPopup.getPopupPanel() instanceof JRibbonApplicationMenuPopupPanel) {
                JRibbonApplicationMenuPopupPanel appMenuPopupPanel = (JRibbonApplicationMenuPopupPanel) lastPopup
                    .getPopupPanel();
                KeyTipManager.KeyTipChain currentlyShownKeyTipChain = KeyTipManager
                    .defaultManager()
                    .getCurrentlyShownKeyTipChain();
                if ((currentlyShownKeyTipChain != null)
                    && (currentlyShownKeyTipChain.chainParentComponent == appMenuPopupPanel
                        .getPanelLevel2()))
                  return;
              }
            }
            PopupPanelManager.defaultManager().hideLastPopup();
View Full Code Here

            PopupInfo last = popups.get(popups.size() - 1);
            // if (last.getPopupOriginator() == cb) {
            JPopupPanel popupPanel = last.getPopupPanel();
            // special case - application menu
            if (popupPanel instanceof JRibbonApplicationMenuPopupPanel) {
              JRibbonApplicationMenuPopupPanel appMenuPopupPanel = (JRibbonApplicationMenuPopupPanel) popupPanel;
              // check whether there are entries at level 2
              JPanel level1 = appMenuPopupPanel.getPanelLevel1();
              JPanel level2 = appMenuPopupPanel.getPanelLevel2();
              if (level2.getComponentCount() > 0) {
                KeyTipChain chain = new KeyTipChain(level2);
                populateChain(level2, chain);
                chain.parent = link.traversal;
                return chain;
View Full Code Here

TOP

Related Classes of org.pushingpixels.flamingo.internal.ui.ribbon.appmenu.JRibbonApplicationMenuPopupPanel

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.