Difference between revisions of "Label"

From Lianjapedia
Jump to: navigation, search
m (Yvonne.milne moved page Visage Application Framework - Label to Label without leaving a redirect)
Line 1: Line 1:
 +
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 +
 
====Properties====
 
====Properties====
  
Line 9: Line 11:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
 
+
|Editable
|caption
+
 
|RW
 
|RW
|string
+
|Boolean
|
+
|Whether label is editable
 
|-
 
|-
 
+
|Text
|editable
+
 
|RW
 
|RW
|boolean
+
|Character
|
+
|Text displayed in the Label
 
|-
 
|-
 
+
|Value
|valign="top"|alignment
+
|RW
 +
|Character
 +
|Text displayed in the Label
 +
|-
 +
|Caption
 +
|RW
 +
|Character
 +
|Text displayed in the Label
 +
|-
 +
|valign="top"|Alignment
 
|valign="top"|RW
 
|valign="top"|RW
|valign="top"|numeric
+
|valign="top"|Numeric
|0=left<br>1=right<br>2=center
+
|valign="top"|Alignment of text: 0=left<br>1=right<br>2=center
 
|-
 
|-
 
+
|WordWrap
|wordwrap
+
 
|RW
 
|RW
|boolean
+
|Boolean
|
+
|Whether text is word-wrapped
 
|-
 
|-
 
+
|Indent
|indent
+
 
|RW
 
|RW
|numeric
+
|Numeric
|
+
|Indent in pixels
 
|-
 
|-
 
+
|valign="top"|Gradient
|valign="top"|gradient
+
 
|valign="top"|RW
 
|valign="top"|RW
|valign="top"|numeric
+
|valign="top"|Numeric
|1=top to bottom<br>2=left to right<br>3=top left to bottom right<br>4=top right to bottom left
+
|valign="top"|Gradient type: 0 = none, 1 = vertical spread, 2 = left to right, 3 = right to left, 4 = vertical centered, 5 = iPad style
 
|-
 
|-
 
+
|GradientFromColor
|gradientfromcolor
+
 
|RW
 
|RW
|string
+
|Numeric
|
+
|Gradient start color
 
|-
 
|-
 
+
|GradientToColor
|gradienttocolor
+
 
|RW
 
|RW
|string
+
|Numeric
|
+
|Gradient end color
 
|-
 
|-
 
 
 
 
|}
 
|}
  
Line 81: Line 82:
 
!Args
 
!Args
 
!width="50%"|Description
 
!width="50%"|Description
 
+
|-
 +
|LinkClicked
 +
|link as Character
 +
|Occurs after link is clicked
 +
|-
 
|}
 
|}
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Framework Classes]]
 
[[Category:Framework Classes]]

Revision as of 12:46, 3 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