Here is an example of a rank order component with four labels to rank:
Here is a list of parameters available for a rankorder component:
Parameter | Value | Description | R/O |
---|---|---|---|
class | RankOrder | Java class name alias a rankorder component. | Req. |
question | text | The question shown to subject. | Req. |
questionfont | font name | The font used for question text. | Opt. |
labels | list of labels | The list of labels that are ranked. | Req. |
labelsfont | font name | The font used for labels and their popup-menus | Opt. |
allowTies | boolean | Whether to allow/disallow ties in ranking. Default is to allow ties (true). | Opt. |
allowIncompleteRanking | boolean | Whether to allow/disallow incomplete ranking (not all labels have been ranked) as a valid answer. Default is incomplete ranking is allowed (true). | Opt. |
# Set question text q5.question=Rank according clarity
# Set labels to rank. q5.labels=A,B,C,DA pop-up menu is created for each label. The pop-up menu is used to select the ranking to that label. There are as many choices as there are labels. For example, if four labels 'A,B,C,D' are used, the pop-up menu has choices 1., 2., 3., and 4. and also an empty choice (rank not given yet or left empty).
# disallow ties q5.allowTies=falseIf ties have been disabled, when a illegal ranking is choosed to a label (there is already a label with that ranking), the pop-up reverts to its previous ranking.
# send answer only when all labels have been given a rank q5.allowIncompleteRanking=falseIf the ranking is changed after a complete answer has been sent, the answer may become incomplete. In that case the component sends a null answer which removes the previous answer and leaves that component in an unanswered state (may disable DONE-button in the subject window because all questions haven't been answered).
# The font of the question q5.questionfont=Serif-italic-24You can use the FontTester tool help you select the fonts you want. See also the API of the Java's Font class.
# Set font for labels and pop-up menus q5.labelsfont=Serif-bold-18