34
5.2.4. Label
[Overview]
A label is a user interface control which displays text on a form. It is usually a static control; having no
interactivity.
A label is generally used to identify a nearby text box or other widget.
Label is able to display single line. Multiple line text can't.
Actual string display priority of label is shown as below:
Highest priority
Lowest priority
showDateTime
text
[Definition]
Child Element
Attributes
Value
m/o
Functionality
name
String
m
Max. 64 characters
area
Phone
o
Fixed area: Phone
line
1~4 (4 line model)
(HDV130/230)
1~6 (6 line model)
(HDV330/430)
m
The line number to display
the string
text
Displayed string
m
Content text in the label field.
textAlignment
Left/Center/Right
o
Default=Left
showDateTime
true/false
o
Default=false
refreshDateTime
0~86400
o
In second(s)
Default=0
0 means no refresh
[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 version="3.0">
<Components>
<!-- Label's example declaration -->
<Label name="labelTitle" area="Phone" line="2"
text="Screen title" textAlignment="Left" />
<!-- Label's minimal declaration -->
<Label name="labelName" line="3" text="Name"/>
<!-- Label's other example -->
<Label name="lbl123" area="Phone" line=" "
text=" " textAlignment="Left"
showDateTime="true" refreshDateTime="18000"/>
</Components>
</Screen>
</ppxml>
Содержание TGP600
Страница 68: ...64 End of doc ...