Examples of PopupInfo


Examples of at.riemers.zero.base.controller.PopupInfo

            if (captionKey != null) {
                c = messages.getMessage(captionKey, null, locale);
            }
        }

        PopupInfo info = new PopupInfo(c, type, alignId, align1, align2, cancelAction);
        Call call = new Call("v2js_" + template);
        call.setPopupInfo(info);
        call.setRemote(remote);
        view.addCall(call);
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.popup.PopupPanelManager.PopupInfo

          // collect key tips of all controls in the relevant popup
          // panel
          List<PopupInfo> popups = PopupPanelManager.defaultManager()
              .getShownPath();
          if (popups.size() > 0) {
            PopupInfo last = popups.get(popups.size() - 1);
            if (last.getPopupOriginator() == appMenuButton) {
              JPopupPanel popupPanel = last.getPopupPanel();
              KeyTipChain chain = new KeyTipChain(popupPanel);
              chain.parent = appMenuButtonLink.traversal;
              populateChain(last.getPopupPanel(), chain);
              // popupPanel.putClientProperty(KEYTIP_MANAGER,
              // KeyTipManager.this);
              return chain;
            }
          }
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.popup.PopupPanelManager.PopupInfo

            // collect key tips of all controls in the relevant
            // popup panel
            List<PopupInfo> popups = PopupPanelManager
                .defaultManager().getShownPath();
            if (popups.size() > 0) {
              PopupInfo last = popups.get(popups.size() - 1);
              JPopupPanel popupPanel = last.getPopupPanel();
              KeyTipChain chain = new KeyTipChain(popupPanel);
              populateChain(last.getPopupPanel(), chain);
              chain.parent = link.traversal;
              return chain;
            }
            return null;
          }
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.popup.PopupPanelManager.PopupInfo

          // collect key tips of all controls in the relevant popup
          // panel
          List<PopupInfo> popups = PopupPanelManager.defaultManager()
              .getShownPath();
          if (popups.size() > 0) {
            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;
              } else {
                KeyTipChain chain = new KeyTipChain(level1);
                populateChain(level1, chain);
                chain.parent = link.traversal;
                return chain;
              }
            } else {
              KeyTipChain chain = new KeyTipChain(popupPanel);
              populateChain(last.getPopupPanel(), chain);
              chain.parent = link.traversal;
              return chain;
            }
            // popupPanel.putClientProperty(KEYTIP_MANAGER,
            // KeyTipManager.this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.