congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ActionMenuItem.getAction
Code IndexAdd Tabnine to your IDE (free)

How to use
getAction
method
in
org.jfree.ui.action.ActionMenuItem

Best Java code snippets using org.jfree.ui.action.ActionMenuItem.getAction (Showing top 9 results out of 315)

origin: jfree/jcommon

/**
 * Enables and disables this button and if an action is assigned to this
 * menuitem the propertychange is forwarded to the assigned action.
 *
 * @param b the new enable-state of this menuitem
 */
public void setEnabled(final boolean b)
{
 super.setEnabled(b);
 if (getAction() != null)
 {
  getAction().setEnabled(b);
 }
}
origin: org.jfree/jcommon

/**
 * Enables and disables this button and if an action is assigned to this
 * menuitem the propertychange is forwarded to the assigned action.
 *
 * @param b the new enable-state of this menuitem
 */
public void setEnabled(final boolean b)
{
 super.setEnabled(b);
 if (getAction() != null)
 {
  getAction().setEnabled(b);
 }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Enables and disables this button and if an action is assigned to this
 * menuitem the propertychange is forwarded to the assigned action.
 *
 * @param b the new enable-state of this menuitem
 */
public void setEnabled(final boolean b)
{
 super.setEnabled(b);
 if (getAction() != null)
 {
  getAction().setEnabled(b);
 }
}
origin: org.jfree/jcommon

 setEnabled(getAction().isEnabled());
 setIcon((Icon) getAction().getValue(Action.SMALL_ICON));
 setText((String) getAction().getValue(Action.NAME));
     getAction().getValue(Action.SHORT_DESCRIPTION));
final Action ac = getAction();
if (event.getPropertyName().equals(ActionDowngrade.ACCELERATOR_KEY))
origin: org.jfree/com.springsource.org.jfree

 setEnabled(getAction().isEnabled());
 setIcon((Icon) getAction().getValue(Action.SMALL_ICON));
 setText((String) getAction().getValue(Action.NAME));
     getAction().getValue(Action.SHORT_DESCRIPTION));
final Action ac = getAction();
if (event.getPropertyName().equals(ActionDowngrade.ACCELERATOR_KEY))
origin: jfree/jcommon

 setEnabled(getAction().isEnabled());
 setIcon((Icon) getAction().getValue(Action.SMALL_ICON));
 setText((String) getAction().getValue(Action.NAME));
     getAction().getValue(Action.SHORT_DESCRIPTION));
final Action ac = getAction();
if (event.getPropertyName().equals(ActionDowngrade.ACCELERATOR_KEY))
origin: jfree/jcommon

final Action oldAction = getAction();
if (oldAction != null)
origin: org.jfree/jcommon

final Action oldAction = getAction();
if (oldAction != null)
origin: org.jfree/com.springsource.org.jfree

final Action oldAction = getAction();
if (oldAction != null)
org.jfree.ui.actionActionMenuItemgetAction

Javadoc

Returns the assigned action or null if no action has been assigned.

Popular methods of ActionMenuItem

  • addActionListener
  • getPropertyChangeHandler
    Returns and initializes the PropertyChangehandler for this ActionMenuItem. The PropertyChangeHandler
  • removeActionListener
  • setAccelerator
  • setAction
    Assigns the given action to this menuitem. The properties of the action will be assigned to the menu
  • setEnabled
    Enables and disables this button and if an action is assigned to this menuitem the propertychange is
  • setIcon
  • setMnemonic
  • setText
  • setToolTipText

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 21 Best Atom Packages for 2021
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