com.trolltech.qt.gui
Class QFont.Style
java.lang.Object
java.lang.Enum
com.trolltech.qt.gui.QFont.Style
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QFont
public static final class QFont.Style
- extends java.lang.Enum
- implements QtEnumerator
- See Also:
- Serialized Form
Method Summary |
static QFont.Style |
resolve(int value)
Returns the Style 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 QFont.Style |
valueOf(java.lang.String name)
|
static QFont.Style[] |
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 |
StyleNormal
public static final QFont.Style StyleNormal
StyleItalic
public static final QFont.Style StyleItalic
StyleOblique
public static final QFont.Style StyleOblique
values
public static QFont.Style[] values()
valueOf
public static QFont.Style valueOf(java.lang.String name)
value
public int value()
- Description copied from interface:
QtEnumerator
- 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 QFont.Style resolve(int value)
- Returns the Style constant with the specified int.