Class AlertConfirm

java.lang.Object
javafx.stage.Window
javafx.stage.Stage
All Implemented Interfaces:
TimiFXUI, TimiFXUI.Colorful, javafx.event.EventTarget

public abstract class AlertConfirm extends AlertTips
询问确认弹窗
Since:
2022-08-20 23:37
Author:
夜雨
  • Constructor Details

    • AlertConfirm

      public AlertConfirm(String content)
      默认构造器
      Parameters:
      content - 询问内容
    • AlertConfirm

      public AlertConfirm(AlertType type)
      构造器
      Parameters:
      type - 类型
    • AlertConfirm

      public AlertConfirm(AlertType type, String content)
      构造器
      Parameters:
      type - 类型
      content - 询问内容
    • AlertConfirm

      public AlertConfirm(AlertType type, String content, AlertButton... buttons)
      默认构造
      Parameters:
      type - 类型
      content - 提示内容
      buttons - 按钮
  • Method Details

    • onConfirm

      protected abstract void onConfirm()
      确认事件
    • onCancel

      protected void onCancel()
      取消事件