org.dvb.media
Class ActiveFormatDescriptionChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.dvb.media.VideoFormatEvent
          extended by org.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

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
equals, 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.