java.lang.Object
io.qt.QtObject
io.qt.core.QMetaEnum
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Meta-data about an enumerator
Java wrapper for Qt class QMetaEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QMetaObject
SeeQMetaEnum::
enclosingMetaObject()const 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
Seeoperator==(QMetaEnum,
QMetaEnum) QFlags<?>
flags
(int value) Returns flags for the given value.QFlags<?>
Returns flags for the given enum names.int
hashCode()
Returns the objects's hash code computed byqHash(QMetaEnum)
.final boolean
isFlag()
final boolean
isScoped()
final boolean
isValid()
final String
key
(int index) final int
keyCount()
final Integer
keysToValue
(String keys) keysToValue
(Collection<String> keys) keysToValue
(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
public QMetaEnum()See
QMetaEnum::
QMetaEnum()
-
-
Method Details
-
enclosingMetaObject
See
QMetaEnum::
enclosingMetaObject()const -
enumName
-
isFlag
-
isScoped
-
isValid
-
key
-
keyCount
-
keyToValue
-
keysToValue
-
name
-
scope
-
value
-
valueToKey
-
valueToKeys
-
equals
See
operator==(QMetaEnum,
QMetaEnum) -
hashCode
Returns the objects's hash code computed byqHash(QMetaEnum)
. -
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
Creates and returns a copy of this object.
-