Enum Class TourButtonType

java.lang.Object
java.lang.Enum<TourButtonType>
org.vaadin.addons.antlerflow.tour.TourButtonType
All Implemented Interfaces:
Serializable, Comparable<TourButtonType>, Constable

public enum TourButtonType extends Enum<TourButtonType>
Represents the type of a button used in a guided tour. Each type defines the role or action associated with the button during the tour flow.
The following button types are supported:
- PREVIOUS: Represents a button that navigates to the previous step in the tour.
- NEXT: Represents a button that navigates to the next step in the tour.
- CANCEL: Represents a button that cancels and exits the tour.
This enum is used in conjunction with TourButton to define the behavior and purpose of tour navigation buttons within a TourStep.
  • Enum Constant Details

  • Method Details

    • values

      public static TourButtonType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TourButtonType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null