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

com.cedarsoft.action.Activateable Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.cedarsoft.action;

import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;

import java.beans.PropertyChangeListener;

/**
 *
 */
public interface Activateable {
  @NotNull
  @NonNls
  String PROPERTY_ACTIVE = "active";

  /**
   * Whether the action is active
   *
   * @return whether the action is active
   */
  boolean isActive();

  void addPropertyChangeListener( @NotNull PropertyChangeListener listener );

  void removePropertyChangeListener( @NotNull PropertyChangeListener listener );

  void addPropertyChangeListener( @NotNull String propertyName, @NotNull PropertyChangeListener listener );

  void removePropertyChangeListener( @NotNull String propertyName, @NotNull PropertyChangeListener listener );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy