Difference between revisions of "Progressbar"

From Lianjapedia
Jump to: navigation, search
(Created page with '====Properties==== This class supports the '''Common properties''' plus the following: {| class="wikitable" !width="20%"|Property !Access (R/RW) !Value !width="50%"|Description…')
 
(Description)
 
(11 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.
 +
 +
====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====
  
This class supports the '''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)
 
!Value
 
!Value
Line 10: Line 19:
 
|-
 
|-
  
 +
|valign="top"|Alignment
 +
|valign="top"|RW
 +
|valign="top"|Numeric
 +
|valign="top"|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====
 
====Methods====
  
This class supports the '''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
 
!width="50%"|Description
 
!width="50%"|Description
 
+
|-
 +
|Reset
 +
|None
 +
|Reset the progressbar to its minimum value
 +
|-
 
|}
 
|}
  
 
====Events====
 
====Events====
  
This class supports the '''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
Line 33: Line 76:
  
 
|}
 
|}
 +
 +
[[Category:Documentation]]
 +
[[Category:Framework Classes]]

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