public class NetworkChangeEvent extends TransportSIChangeEvent
NetworkChangeEvent notifies an
NetworkChangeListener of changes detected in a
NetworkCollection. Specifically, this event
signals the addition, removal, or modification of a
Network.NetworkCollection,
Network,
Serialized Formsource| Constructor and Description |
|---|
NetworkChangeEvent(NetworkCollection collection,
SIChangeType type,
Network n)
Constructs a
NetworkChangeEvent. |
| Modifier and Type | Method and Description |
|---|---|
Network |
getNetwork()
Reports the
Network that changed. |
NetworkCollection |
getNetworkCollection()
Reports the
NetworkCollection that generated the
event. |
getTransportgetChangeType, getSIElementgetSource, toStringpublic NetworkChangeEvent(NetworkCollection collection, SIChangeType type, Network n)
NetworkChangeEvent.collection - The network collection in which the change
occurred.type - The type of change that occurred.n - The Network that changed.public NetworkCollection getNetworkCollection()
NetworkCollection that generated the
event. It will be identical to the object returned by the
getTransport() method.NetworkCollection that generated the
event.public Network getNetwork()
Network that changed. It will be
identical to the object returned by the inherited
SIChangeEvent.getSIElement method.Network that changed.Copyright © 2012 code4tv.com. All Rights Reserved.