Class manualChecklistItem
Implemention of a checklist item which needs to be competed manually.
See also:
Info:
- Copyright: 2022 Patrick Lang
- Author: Patrick Lang
Methods
| manualChecklistItem:new (challengeText, responseText, challengeKey) | Creates a checklist item, which needs to be set to completed manually. |
| manualChecklistItem:getChallengeText () | Gets the challenge text of the checklist item. |
| manualChecklistItem:getResponseText () | Gets the response text of the checklist item. |
| manualChecklistItem:getChallengeKey () | Gets the key of the challenge sound. |
| manualChecklistItem:getResponseKey () | Gets the key of the response sound. |
| manualChecklistItem:hasResponse () | Checks whether the checklist item has a response. |
| manualChecklistItem:isManualItem () | Checks whether the checklist item needs to be completed manually. |
Methods
- manualChecklistItem:new (challengeText, responseText, challengeKey)
-
Creates a checklist item, which needs to be set to completed manually.
Parameters:
- challengeText string The challenge text of the checklist item.
- responseText string The response text of the checklist item, which is also used as the key of the response sound.
- challengeKey string The key of the challenge sound.
Returns:
-
manualChecklistItem
The created checklist item.
- manualChecklistItem:getChallengeText ()
-
Gets the challenge text of the checklist item.
Returns:
-
string
The challenge text of the checklist item.
- manualChecklistItem:getResponseText ()
-
Gets the response text of the checklist item.
Returns:
-
string
The response text of the checklist item.
- manualChecklistItem:getChallengeKey ()
-
Gets the key of the challenge sound.
Returns:
-
string
The key of the challenge sound.
- manualChecklistItem:getResponseKey ()
-
Gets the key of the response sound.
The response text is used as the key of the response sound.
Returns:
-
string
The response text of the response sound.
- manualChecklistItem:hasResponse ()
-
Checks whether the checklist item has a response.
Returns:
-
bool
Always
true. - manualChecklistItem:isManualItem ()
-
Checks whether the checklist item needs to be completed manually.
Returns:
-
bool
Always
true.