HP Dx9000 Resources for Developing Touch-Friendly Applications for HP Business - Page 30

<xs:maxInclusive value=4000/&gt

Page 30 highlights

Types related to the information of a button --> The unique name of a button. The data associated with the button action The functionality of a button The interval in miliseconds to simulate a button press if a button is pressed and held A button that is being configured The list of buttons being configured for a system 30

  • 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
  • 33
  • 34
  • 35
  • 36
  • 37

30
Types related to the information of a button
-->
<xs:simpleType name="ButtonId">
<xs:annotation>
<xs:documentation>The unique name of a
button.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="VolumeMuteButton"/>
<xs:enumeration value="VolumeUpButton"/>
<xs:enumeration value="VolumeDownButton"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ButtonActionValue">
<xs:annotation>
<xs:documentation>The data associated with the
button action</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="1024"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ButtonAction">
<xs:annotation>
<xs:documentation>The functionality of a
button</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="LaunchExecutable"/>
<xs:enumeration value="MuteVolume"/>
<xs:enumeration value="IncreaseVolume"/>
<xs:enumeration value="DecreaseVolume"/>
<xs:enumeration value="IncreaseDisplayBrightness"/>
<xs:enumeration value="DecreaseDisplayBrightness"/>
<xs:enumeration value="ToggleDisplayOnOff"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AutoRepeatInterval">
<xs:annotation>
<xs:documentation>The interval in miliseconds to
simulate a button press if a button is pressed and held</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minInclusive value="200"/>
<xs:maxInclusive value="4000"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Button">
<xs:annotation>
<xs:documentation>A button that is being
configured</xs:documentation>
</xs:annotation>
<xs:attribute name="Id" type="hpcfg:ButtonId"
use="required"/>
<xs:attribute name="Enabled" type="xs:boolean"
use="required"/>
<xs:attribute name="Action" type="hpcfg:ButtonAction"
use="optional"/>
<xs:attribute name="ActionValue"
type="hpcfg:ButtonActionValue" use="optional"/>
<xs:attribute name="AutoRepeatEnabled" type="xs:boolean"
use="optional"/>
<xs:attribute name="AutoRepeatInterval"
type="hpcfg:AutoRepeatInterval" use="optional"/>
</xs:complexType>
<xs:complexType name="Buttons">
<xs:annotation>
<xs:documentation>The list of buttons being
configured for a system</xs:documentation>