congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
DowngradeActionMap.remove
Code IndexAdd Tabnine 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)

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

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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