Package org.zkoss.zk.au.out

## Class AuConfirmClose

- java.lang.Object
- - org.zkoss.zk.au.AuResponse
  - - org.zkoss.zk.au.out.AuConfirmClose

-     public class AuConfirmClose
      extends AuResponse

  A response to ask the client to show a confirm dialog when an user tries to close the browser window.

  data[0]: the message to confirm

  Since:
    3.0.0
  Author:
    tomyeh

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.zkoss.zk.au.AuResponse

      `AuResponse.JSONComponent, AuResponse.JSONDate`

  - ### Field Summary

    - ### Fields inherited from class org.zkoss.zk.au.AuResponse

      `_cmd, _data, SC_ACTIVATION_TIMEOUT, SC_OUT_OF_SEQUENCE`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AuConfirmClose​(java.lang.String mesg)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getOverrideKey()` | Default: zk.confirmClose (i.e., only one response of this class will be sent to the client in an execution)

    - ### Methods inherited from class org.zkoss.zk.au.AuResponse

      `equals, getCommand, getDepends, getEncodedData, getRawData, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AuConfirmClose

          public AuConfirmClose​(java.lang.String mesg)

  - ### Method Detail

    - #### getOverrideKey

          public final java.lang.String getOverrideKey()

      Default: zk.confirmClose (i.e., only one response of this class will be sent to the client in an execution)
      Overrides:
        `getOverrideKey` in class `AuResponse`
      Since:
        5.0.2