Tabnine Logo
ResourceBundleSupport.getKeyStroke
Code IndexAdd Tabnine to your IDE (free)

How to use
getKeyStroke
method
in
org.jfree.util.ResourceBundleSupport

Best Java code snippets using org.jfree.util.ResourceBundleSupport.getKeyStroke (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Returns the keystroke stored at the given resourcebundle key.
 * <p/>
 * The keystroke will be composed of a simple key press and the plattform's
 * MenuKeyMask.
 * <p/>
 * The keystrokes character key should be either the symbolic name of one of
 * the KeyEvent.VK_* constants or the character for that key.
 * <p/>
 * For the 'A' key, the resource bundle would therefore either contain
 * "VK_A" or "a".
 * <pre>
 * a.resourcebundle.key=VK_A
 * an.other.resourcebundle.key=a
 * </pre>
 *
 * @param key the resourcebundle key
 * @return the mnemonic
 * @see Toolkit#getMenuShortcutKeyMask()
 */
public KeyStroke getKeyStroke(final String key)
{
 return getKeyStroke(key, getMenuKeyMask());
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the keystroke stored at the given resourcebundle key.
 * <p/>
 * The keystroke will be composed of a simple key press and the plattform's
 * MenuKeyMask.
 * <p/>
 * The keystrokes character key should be either the symbolic name of one of
 * the KeyEvent.VK_* constants or the character for that key.
 * <p/>
 * For the 'A' key, the resource bundle would therefore either contain
 * "VK_A" or "a".
 * <pre>
 * a.resourcebundle.key=VK_A
 * an.other.resourcebundle.key=a
 * </pre>
 *
 * @param key the resourcebundle key
 * @return the mnemonic
 * @see Toolkit#getMenuShortcutKeyMask()
 */
public KeyStroke getKeyStroke(final String key)
{
 return getKeyStroke(key, getMenuKeyMask());
}
origin: org.jfree/jcommon

/**
 * Returns the keystroke stored at the given resourcebundle key.
 * <p>
 * The keystroke will be composed of a simple key press and the platform's
 * MenuKeyMask.</p>
 * <p>
 * The keystrokes character key should be either the symbolic name of one of
 * the KeyEvent.VK_* constants or the character for that key.</p>
 * <p>
 * For the 'A' key, the resource bundle would therefore either contain
 * "VK_A" or "a".</p>
 * <pre>
 * a.resourcebundle.key=VK_A
 * an.other.resourcebundle.key=a
 * </pre>
 *
 * @param key the resourcebundle key
 * @return the mnemonic
 * @see Toolkit#getMenuShortcutKeyMask()
 */
public KeyStroke getKeyStroke(final String key)
{
 return getKeyStroke(key, getMenuKeyMask());
}
org.jfree.utilResourceBundleSupportgetKeyStroke

Javadoc

Returns the keystroke stored at the given resourcebundle key.

The keystroke will be composed of a simple key press and the plattform's MenuKeyMask.

The keystrokes character key should be either the symbolic name of one of the KeyEvent.VK_* constants or the character for that key.

For the 'A' key, the resource bundle would therefore either contain "VK_A" or "a".

 
a.resourcebundle.key=VK_A 
an.other.resourcebundle.key=a 

Popular methods of ResourceBundleSupport

  • createIcon
    Attempts to load an image from classpath. If this fails, an empty image icon is returned.
  • createMnemonic
    Creates the Mnemonic from the given String. The String consists of the name of the VK constants of t
  • createTransparentImage
    Creates a transparent image. These can be used for aligning menu items.
  • formatMessage
    Formats the message stored in the resource bundle (using a MessageFormat).
  • getLocale
    Returns the current locale for this resource bundle.
  • getMenuKeyMask
    Returns the plattforms default menu shortcut keymask.
  • getMnemonic
    Returns the mnemonic stored at the given resourcebundle key. The mnemonic should be either the symbo
  • getOptionalKeyStroke
    Returns an optional key stroke.
  • getResourceBase
    The base name of the resource bundle.
  • getString
    Gets a string for the given key from this resource bundle or one of its parents. If the key is a lin
  • internalGetString
    Performs the lookup for the given key. If the key points to a link the link is resolved and that key
  • internalGetString

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • startActivity (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now