public final void setCancelButton (boolean value)

taken from field

A Cancel Button is the button that receives a keyboard VK_ESC press, if no other node in the scene consumes it.