|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.api.SurveySection
public class SurveySection
This class encapsulates survey section data. See the Opinio documentation to get to know the different survey section attributes.
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getCustomAttribute(java.lang.String key) throws SurveySystemException
key
- The attribute key
SurveySystemException
public java.util.HashMap getCustomAttributes() throws SurveySystemException
SurveySystemException
public int getFromQuestion() throws SurveySystemException
SurveySystemException
public boolean getPageBreak() throws SurveySystemException
SurveySystemException
public java.util.ArrayList getSectionTextList() throws SurveySystemException
SurveySystemException
public java.lang.String getSectionText(int key) throws SurveySystemException
key
- The position in section
SurveySystemException
public long getSectionId() throws SurveySystemException
SurveySystemException
public java.lang.String getTitle() throws SurveySystemException
SurveySystemException
public java.lang.String getTitleBgColor() throws SurveySystemException
SurveySystemException
public java.lang.String getTitleColor() throws SurveySystemException
SurveySystemException
public java.lang.String getTitleFont() throws SurveySystemException
SurveySystemException
public int getTitleSize() throws SurveySystemException
SurveySystemException
public boolean getRandomQuestionOrder() throws SurveySystemException
SurveySystemException
public int getToQuestion() throws SurveySystemException
SurveySystemException
public boolean containsQuestion(int questionNo) throws SurveySystemException
questionNo
- Question number
SurveySystemException
public boolean isIntroSection() throws SurveySystemException
SurveySystemException
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |