org.dvb.media
Class ActiveFormatDescriptionChangedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.dvb.media.VideoFormatEvent
          extended byorg.dvb.media.ActiveFormatDescriptionChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class ActiveFormatDescriptionChangedEvent
extends VideoFormatEvent

Event signalling that the transmitted active format definition has changed

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActiveFormatDescriptionChangedEvent(java.lang.Object source, int newFormat)
          Construct the event
 
Method Summary
 int getNewFormat()
          Get the new active format description
 
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

ActiveFormatDescriptionChangedEvent

public ActiveFormatDescriptionChangedEvent(java.lang.Object source,
                                           int newFormat)
Construct the event

Parameters:
source - the source of the event
newFormat - the new active format description
Method Detail

getNewFormat

public int getNewFormat()
Get the new active format description

Returns:
the new active format description. The value of this is represented by one of the constants from VideoFormatControl and shall be the value passed into the constructor of the event.