AspectRatioChangedEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`AspectRatioChangedEvent(Object source, int newRatio)` Construct the event

Method Summary
`int` | `getNewRatio()` Get the new aspect ratio of the transmitted video

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

### AspectRatioChangedEvent

    public AspectRatioChangedEvent(Object source,
                                   int newRatio)

  Construct the event

  Parameters:
    `source` - the source of the event
    `newRatio` - the new aspect ratio of the transmitted video

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD