java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMetaEnum
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Meta-data about an enumerator
Java wrapper for Qt's class QMetaEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QMetaObject
entries()
Returns all enum entries of this enum type.entry
(int index) Returns the enum entry of the given value.Returns the enum entry of the given name.final String
enumName()
boolean
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) Returns flags for the given value.QFlags<?>
Returns flags for the given enum names.int
hashCode()
final boolean
isFlag()
final boolean
isScoped()
final boolean
isValid()
final String
key
(int index) final int
keyCount()
final Integer
keysToValue
(String keys) keysToValue
(String... keys) keysToValue
(Collection<String> keys) final Integer
keyToValue
(String key) final String
name()
resolve
(int value) Returns the enum entry of the given value.final String
scope()
final String
toString()
Class<?>
type()
Returns the java class of this enum type.final int
value
(int index) final String
valueToKey
(int value) final QByteArray
valueToKeys
(int value) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
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
Returns all enum entries of this enum type. -
entry
Returns the enum entry of the given value. -
entry
Returns the enum entry of the given name. -
type
Returns the java class of this enum type. -
flags
Returns flags for the given value. -
flags
Returns flags for the given enum names. -
resolve
Returns the enum entry of the given value. -
clone
-