Java Swing Key Action getSystemHelpKey()

Here you can find the source of getSystemHelpKey()

Description

get key that initiates help system

License

Open Source License

Declaration

static public KeyStroke getSystemHelpKey() 

Method Source Code

//package com.java2s;
/*//from ww  w . j a v a  2s  . co  m
 * IRIS -- Intelligent Roadway Information System
 * Copyright (C) 2009-2014  Minnesota Department of Transportation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

import java.awt.event.KeyEvent;

import javax.swing.KeyStroke;

public class Main {
    /** get key that initiates help system */
    static public KeyStroke getSystemHelpKey() {
        return KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0);
    }
}

Related

  1. getKeystroke(int keyevent)
  2. getKeyStrokeCopy()
  3. getKeyStrokeRepresentation(KeyStroke ks)
  4. getKeyStrokeText(KeyStroke ks)
  5. getPrettyStringFor(KeyStroke keyStroke)
  6. getTypePanel(final ActionListener typeListener)
  7. handleSliderAdjustmentViaKey(KeyEvent e)
  8. initButton(String text, String actionKey, int shortcutKey, int modifiers, JComponent component, AbstractAction action)
  9. installCloseKey(final RootPaneContainer c)