Here is an example of a play panel choice with three choices:
Here is a list of parameters available for a play panel controller:
Parameter | Value | Description | R/O |
---|---|---|---|
class | guinea.ui.PlayPanel | Java class name of the PlayPanel component | Req. |
font | font name | The font used for buttons. | Opt. |
choices | list of choices | The choicess sent by the play component when the corresponding label is pressed. The list is a comma separated list of choices (strings only currently). | Req. |
labels | list of labels | The labels shown to the subject. The subject selects one of the choices and the corresponding choice is sent. The list is a comma separated list of strings that are shown as labels. | Opt. |
# The font for the buttons play.font=SansSerif-bold-48You can use the FontTester tool help you select the fonts you want. See also the API of the Java's Font class.
# Set choices (and labels) play.choices=Ref,A,BThis sets the choices and labels as shown in the window example above. If no labels are specified, the choices will be used as labels also. In this case it acts the same as this:
# Set choices and corresponding labels play.choices=Ref,A,B play.labels=Ref,A,BLabels are used for displaying the selections to the subject. Example:
# Set choices and labels play.choices=Ref,A,B play.labels=Reference,System A,System Bthe labels shown are 'Reference', 'System A' and 'System B' instead of 'Ref', 'A' and 'B'. Then the subjects selects 'System A', 'A' will sent to the test system as the command.