public class CloseCallbacks extends Object
CloseCallback instances| Modifier and Type | Method and Description |
|---|---|
static CloseCallback |
alwaysTrue()
Returns a
CloseCallback that always returns true |
static CloseCallback |
confirming()
Returns a
CloseCallback that shows a confirmation dialog |
static CloseCallback |
confirming(String question)
Returns a
CloseCallback that shows a confirmation dialog that
asks the given question |
public static CloseCallback alwaysTrue()
CloseCallback that always returns trueCloseCallbackpublic static CloseCallback confirming()
CloseCallback that shows a confirmation dialogCloseCallbackpublic static CloseCallback confirming(String question)
CloseCallback that shows a confirmation dialog that
asks the given questionquestion - The questionCloseCallbackCopyright © 2022. All rights reserved.