com.trolltech.qt.phonon
Class VideoWidget.AspectRatio

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.phonon.VideoWidget.AspectRatio
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
VideoWidget

public static final class VideoWidget.AspectRatio
extends java.lang.Enum
implements QtEnumerator

Defines the width.height to be used for the video.

See Also:
Serialized Form

Field Summary
static VideoWidget.AspectRatio AspectRatio16_9
           
static VideoWidget.AspectRatio AspectRatio4_3
           
static VideoWidget.AspectRatio AspectRatioAuto
           
static VideoWidget.AspectRatio AspectRatioWidget
           
 
Method Summary
static VideoWidget.AspectRatio resolve(int value)
          Returns the VideoWidget$AspectRatio constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static VideoWidget.AspectRatio valueOf(java.lang.String name)
           
static VideoWidget.AspectRatio[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AspectRatioAuto

public static final VideoWidget.AspectRatio AspectRatioAuto

AspectRatioWidget

public static final VideoWidget.AspectRatio AspectRatioWidget

AspectRatio4_3

public static final VideoWidget.AspectRatio AspectRatio4_3

AspectRatio16_9

public static final VideoWidget.AspectRatio AspectRatio16_9
Method Detail

values

public static VideoWidget.AspectRatio[] values()

valueOf

public static VideoWidget.AspectRatio valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static VideoWidget.AspectRatio resolve(int value)
Returns the VideoWidget$AspectRatio constant with the specified int.