org.dvb.media
Class AspectRatioChangedEvent
java.lang.Object
java.util.EventObject
org.dvb.media.VideoFormatEvent
org.dvb.media.AspectRatioChangedEvent
- All Implemented Interfaces:
- Serializable
public class AspectRatioChangedEvent
- extends VideoFormatEvent
Event signalling that the aspect ratio of the transmitted video
has changed
- See Also:
- Serialized Form
Method Summary |
int |
getNewRatio()
Get the new aspect ratio of the transmitted video |
AspectRatioChangedEvent
public AspectRatioChangedEvent(Object source,
int newRatio)
- Construct the event
- Parameters:
source
- the source of the eventnewRatio
- the new aspect ratio of the transmitted video
getNewRatio
public int getNewRatio()
- Get the new aspect ratio of the transmitted video
- Returns:
- the new aspect ratio of the video. The value of this is
represented by one of the constants from the VideoFormatControl class
and shall be the value passed into the constructor of the event.