File: WORadioButton.api

package info (click to toggle)
sope 5.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,588 kB
  • sloc: objc: 169,223; sh: 3,823; ansic: 3,409; javascript: 446; python: 318; makefile: 185
file content (32 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" standalone="yes"?> 

<wo class="WORadioButton">
  <binding name="selection" passthrough="NO" settable="YES"/>
  <binding name="checked" passthrough="NO" settable="YES"/>

  <binding name="name"/>
  <binding name="value"/>
  <binding name="disabled" passthrough="NO" defaults="YES/NO"/>

  <binding name="otherTagString" passthrough="NO"/>

  <validation message="exactly one of &apos;checked&apos; or &apos;value&apos; must be bound">
    <count test="!=1">
      <bound name="checked"/>
      <bound name="value"/>
    </count>
  </validation>

  <validation message="if either &apos;selection&apos; or &apos;value&apos; is bound, then both must be bound">
    <and>
      <or>
        <bound name="selection"/>
        <bound name="value"/>
      </or>
      <count test="&lt;2">
        <bound name="selection"/>
        <bound name="value"/>
      </count>
    </and>
  </validation>
</wo>