Specifications
3-17
Cisco Unified IP Phone Services Application Development Notes
OL-22505-01
Chapter 3 CiscoIPPhone XML Objects
XML Object Definitions
The requirements for the PNG image referenced by the <URL> tag match those that the
CiscoIPPhoneImageFile object uses.
Definition
<CiscoIPPhoneGraphicFileMenu WindowMode="Width Mode of XSI window">
<Title>Image Title goes here</Title>
<Prompt>Prompt text goes here</Prompt>
<LocationX>Horizontal position of graphic</LocationX>
<LocationY>Vertical position of graphic</LocationY>
<URL>Points to the PNG background image</URL>
<MenuItem>
<Name>Same as CiscoIPPhoneGraphicMenu</Name>
<URL>Invoked when the TouchArea is touched</URL>
<TouchArea X1="left edge" Y1="top edge" X2="right edge" Y2="bottom edge"/>
</MenuItem>
</CiscoIPPhoneGraphicFileMenu>
For the description on WindowMode attribute see CiscoIPPhoneImage, page 3-7.
For examples on the use of the WindowMode attribute, see Example, page 3-17
Example
The following XML code shows the useage of WindowMode attribute in
CiscoIPPhoneGraphicFileMenu
object.
• Without WindowMode attribute. See Figure 3-13.
<CiscoIPPhoneGraphicFileMenu>
<Title>Graphic File Menu</Title>
<Prompt>Graphic File Menu</Prompt>
<LocationX>0</LocationX>
<LocationY>0</LocationY>
<URL>http://10.74.63.74:8080/xsi/normal1.png</URL>
<MenuItem>
<Name>dial_1000</Name>
<URL>Dial:1000</URL>
<TouchArea X1="0" Y1="0" X2="160" Y2="168"/>
</MenuItem>
</CiscoIPPhoneGraphicFileMenu>
• With WindowMode attribute set to Normal. See Figure 3-13.
<CiscoIPPhoneGraphicFileMenu WindowMode="Normal">
<Title>Graphic File Menu</Title>
<Prompt>Graphic File Menu</Prompt>
<LocationX>0</LocationX>
<LocationY>0</LocationY>
<URL>http://10.74.63.74:8080/xsi/normal1.png</URL>
<MenuItem>
<Name>dial_1000</Name>
<URL>Dial:1000</URL>
<TouchArea X1="0" Y1="0" X2="160" Y2="168"/>
</MenuItem>
</CiscoIPPhoneGraphicFileMenu>