package bluej.extensions.event;
|
| This interface allows you to listen for dependency events.
| </p>
|
| Dependency events occur when a dependency was added or removed from the
| package and when the visibility of a dependency has changed to the opposite
| of the previous state.
| </p>
|
| @author Simon Gerlach
|
public interface DependencyListener
{
| A dependency was added to the package.
|
| @param event
| A <code>DependencyEvent</code> object which describes the
| event.
|
public void dependencyAdded(DependencyEvent event);
| A dependency was removed from the package.
|
| @param event
| A <code>DependencyEvent</code> object which describes the
| event.
|
public void dependencyRemoved(DependencyEvent event);
|
| The visibility of a dependency has changed. This means that the
| dependency has either been hidden from the graph or became visible again.
| The new visibility can be acquired from the passed in
| {}link DependencyEvent} object.
| </p>
|
| This event only occurs if the visibility of the dependency has really
| <em>changed</em>. It is not fired if a dependency is set to a visibility
| in which it already is.
| </p>
|
| @param event
| A <code>DependencyEvent</code> object which describes the
| event.
|
public void dependencyVisibilityChanged(DependencyEvent event);
}
top,
use,
map,
interface DependencyListener
. dependencyAdded
. dependencyRemoved
. dependencyVisibilityChanged
16 neLoCode
+ 31 LoComm