- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QSettings.Format>
,Constable
- Enclosing class:
QSettings
Java wrapper for Qt enum QSettings::Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQSettings::
CustomFormat1 RepresentingQSettings::
CustomFormat10 RepresentingQSettings::
CustomFormat11 RepresentingQSettings::
CustomFormat12 RepresentingQSettings::
CustomFormat13 RepresentingQSettings::
CustomFormat14 RepresentingQSettings::
CustomFormat15 RepresentingQSettings::
CustomFormat16 RepresentingQSettings::
CustomFormat2 RepresentingQSettings::
CustomFormat3 RepresentingQSettings::
CustomFormat4 RepresentingQSettings::
CustomFormat5 RepresentingQSettings::
CustomFormat6 RepresentingQSettings::
CustomFormat7 RepresentingQSettings::
CustomFormat8 RepresentingQSettings::
CustomFormat9 RepresentingQSettings::
IniFormat RepresentingQSettings::
InvalidFormat RepresentingQSettings::
NativeFormat RepresentingQSettings::
Registry32Format RepresentingQSettings::
Registry64Format -
Method Summary
Modifier and TypeMethodDescriptionstatic QSettings.Format
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QSettings.Format
Returns the enum constant of this type with the specified name.static QSettings.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
NativeFormat
Representing
QSettings::
NativeFormat -
IniFormat
Representing
QSettings::
IniFormat -
Registry32Format
Representing
QSettings::
Registry32Format -
Registry64Format
Representing
QSettings::
Registry64Format -
InvalidFormat
Representing
QSettings::
InvalidFormat -
CustomFormat1
Representing
QSettings::
CustomFormat1 -
CustomFormat2
Representing
QSettings::
CustomFormat2 -
CustomFormat3
Representing
QSettings::
CustomFormat3 -
CustomFormat4
Representing
QSettings::
CustomFormat4 -
CustomFormat5
Representing
QSettings::
CustomFormat5 -
CustomFormat6
Representing
QSettings::
CustomFormat6 -
CustomFormat7
Representing
QSettings::
CustomFormat7 -
CustomFormat8
Representing
QSettings::
CustomFormat8 -
CustomFormat9
Representing
QSettings::
CustomFormat9 -
CustomFormat10
Representing
QSettings::
CustomFormat10 -
CustomFormat11
Representing
QSettings::
CustomFormat11 -
CustomFormat12
Representing
QSettings::
CustomFormat12 -
CustomFormat13
Representing
QSettings::
CustomFormat13 -
CustomFormat14
Representing
QSettings::
CustomFormat14 -
CustomFormat15
Representing
QSettings::
CustomFormat15 -
CustomFormat16
Representing
QSettings::
CustomFormat16
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-