java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMetaEnum
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMetaEnum extends QtObject implements Cloneable
Meta-data about an enumerator
Java wrapper for Qt class QMetaEnum
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
QMetaEnum(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QMetaEnum
clone()
QMetaObject
enclosingMetaObject()
QtAbstractEnumerator[]
entries()
QtAbstractEnumerator
entry(int index)
QtAbstractEnumerator
entry(String name)
String
enumName()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QFlags<?>
flags(int value)
QFlags<?>
flags(String... names)
int
hashCode()
boolean
isFlag()
boolean
isScoped()
boolean
isValid()
String
key(int index)
int
keyCount()
Integer
keysToValue(String keys)
Integer
keysToValue(String... keys)
Integer
keysToValue(Collection<String> keys)
Integer
keyToValue(String key)
String
name()
QtAbstractEnumerator
resolve(int value)
String
scope()
String
toString()
Class<?>
type()
int
value(int index)
String
valueToKey(int value)
QByteArray
valueToKeys(int value)
-
Constructor Details
-
QMetaEnum
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
enclosingMetaObject
-
enumName
-
isFlag
-
isScoped
-
isValid
-
key
-
keyCount
-
keyToValue
-
keysToValue
-
name
-
scope
-
value
-
valueToKey
-
valueToKeys
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
keysToValue
-
keysToValue
-
entries
-
entry
-
entry
-
type
-
flags
-
flags
-
resolve
-
clone
-