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
-
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()
final boolean
Seeoperator==(QMetaEnum,
QMetaEnum) 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
(String... keys) keysToValue
(Collection<String> keys) final Integer
keyToValue
(String key) final QMetaType
metaType()
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() -
QMetaEnum
See
QMetaEnum::
QMetaEnum(QMetaEnum)
-
-
Method Details
-
enclosingMetaObject
See
QMetaEnum::
enclosingMetaObject()const -
enumName
-
isFlag
-
isScoped
-
isValid
-
key
-
keyCount
-
keyToValue
-
keysToValue
-
metaType
-
name
-
equals
See
operator==(QMetaEnum,
QMetaEnum) -
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.
See
QMetaEnum::
QMetaEnum(QMetaEnum)
-