Codota Logo
DowngradeActionMap.remove
Code IndexAdd Codota to your IDE (free)

How to use
remove
method
in
org.jfree.ui.action.DowngradeActionMap

Best Java code snippets using org.jfree.ui.action.DowngradeActionMap.remove (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.jfree/jcommon

/**
 * Adds a binding for <code>key</code> to <code>action</code>.
 * If <code>action</code> is null, this removes the current binding
 * for <code>key</code>.
 * <p>In most instances, <code>key</code> will be
 * <code>action.getValue(NAME)</code>.
 *
 * @param key the key for the action.
 * @param action the action to be added.
 */
public void put(final Object key, final Action action) {
  if (action == null) {
    remove(key);
  }
  else {
    if (this.actionMap.containsKey(key)) {
      remove(key);
    }
    this.actionMap.put(key, action);
    this.actionList.add (key);
  }
}
origin: jfree/jcommon

/**
 * Adds a binding for <code>key</code> to <code>action</code>.
 * If <code>action</code> is null, this removes the current binding
 * for <code>key</code>.
 * <p>In most instances, <code>key</code> will be
 * <code>action.getValue(NAME)</code>.
 *
 * @param key the key for the action.
 * @param action the action to be added.
 */
public void put(final Object key, final Action action) {
  if (action == null) {
    remove(key);
  }
  else {
    if (this.actionMap.containsKey(key)) {
      remove(key);
    }
    this.actionMap.put(key, action);
    this.actionList.add (key);
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Adds a binding for <code>key</code> to <code>action</code>.
 * If <code>action</code> is null, this removes the current binding
 * for <code>key</code>.
 * <p>In most instances, <code>key</code> will be
 * <code>action.getValue(NAME)</code>.
 *
 * @param key the key for the action.
 * @param action the action to be added.
 */
public void put(final Object key, final Action action) {
  if (action == null) {
    remove(key);
  }
  else {
    if (this.actionMap.containsKey(key)) {
      remove(key);
    }
    this.actionMap.put(key, action);
    this.actionList.add (key);
  }
}
org.jfree.ui.actionDowngradeActionMapremove

Javadoc

Removes the binding for key from this ActionMap.

Popular methods of DowngradeActionMap

  • allKeys
    Returns an array of the keys defined in this ActionMap and its parent. This method differs from keys
  • get
    Returns the binding for key, messaging the parent ActionMap if the binding is not locally defined.
  • keys
    Returns the Action names that are bound in this ActionMap.

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • BoxLayout (javax.swing)
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now