Difference between revisions of "Collection"

From Lianjapedia
Jump to: navigation, search
m (Yvonne.milne moved page Visage Application Framework - Collection to Collection without leaving a redirect)
 
(6 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.
 +
 
====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)
Line 9: Line 11:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
 
+
|Count
 +
|R
 +
|Numeric
 +
|Returns number of items
 +
|-
 
|}
 
|}
  
 
====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
 
+
|-
 +
|valign="top"|Add
 +
|valign="top"|name as Character, value as Expr
 +
|valign="top"|Adds the specified item to the collection
 +
|-
 +
|valign="top"|Clear
 +
|valign="top"|None
 +
|valign="top"|Remove all items from the collection
 +
|-
 +
|valign="top"|Item
 +
|valign="top"|name as Character | index as Numeric
 +
|valign="top"|Returns the specified item
 +
|-
 +
|valign="top"|Remove
 +
|valign="top"|name as Character
 +
|valign="top"|Removes the specified item from the collection
 +
|-
 
|}
 
|}
  
 
====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

Latest revision as of 05:57, 30 April 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
Count R Numeric Returns number of items

Methods

This class supports the Common Methods plus the following:

Method Args Description
Add name as Character, value as Expr Adds the specified item to the collection
Clear None Remove all items from the collection
Item name as Character | index as Numeric Returns the specified item
Remove name as Character Removes the specified item from the collection

Events

This class supports the Common Events plus the following:

Event Args Description