com.trolltech.qt.phonon
Class VideoWidget.ScaleMode

java.lang.Object
  extended by java.lang.Enum
      extended by 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

Field Summary
static VideoWidget.ScaleMode FitInView
           
static VideoWidget.ScaleMode ScaleAndCrop
           
 
Method Summary
static VideoWidget.ScaleMode resolve(int value)
          Returns the VideoWidget$ScaleMode 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.ScaleMode valueOf(java.lang.String name)
           
static VideoWidget.ScaleMode[] 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

FitInView

public static final VideoWidget.ScaleMode FitInView

ScaleAndCrop

public static final VideoWidget.ScaleMode ScaleAndCrop
Method Detail

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.