Class YesNoClientQuestion
java.lang.Object
ch.tocco.nice2.web.core.api.clientquestion.AbstractClientQuestion<ConfirmClientAnswer>
ch.tocco.nice2.web.core.api.clientquestion.AbstractConfirmClientQuestion
ch.tocco.nice2.web.core.api.clientquestion.YesNoClientQuestion
- All Implemented Interfaces:
ClientQuestion<ConfirmClientAnswer>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionYesNoClientQuestion
(String questionId, String questionHeader, String questionMessage) Constructor for a new YesNoClientQuestion. -
Method Summary
Methods inherited from class ch.tocco.nice2.web.core.api.clientquestion.AbstractConfirmClientQuestion
equals, getAnswerClass, getQuestionHeader, getQuestionMessage, hashCode, setQuestionHeader, setQuestionMessage
Methods inherited from class ch.tocco.nice2.web.core.api.clientquestion.AbstractClientQuestion
getQuestionId, getType, isRemoveAnswerAfterAccess, removeAnswerAfterAccess
-
Field Details
-
YES_NO_QUESTION_HANDLER
- See Also:
-
-
Constructor Details
-
YesNoClientQuestion
Constructor for a new YesNoClientQuestion. It displays the user a message popup with the options "YES", "NO" and "CANCEL". Options "YES" and "NO" return to the server, with theConfirmClientAnswer.getAnswer()
)} == true if "YES" was clicked. "CANCEL" will not continue the action.- Parameters:
questionId
- a unique id identifying this questionquestionHeader
- the header displayed in the message popupquestionMessage
- the message displayed in the message popup
-
-
Method Details
-
getClientHandlerName
- Returns:
- the name of the client handler JS-class as registered in the nice2.netui.clientquestion.ClientQuestionHandlerRegistry
-