Examples of JRibbonFrame


Examples of org.pushingpixels.flamingo.api.ribbon.JRibbonFrame

          .getProperty("lookandfeel"));
      FrameController.setLookAndFeel(lookandfeel);
      final JFrame frame;
      USE_RIBBONS_MENU = UITools.useRibbonsMenu();
      if(USE_RIBBONS_MENU) {
        frame = new JRibbonFrame("Freeplane");
        initIcons(applicationResourceController);
      }
      else {
        frame = new JFrame("Freeplane");
      }
View Full Code Here

Examples of org.pushingpixels.flamingo.api.ribbon.JRibbonFrame

    ActionMap actionMap = this.getActionMap();

    actionMap.put("toggleMinimized", new AbstractAction() {
      @Override
      public void actionPerformed(ActionEvent e) {
        JRibbonFrame ribbonFrame = (JRibbonFrame) SwingUtilities
            .getWindowAncestor(JRibbonRootPane.this);
        JRibbon ribbon = ribbonFrame.getRibbon();
        ribbon.setMinimized(!ribbon.isMinimized());
      }
    });
    inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_F1, Event.CTRL_MASK),
        "toggleMinimized");
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.