Class MainFrameHelper


  • public class MainFrameHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MainFrameHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void attachAcceleratorKey​(javax.swing.JMenuItem item, int keystroke)  
      static void attachAcceleratorKey​(javax.swing.JMenuItem item, int keystroke, int additionalMask)  
      static void attachAcceleratorKeyNoCtrl​(javax.swing.JMenuItem item, int keyEvent)  
      static boolean isMacLookAndFeel()  
      static javax.swing.JButton newButton​(java.lang.String key, java.lang.String name)  
      static javax.swing.JMenu newJMenu​(java.lang.String key, java.lang.String string)  
      static javax.swing.JMenuItem newJMenuItem​(java.lang.String key, java.lang.String string)  
      static javax.swing.JMenuItem newJMenuItem​(java.lang.String key, java.lang.String string, int vkF)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MainFrameHelper

        public MainFrameHelper()
    • Method Detail

      • newButton

        public static javax.swing.JButton newButton​(java.lang.String key,
                                                    java.lang.String name)
      • newJMenuItem

        public static javax.swing.JMenuItem newJMenuItem​(java.lang.String key,
                                                         java.lang.String string,
                                                         int vkF)
      • newJMenuItem

        public static javax.swing.JMenuItem newJMenuItem​(java.lang.String key,
                                                         java.lang.String string)
      • newJMenu

        public static javax.swing.JMenu newJMenu​(java.lang.String key,
                                                 java.lang.String string)
      • isMacLookAndFeel

        public static boolean isMacLookAndFeel()
      • attachAcceleratorKey

        public static void attachAcceleratorKey​(javax.swing.JMenuItem item,
                                                int keystroke)
      • attachAcceleratorKey

        public static void attachAcceleratorKey​(javax.swing.JMenuItem item,
                                                int keystroke,
                                                int additionalMask)
      • attachAcceleratorKeyNoCtrl

        public static void attachAcceleratorKeyNoCtrl​(javax.swing.JMenuItem item,
                                                      int keyEvent)