Java TV(tm) API 1.0

javax.tv.service.transport
Class BouquetChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.tv.service.SIChangeEvent
              |
              +--javax.tv.service.transport.TransportSIChangeEvent
                    |
                    +--javax.tv.service.transport.BouquetChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class BouquetChangeEvent
extends TransportSIChangeEvent

A BouquetChangeEvent notifies an BouquetChangeListener of changes detected in a BouquetCollection. Specifically, this event signals the addition, removal, or modification of a Bouquet.

See Also:
BouquetCollection, Bouquet, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BouquetChangeEvent(BouquetCollection collection, SIChangeType type, Bouquet b)
          Constructs a BouquetChangeEvent.
 
Method Summary
 Bouquet getBouquet()
          Reports the Bouquet that changed.
 BouquetCollection getBouquetCollection()
          Reports the BouquetCollection that generated the event.
 
Methods inherited from class javax.tv.service.transport.TransportSIChangeEvent
getTransport
 
Methods inherited from class javax.tv.service.SIChangeEvent
getChangeType, getSIElement
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BouquetChangeEvent

public BouquetChangeEvent(BouquetCollection collection,
                          SIChangeType type,
                          Bouquet b)
Constructs a BouquetChangeEvent.
Parameters:
collection - The BouquetCollection in which the change occurred.
type - The type of change that occurred.
b - The Bouquet that changed.
Method Detail

getBouquetCollection

public BouquetCollection getBouquetCollection()
Reports the BouquetCollection that generated the event. It will be identical to the object returned by the getTransport() method.
Returns:
The BouquetCollection that generated the event.

getBouquet

public Bouquet getBouquet()
Reports the Bouquet that changed. It will be identical to the object returned by the inherited SIChangeEvent.getSIElement method.
Returns:
The Bouquet that changed.

Java TV(tm) API 1.0

Copyright © 1998 - 2000 Sun Microsystems, Inc.