Package org.luwrain.core
Class DefaultEventResponse
java.lang.Object
org.luwrain.core.DefaultEventResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventResponse
static EventResponse
static EventResponse
letter
(char letter) static EventResponse
static EventResponse
listItem
(String text, Suggestions suggestion) static EventResponse
listItem
(Sounds sound, String text, Suggestions suggestion) static EventResponse
static EventResponse
Speak a text with simultaneous sound.static EventResponse
treeItem
(EventResponses.TreeItem.Type type, String text, int level) static EventResponse
treeItem
(EventResponses.TreeItem.Type type, String text, int level, Suggestions suggestion)
-
Constructor Details
-
DefaultEventResponse
public DefaultEventResponse()
-
-
Method Details
-
text
-
text
Speak a text with simultaneous sound.- Parameters:
sound
- A sound, may be null (no sound needed)text
- A text to say
-
letter
-
hint
-
hint
-
listItem
-
listItem
-
listItem
-
treeItem
public static EventResponse treeItem(EventResponses.TreeItem.Type type, String text, int level, Suggestions suggestion) -
treeItem
-