Difference between revisions of "Progressbar"

From Lianjapedia
Jump to: navigation, search
(Description)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 +
 +
====Description====
 +
Shown below in a standalone [[Form]].  Click the image to see in a [[Custom_Sections_and_Gadgets|Custom Section]] in a Lianja [[Page Attributes|Page]].
 +
 +
[[{{ns:file}}:progressbar.png|link={{filepath:progressbar_cs.png}}|Progressbar]]
 +
 +
Progressbars are vertical or horizontal bar controls for displaying minimum, current (%) and maximum numeric values.
  
 
====Properties====
 
====Properties====
Line 5: Line 12:
 
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" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Property  
 
!width="20%"|Property  
 
!Access (R/RW)
 
!Access (R/RW)
Line 11: Line 18:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
|Text
+
 
|RW
+
|Character
+
|Text associated with the progressbar
+
|-
+
|Value
+
|RW
+
|Numeric
+
|Current progressbar value
+
|-
+
 
|valign="top"|Alignment
 
|valign="top"|Alignment
 
|valign="top"|RW
 
|valign="top"|RW
Line 40: Line 38:
 
|Numeric
 
|Numeric
 
|Orientation: 0 = horizontal, 1 = vertical
 
|Orientation: 0 = horizontal, 1 = vertical
 +
|-
 +
|Text
 +
|RW
 +
|Character
 +
|Text associated with the progressbar
 +
|-
 +
|Value
 +
|RW
 +
|Numeric
 +
|Current progressbar value
 
|-
 
|-
 
|}
 
|}
Line 47: Line 55:
 
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" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Method
 
!width="20%"|Method
 
!Args
 
!Args
Line 62: Line 70:
 
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" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args

Latest revision as of 10:49, 9 April 2018

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Description

Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.

Progressbar

Progressbars are vertical or horizontal bar controls for displaying minimum, current (%) and maximum numeric values.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
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
Text RW Character Text associated with the progressbar
Value RW Numeric Current progressbar value

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