com.trolltech.qt.phonon
Class VideoWidget.ScaleMode
java.lang.Object
java.lang.Enum
com.trolltech.qt.phonon.VideoWidget.ScaleMode
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- VideoWidget
public static final class VideoWidget.ScaleMode
- extends java.lang.Enum
- implements QtEnumerator
The ScaleMode
enum describes how to treat aspect ratio during resizing of 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 |
FitInView
public static final VideoWidget.ScaleMode FitInView
ScaleAndCrop
public static final VideoWidget.ScaleMode ScaleAndCrop
values
public static VideoWidget.ScaleMode[] values()
valueOf
public static VideoWidget.ScaleMode 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.ScaleMode resolve(int value)
- Returns the VideoWidget$ScaleMode constant with the specified int.