Interface TethysUIAlert
public interface TethysUIAlert
Alert.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanConfirm with the use OK/Cancel.booleanConfirm with the user Yes/No.voidsetMessage(String pMessage) Set the message.voidSet the title.voidShow error.voidshowInfo()Show information.voidShow warning.
-
Method Details
-
setTitle
Set the title.- Parameters:
pTitle- the title
-
setMessage
Set the message.- Parameters:
pMessage- the message
-
confirmYesNo
boolean confirmYesNo()Confirm with the user Yes/No.- Returns:
- was Yes selected? true/false
-
confirmOKCancel
boolean confirmOKCancel()Confirm with the use OK/Cancel.- Returns:
- was OK selected? true/false
-
showError
void showError()Show error. -
showWarning
void showWarning()Show warning. -
showInfo
void showInfo()Show information.
-