All Downloads are FREE. Search and download functionalities are using the official Maven repository.

editor.actions.ConditionalActionHandler Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
/*
 *
 * 2002 CaseCenter by Centrica Software
 *
 */
package editor.actions;

import java.awt.event.ActionListener;

/**
 * Extends ActionListener facilitating enable-state detection and exposure.
 */
public interface ConditionalActionHandler extends ActionListener
{
  /**
   * Return whether or not the action associated with this listener
   * is enabled.
   * 

* Achtung! Keep in mind implementations of this method should be short and * sweet -- don't do anything even moderately heavy here as this method is * called very very often -- every time the AWT event queue goes idle. * * @return True to enable the Action associated with this component. */ public boolean isEnabled(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy