public class DialogToggleInteraction extends Object implements UserInteraction
CANCEL, NO, YES
Constructor and Description |
---|
DialogToggleInteraction()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
askQuestion(String title,
String question,
String toggleQuestion)
Asks the user a question.
|
public int askQuestion(String title, String question, String toggleQuestion)
UserInteraction
askQuestion
in interface UserInteraction
title
- The title of the question.question
- The question itself.toggleQuestion
- The message for an eventual toggle box.UserInteraction.YES
, UserInteraction.NO
or
UserInteraction.CANCEL
Copyright © 2018. All rights reserved.