Difference between revisions of "Label"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 11: | Line 11: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | | | + | |valign="top"|Alignment |
− | | | + | |valign="top"|RW |
− | | | + | |valign="top"|Numeric |
− | + | |valign="top"|Alignment of text: 0 = left, 1 = right, 2 = center | |
− | + | ||
− | + | ||
− | |RW | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
|- | |- | ||
+ | |||
+ | |||
+ | |||
|Caption | |Caption | ||
|RW | |RW | ||
Line 31: | Line 24: | ||
|Text displayed in the Label | |Text displayed in the Label | ||
|- | |- | ||
− | + | ||
− | + | |Editable | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
|RW | |RW | ||
|Boolean | |Boolean | ||
− | |Whether | + | |Whether label is editable |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |||
|valign="top"|Gradient | |valign="top"|Gradient | ||
|valign="top"|RW | |valign="top"|RW | ||
Line 60: | Line 45: | ||
|Numeric | |Numeric | ||
|Gradient end color | |Gradient end color | ||
+ | |- | ||
+ | |Indent | ||
+ | |RW | ||
+ | |Numeric | ||
+ | |Indent in pixels | ||
+ | |- | ||
+ | |Text | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the Label | ||
+ | |- | ||
+ | |Value | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the Label | ||
+ | |- | ||
+ | |WordWrap | ||
+ | |RW | ||
+ | |Boolean | ||
+ | |Whether text is word-wrapped | ||
|- | |- | ||
|} | |} |
Revision as of 10:28, 30 April 2013
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Alignment | RW | Numeric | Alignment of text: 0 = left, 1 = right, 2 = center |
Caption | RW | Character | Text displayed in the Label |
Editable | RW | Boolean | Whether label is editable |
Gradient | RW | Numeric | Gradient type: 0 = none, 1 = vertical spread, 2 = left to right, 3 = right to left, 4 = vertical centered, 5 = iPad style |
GradientFromColor | RW | Numeric | Gradient start color |
GradientToColor | RW | Numeric | Gradient end color |
Indent | RW | Numeric | Indent in pixels |
Text | RW | Character | Text displayed in the Label |
Value | RW | Character | Text displayed in the Label |
WordWrap | RW | Boolean | Whether text is word-wrapped |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|---|---|
LinkClicked | link as Character | Occurs after link is clicked |