Difference between revisions of "Progressbar"

From Lianjapedia
Jump to: navigation, search
Line 1: Line 1:
 +
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 +
 
====Properties====
 
====Properties====
  
Line 11: Line 13:
 
|Text
 
|Text
 
|RW
 
|RW
|
+
|Character
|
+
|Text associated with the progressbar
 
|-
 
|-
 
|Value
 
|Value
 
|RW
 
|RW
|
+
|Numeric
|
+
|Current progressbar value
 
|-
 
|-
|Alignment
+
|valign="top"|Alignment
|RW
+
|valign="top"|RW
|
+
|valign="top"|Numeric
|
+
|valign="top"|Alignment of percentage label: 0 = left, 1 = right, 2 = center
 
|-
 
|-
 
|Maximum
 
|Maximum
 
|RW
 
|RW
|
+
|Numeric
|
+
|Maximum value
 
|-
 
|-
 
|Minimum
 
|Minimum
 
|RW
 
|RW
|
+
|Numeric
|
+
|Minimum value
 
|-
 
|-
 
|Orientation
 
|Orientation
 
|RW
 
|RW
|
+
|Numeric
|
+
|Orientation: 0 = horizontal, 1 = vertical
 
|-
 
|-
 
|}
 
|}
Line 51: Line 53:
 
|-
 
|-
 
|Reset
 
|Reset
|
+
|None
|
+
|Reset the progressbar to its minimum value
 
|-
 
|-
 
|}
 
|}

Revision as of 08:22, 9 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
Text RW Character Text associated with the progressbar
Value RW Numeric Current progressbar value
Alignment RW Numeric Alignment of percentage label: 0 = left, 1 = right, 2 = center
Maximum RW Numeric Maximum value
Minimum RW Numeric Minimum value
Orientation RW Numeric Orientation: 0 = horizontal, 1 = vertical

Methods

This class supports the Common Methods plus the following:

Method Args Description
Reset None Reset the progressbar to its minimum value

Events

This class supports the Common Events plus the following:

Event Args Description