Enum Class AlertType

java.lang.Object
java.lang.Enum<AlertType>
com.imyeyu.fx.ui.components.alert.AlertType
All Implemented Interfaces:
Serializable, Comparable<AlertType>, Constable

public enum AlertType extends Enum<AlertType>
弹窗类型
Since:
2022-01-07 10:51
Author:
夜雨
  • Enum Constant Details

    • INFORMATION

      public static final AlertType INFORMATION
      信息
    • WARNING

      public static final AlertType WARNING
      警告
    • WARNING_DANGER

      public static final AlertType WARNING_DANGER
      危险警告
    • CONFIRMATION

      public static final AlertType CONFIRMATION
      询问
    • ERROR

      public static final AlertType ERROR
      错误
  • Method Details

    • values

      public static AlertType[] 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 AlertType 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
    • getIcon

      public javafx.scene.image.Image getIcon()
      弹窗类型图标
    • getTitle

      public String getTitle()
      弹窗类型标题