public interface IJunctionListener
This interface is for clients that need to listen to IJunction
s for
updates.
Normally, components that extend ICEObject
will use its methods to
notify listeners of changes. However, its methods are "blanket" notifications
that just mean something has changed, but not what.
In the interest of speeding up reactions to changes in Junction's pipes, this
interface provides notification methods for when a Junction adds or removes
pipes.
Modifier and Type | Method and Description |
---|---|
void |
addedPipes(IJunction junction,
java.util.List<PlantComponent> pipes)
PlantComponents have been added to the Junction.
|
void |
removedPipes(IJunction junction,
java.util.List<PlantComponent> pipes)
PlantComponents have been removed from the Junction.
|
void addedPipes(IJunction junction, java.util.List<PlantComponent> pipes)
junction
- The Junction that was updated.pipes
- A List of PlantComponents that were added to the Junction.void removedPipes(IJunction junction, java.util.List<PlantComponent> pipes)
junction
- The Junction that was updated.pipes
- A List of PlantComponents that were removed from the Junction.