Qt Jambi Home

com.trolltech.qt.gui
Enum QWizard.WizardButton

java.lang.Object
  extended by java.lang.Enum<QWizard.WizardButton>
      extended by com.trolltech.qt.gui.QWizard.WizardButton
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable<QWizard.WizardButton>
Enclosing class:
QWizard

public static enum QWizard.WizardButton
extends java.lang.Enum<QWizard.WizardButton>
implements QtEnumerator

This enum specifies the buttons in a wizard.

ConstantValueDescription
BackButton0The Back button (Go Back on Mac OS X)
NextButton1The Next button (Continue on Mac OS X)
CommitButton2The Commit button
FinishButton3The Finish button (Done on Mac OS X)
CancelButton4The Cancel button (see also NoCancelButton)
HelpButton5The Help button (see also HaveHelpButton)
CustomButton16The first user-defined button (see also HaveCustomButton1)
CustomButton27The second user-defined button (see also HaveCustomButton2)
CustomButton38The third user-defined button (see also HaveCustomButton3)

The following value is only useful when calling setButtonLayout:

ConstantValueDescription
Stretch9A horizontal stretch in the button layout

See Also:
setButton, setButtonText, setButtonLayout, customButtonClicked

Enum Constant Summary
BackButton
          The Back button (Go Back on Mac OS X)
CancelButton
          The Cancel button (see also NoCancelButton)
CommitButton
          The Commit button
CustomButton1
          The first user-defined button (see also HaveCustomButton1)
CustomButton2
          The second user-defined button (see also HaveCustomButton2)
CustomButton3
          The third user-defined button (see also HaveCustomButton3)
FinishButton
          The Finish button (Done on Mac OS X)
HelpButton
          The Help button (see also HaveHelpButton)
NextButton
          The Next button (Continue on Mac OS X)
NoButton
          Internal.
Stretch
          A horizontal stretch in the button layout
 
Method Summary
static QWizard.WizardButton resolve(int value)
           
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QWizard.WizardButton valueOf(java.lang.String name)
          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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BackButton

public static final QWizard.WizardButton BackButton

The Back button (Go Back on Mac OS X)


NextButton

public static final QWizard.WizardButton NextButton

The Next button (Continue on Mac OS X)


CommitButton

public static final QWizard.WizardButton CommitButton

The Commit button


FinishButton

public static final QWizard.WizardButton FinishButton

The Finish button (Done on Mac OS X)


CancelButton

public static final QWizard.WizardButton CancelButton

The Cancel button (see also NoCancelButton)


HelpButton

public static final QWizard.WizardButton HelpButton

The Help button (see also HaveHelpButton)


CustomButton1

public static final QWizard.WizardButton CustomButton1

The first user-defined button (see also HaveCustomButton1)


CustomButton2

public static final QWizard.WizardButton CustomButton2

The second user-defined button (see also HaveCustomButton2)


CustomButton3

public static final QWizard.WizardButton CustomButton3

The third user-defined button (see also HaveCustomButton3)


Stretch

public static final QWizard.WizardButton Stretch

A horizontal stretch in the button layout


NoButton

public static final QWizard.WizardButton NoButton
Internal.

Method Detail

values

public static QWizard.WizardButton[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QWizard.WizardButton c : QWizard.WizardButton.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QWizard.WizardButton valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()
Description copied from interface: QtEnumerator
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QWizard.WizardButton resolve(int value)

Qt Jambi Home