public class SurveySection
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsQuestion(int questionNo)
Returns true if question with specified question number is on the page.
|
java.lang.String |
getCustomAttribute(java.lang.String key)
Gets the specified custom attribute value from the section
|
java.util.HashMap |
getCustomAttributes()
Gets the custom attributes set for the section
|
int |
getFromQuestion()
Gets the from question
|
boolean |
getPageBreak()
Gets the pageBreak value, true if pageBreak after section
|
boolean |
getRandomQuestionOrder()
Gets the randomQuestionOrder value, true if random question order is turned on
|
long |
getSectionId()
Gets the section id
|
java.lang.String |
getSectionText(int key)
Gets the section text attribute positioned at index in sectionTextList
|
java.util.ArrayList |
getSectionTextList()
Gets the sectionTextList for the section
|
java.lang.String |
getTitle()
Gets the section title
|
java.lang.String |
getTitleBgColor()
Gets the titleBgColor value
|
java.lang.String |
getTitleColor()
Gets the titleColor value
|
java.lang.String |
getTitleFont()
Gets the titleFont value
|
int |
getTitleSize()
Gets the titleSize value
|
int |
getToQuestion()
Gets the to question
|
boolean |
isIntroSection()
Gets the introSection value, true if section is intro section
|
public java.lang.String getCustomAttribute(java.lang.String key)
throws SurveySystemException
key - The attribute keySurveySystemExceptionpublic java.util.HashMap getCustomAttributes()
throws SurveySystemException
SurveySystemExceptionpublic int getFromQuestion()
throws SurveySystemException
SurveySystemExceptionpublic boolean getPageBreak()
throws SurveySystemException
SurveySystemExceptionpublic java.util.ArrayList getSectionTextList()
throws SurveySystemException
SurveySystemExceptionpublic java.lang.String getSectionText(int key)
throws SurveySystemException
key - The position in sectionSurveySystemExceptionpublic long getSectionId()
throws SurveySystemException
SurveySystemExceptionpublic java.lang.String getTitle()
throws SurveySystemException
SurveySystemExceptionpublic java.lang.String getTitleBgColor()
throws SurveySystemException
SurveySystemExceptionpublic java.lang.String getTitleColor()
throws SurveySystemException
SurveySystemExceptionpublic java.lang.String getTitleFont()
throws SurveySystemException
SurveySystemExceptionpublic int getTitleSize()
throws SurveySystemException
SurveySystemExceptionpublic boolean getRandomQuestionOrder()
throws SurveySystemException
SurveySystemExceptionpublic int getToQuestion()
throws SurveySystemException
SurveySystemExceptionpublic boolean containsQuestion(int questionNo)
throws SurveySystemException
questionNo - Question numberSurveySystemExceptionpublic boolean isIntroSection()
throws SurveySystemException
SurveySystemExceptionBuilt on July 29 2025