33
5.2.3. Components
[Overview]
Components object is correction of GUI control object mainly.
All GUI controls (Button, Checkbox etc.) are optional.
Components are optional for main XML screen.
As for popup/dialog "Components" are mandatory.
[Definition]
Child Element
m/o
Functionality
o
It displays the text string
(TGP600 up to 16 strings/ HDVseries up to 32strings)
o
It displays BMP format data.
o
It enables the user to enter and modify the text.
o
Button is an object pushed by user.
o
Almost same as Button. Added attributes(border,margin,text)
o
It selects one from a mutually exclusive set of options.
o
When the user pushes the REDIAL key, the phone access to the
outgoing log data that are stored on the XML server.
[Syntax]
<?xml version="1.0" encoding="utf-8"?>
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
<Screen name="Screen1" version=“3.0”>
<Components>
<Label name="Label1" line="2" text="Label1" textAlignment="Left"
area="Phone" />
<TextBox name="TextBox2" area="Phone" line="3" text="TextBox2"
textAlignment="Left" />
<PictureBox name="PictureBox1" left="0" top="0" width="120" height="55"
source="http://aaa/bbb/ccc/pic1.bmp" />
</Components>
</Screen>
</ppxml>
[LCD Image]
None
[Note]
In the following model, PictureBox of above [Syntax] is as follows.
<HDV330/430> *
Height of status bar is 27 pixels.
<PictureBox name="PictureBox1" left="0" top="27" width="120" height="55"
source="http://aaa/bbb/ccc/pic1.bmp" />
Содержание TGP600
Страница 68: ...64 End of doc ...