Package com.alee.managers.hotkey

Examples of com.alee.managers.hotkey.HotkeyInfo


                    final JRootPane rootPane = WebLookAndFeelDemo.this.getRootPane ();
                    final WebCustomTooltip searchTip = TooltipManager
                            .showOneTimeTooltip ( rootPane, new Point ( rootPane.getWidth () / 2, 0 ), SlidingSearch.searchIcon,
                                    "You can quickly navigate through components using search (Ctrl+F)", TooltipWay.down );

                    final HotkeyInfo searchTipHide = HotkeyManager.registerHotkey ( Hotkey.CTRL_F, new HotkeyRunnable ()
                    {
                        @Override
                        public void run ( final KeyEvent e )
                        {
                            searchTip.closeTooltip ();
View Full Code Here


        {
            final KeyStroke keyStroke = KeyStroke.getKeyStroke ( value.getHotkey () );
            if ( keyStroke != null )
            {
                final HotkeyData hotkeyData = SwingUtils.getHotkeyData ( keyStroke );
                final HotkeyInfo hotkeyInfo = HotkeyManager.registerHotkey ( c, hotkeyData );
                cacheHotkey ( c, hotkeyInfo );
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.alee.managers.hotkey.HotkeyInfo

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.