- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QWizard.WizardButton>
,Constable
- Enclosing class:
QWizard
Java wrapper for Qt enum QWizard::WizardButton
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQWizard::
BackButton RepresentingQWizard::
CancelButton RepresentingQWizard::
CommitButton RepresentingQWizard::
CustomButton1 RepresentingQWizard::
CustomButton2 RepresentingQWizard::
CustomButton3 RepresentingQWizard::
FinishButton RepresentingQWizard::
HelpButton RepresentingQWizard::
NButtons RepresentingQWizard::
NextButton RepresentingQWizard::
NoButton RepresentingQWizard::
NStandardButtons RepresentingQWizard::
Stretch -
Method Summary
Modifier and TypeMethodDescriptionstatic QWizard.WizardButton
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 QWizard.WizardButton
Returns the enum constant of this type with the specified name.static QWizard.WizardButton[]
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
-
BackButton
Representing
QWizard::
BackButton -
NextButton
Representing
QWizard::
NextButton -
CommitButton
Representing
QWizard::
CommitButton -
FinishButton
Representing
QWizard::
FinishButton -
CancelButton
Representing
QWizard::
CancelButton -
HelpButton
Representing
QWizard::
HelpButton -
CustomButton1
Representing
QWizard::
CustomButton1 -
CustomButton2
Representing
QWizard::
CustomButton2 -
CustomButton3
Representing
QWizard::
CustomButton3 -
Stretch
Representing
QWizard::
Stretch -
NoButton
Representing
QWizard::
NoButton -
NStandardButtons
Representing
QWizard::
NStandardButtons -
NButtons
Representing
QWizard::
NButtons
-
-
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
-