Examples of HotkeyData


Examples of com.alee.managers.hotkey.HotkeyData

        if ( value.getHotkey () != null )
        {
            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

Examples of com.alee.managers.hotkey.HotkeyData

     * @return hotkey data
     */
    public static HotkeyData getHotkeyData ( final KeyStroke keyStroke )
    {
        final int m = keyStroke.getModifiers ();
        return new HotkeyData ( isCtrl ( m ), isAlt ( m ), isShift ( m ), keyStroke.getKeyCode () );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

        updateFieldText ();
    }

    public HotkeyData getHotkeyData ()
    {
        HotkeyData hd = new HotkeyData ();
        hd.setKeyCode ( getKeyCode () );
        hd.setCtrl ( isCtrl () );
        hd.setAlt ( isAlt () );
        hd.setShift ( isShift () );
        return hd;
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

     * Proxified kotkey manager methods
     */

    public HotkeyInfo addHotkey ( final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

        return addHotkey ( new HotkeyData ( keyCode ) );
    }

    public HotkeyInfo addHotkey ( final boolean isCtrl, final boolean isAlt, final boolean isShift, final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( isCtrl, isAlt, isShift, keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

     * Proxified kotkey manager methods
     */

    public HotkeyInfo addHotkey ( final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

        return addHotkey ( new HotkeyData ( keyCode ) );
    }

    public HotkeyInfo addHotkey ( final boolean isCtrl, final boolean isAlt, final boolean isShift, final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( isCtrl, isAlt, isShift, keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

     * Proxified kotkey manager methods
     */

    public HotkeyInfo addHotkey ( final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

        return addHotkey ( new HotkeyData ( keyCode ) );
    }

    public HotkeyInfo addHotkey ( final boolean isCtrl, final boolean isAlt, final boolean isShift, final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( isCtrl, isAlt, isShift, keyCode ) );
    }
View Full Code Here

Examples of com.alee.managers.hotkey.HotkeyData

     * Proxified kotkey manager methods
     */

    public HotkeyInfo addHotkey ( final Integer keyCode )
    {
        return addHotkey ( new HotkeyData ( keyCode ) );
    }
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.