Difference between revisions of "Label"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
| Line 5: | Line 5: | ||
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | ||
| − | {| class="wikitable" | + | {| class="wikitable" width=100% |
!width="20%"|Property | !width="20%"|Property | ||
!Access (R/RW) | !Access (R/RW) | ||
| Line 67: | Line 67: | ||
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | ||
| − | {| class="wikitable" | + | {| class="wikitable" width=100% |
!width="20%"|Method | !width="20%"|Method | ||
!Args | !Args | ||
| Line 78: | Line 78: | ||
This class supports the [[:Category:Common_Events|Common Events]] plus the following: | This class supports the [[:Category:Common_Events|Common Events]] plus the following: | ||
| − | {| class="wikitable" | + | {| class="wikitable" width=100% |
!width="20%"|Event | !width="20%"|Event | ||
!Args | !Args | ||
Revision as of 12:40, 8 January 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 |
|---|---|---|---|
| Editable | RW | Boolean | Whether label is editable |
| Text | RW | Character | Text displayed in the Label |
| Value | RW | Character | Text displayed in the Label |
| Caption | RW | Character | Text displayed in the Label |
| Alignment | RW | Numeric | Alignment of text: 0 = left, 1 = right, 2 = center |
| WordWrap | RW | Boolean | Whether text is word-wrapped |
| Indent | RW | Numeric | Indent in pixels |
| 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 |
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 |