public class ConsentVisualStep extends Step
ConsentVisualStep class represents a step in the visual consent sequence.
In the ResearchStack framework, an ConsentVisualStep object is used to present a simple
graphic to help study participants understand the content of an informed consent document.
| Constructor and Description |
|---|
ConsentVisualStep(java.lang.String identifier) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNextButtonString()
Deprecated.
|
ConsentSection |
getSection()
Returns the ConsentSection associated with this step.
|
java.lang.Class |
getStepLayoutClass()
Returns the class that the
ViewTaskActivity should
instantiate to display this step. |
int |
getStepTitle()
Gets the int id for the title to display in the action bar (optional).
|
void |
setNextButtonString(java.lang.String nextButtonString)
Deprecated.
|
void |
setSection(ConsentSection section)
Sets the ConsentSection for this step.
|
getIdentifier, getText, getTitle, isOptional, setOptional, setStepLayoutClass, setStepTitle, setText, setTitlepublic int getStepTitle()
StepgetStepTitle in class Steppublic java.lang.Class getStepLayoutClass()
StepViewTaskActivity should
instantiate to display this step.
This method is used within the framework so that steps can define their step view controller pairing.
Outside the framework, developers should instantiate the required view controller in their ViewTaskActivity delegate to override the ViewTaskActivity's default.
getStepLayoutClass in class StepStepLayout for
this steppublic ConsentSection getSection()
public void setSection(ConsentSection section)
This includes everything needed by the ConsentVisualStepLayout to render the step.
section - the consent section@Deprecated public java.lang.String getNextButtonString()
@Deprecated public void setNextButtonString(java.lang.String nextButtonString)