com.trolltech.qt.phonon
Class VideoWidget.AspectRatio
java.lang.Object
java.lang.Enum
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
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 |
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
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 AspectRatio constant with the specified int.