com.trolltech.qt.gui
Enum QStyleOptionFrameV2.FrameFeature

java.lang.Object
  extended by java.lang.Enum<QStyleOptionFrameV2.FrameFeature>
      extended by com.trolltech.qt.gui.QStyleOptionFrameV2.FrameFeature
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable<QStyleOptionFrameV2.FrameFeature>
Enclosing class:
QStyleOptionFrameV2

public static enum QStyleOptionFrameV2.FrameFeature
extends java.lang.Enum<QStyleOptionFrameV2.FrameFeature>
implements QtEnumerator

This enum describles the different types of features a frame can have.


Enum Constant Summary
Flat
          Indicates a flat frame.
None
          Indicates a normal frame.
 
Method Summary
static QStyleOptionFrameV2.FrameFeatures createQFlags(QStyleOptionFrameV2.FrameFeature... values)
           
static QStyleOptionFrameV2.FrameFeature resolve(int value)
           
 int value()
           
static QStyleOptionFrameV2.FrameFeature valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QStyleOptionFrameV2.FrameFeature[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final QStyleOptionFrameV2.FrameFeature None

Indicates a normal frame.


Flat

public static final QStyleOptionFrameV2.FrameFeature Flat

Indicates a flat frame.

Method Detail

values

public static final QStyleOptionFrameV2.FrameFeature[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(QStyleOptionFrameV2.FrameFeature c : QStyleOptionFrameV2.FrameFeature.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static QStyleOptionFrameV2.FrameFeature valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

value

public int value()
Specified by:
value in interface QtEnumerator

createQFlags

public static QStyleOptionFrameV2.FrameFeatures createQFlags(QStyleOptionFrameV2.FrameFeature... values)

resolve

public static QStyleOptionFrameV2.FrameFeature resolve(int value)