edu.uci.ics.jung.visualization.util.ChangeEventSupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jung-visualization Show documentation
Show all versions of jung-visualization Show documentation
Core visualization support for the JUNG project
The newest version!
/*
* Copyright (c) 2005, The JUNG Authors
* All rights reserved.
*
* This software is open-source under the BSD license; see either "license.txt"
* or https://github.com/jrtom/jung/blob/master/LICENSE for a description.
*
* Created on Aug 18, 2005
*/
package edu.uci.ics.jung.visualization.util;
import javax.swing.event.ChangeListener;
/**
* the implementing class provides support for ChangeEvents.
*
* @author Tom Nelson - [email protected]
*
*/
public interface ChangeEventSupport {
void addChangeListener(ChangeListener l);
/**
* Removes a ChangeListener.
* @param l the listener to be removed
*/
void removeChangeListener(ChangeListener l);
/**
* Returns an array of all the ChangeListener
s added
* with addChangeListener().
*
* @return all of the ChangeListener
s added or an empty
* array if no listeners have been added
*/
ChangeListener[] getChangeListeners();
void fireStateChanged();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy