IJEventListener.java :  » Image » objectj » ij » Java Open Source

Java Open Source » Image » objectj 
objectj » ij » IJEventListener.java
package ij;

  /** Plugins that implement this interface are notified when the user
       changes the foreground color, changes the background color,
       closes the color picker, closes the Log window or switches to
       another tool.
  */
  public interface IJEventListener {
    public static final int FOREGROUND_COLOR_CHANGED = 0;
    public static final int BACKGROUND_COLOR_CHANGED = 1;
    public static final int COLOR_PICKER_CLOSED= 2;
    public static final int LOG_WINDOW_CLOSED= 3;
    public static final int TOOL_CHANGED= 4;

  public void eventOccurred(int eventID);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.