com.trolltech.qt.core
Class Qt.SizeMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.SizeMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.SizeMode
extends java.lang.Enum
implements QtEnumerator

This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.

See Also:
Serialized Form

Field Summary
static Qt.SizeMode AbsoluteSize
          Specifies the size using absolute measurements.
static Qt.SizeMode RelativeSize
          Specifies the size relative to the bounding rectangle, typically using percentage measurements.
 
Method Summary
static Qt.SizeMode resolve(int value)
          Returns the Qt$SizeMode 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 Qt.SizeMode valueOf(java.lang.String name)
           
static Qt.SizeMode[] 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

AbsoluteSize

public static final Qt.SizeMode AbsoluteSize
Specifies the size using absolute measurements.


RelativeSize

public static final Qt.SizeMode RelativeSize
Specifies the size relative to the bounding rectangle, typically using percentage measurements.

Method Detail

values

public static Qt.SizeMode[] values()

valueOf

public static Qt.SizeMode 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 Qt.SizeMode resolve(int value)
Returns the Qt$SizeMode constant with the specified int.