Package org.pushingpixels.flamingo.api.ribbon

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


          .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


    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

Related Classes of org.pushingpixels.flamingo.api.ribbon.JRibbonFrame$RibbonFrameLayout

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.