Difference between revisions of "PageBuilder"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 51: | Line 51: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |Add | ||
+ | |None | ||
+ | |Add a record and enter edit mode for the new record | ||
|- | |- | ||
|valign="top"|AddSection | |valign="top"|AddSection | ||
|valign="top"|id as Character, type as Character | |valign="top"|id as Character, type as Character | ||
|valign="top"|Add a new section with the specified id and section type | |valign="top"|Add a new section with the specified id and section type | ||
+ | |- | ||
+ | |valign="top"|ApplyRules | ||
+ | |valign="top"|None | ||
+ | |valign="top"|Applies UI presentation rules for the page | ||
+ | |- | ||
+ | |Cancel | ||
+ | |None | ||
+ | |Cancel data changes | ||
+ | |- | ||
+ | |Delete | ||
+ | |None | ||
+ | |Delete the current record | ||
+ | |- | ||
+ | |Edit | ||
+ | |None | ||
+ | |Toggle edit mode for the current record | ||
+ | |- | ||
+ | |Editmode | ||
+ | |None | ||
+ | |Enter edit mode for the current record | ||
+ | |- | ||
+ | |First | ||
+ | |None | ||
+ | |Move to the first data record | ||
|- | |- | ||
|valign="top"|Item | |valign="top"|Item | ||
|valign="top"|position as Numeric | |valign="top"|position as Numeric | ||
|valign="top"|Return a reference to the Section object at the specified position | |valign="top"|Return a reference to the Section object at the specified position | ||
+ | |- | ||
+ | |Last | ||
+ | |None | ||
+ | |Move to the last data record | ||
+ | |- | ||
+ | |Next | ||
+ | |None | ||
+ | |Move to the next data record | ||
+ | |- | ||
+ | |Previous | ||
+ | |None | ||
+ | |Move to the previous data record | ||
+ | |- | ||
+ | |Refresh | ||
+ | |None | ||
+ | |Refresh the section | ||
|- | |- | ||
|RemoveSection | |RemoveSection | ||
− | | | + | |id as Character |
|Remove the specified section | |Remove the specified section | ||
+ | |- | ||
+ | |Save | ||
+ | |None | ||
+ | |Save data changes | ||
|- | |- | ||
|} | |} |
Revision as of 09:54, 13 August 2014
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 |
---|---|---|---|
ActiveSection | RW | Object | Return an object reference to the currently active section |
Caption | RW | Character | Caption text |
Count | R | Numeric | Number of Sections in the Page |
Id | R | Character | Object's Id |
NavigationPanel | RW | Object | Return an object reference to the currently active Navigation Panel |
Title | RW | Character | Menu title text |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
Add | None | Add a record and enter edit mode for the new record |
AddSection | id as Character, type as Character | Add a new section with the specified id and section type |
ApplyRules | None | Applies UI presentation rules for the page |
Cancel | None | Cancel data changes |
Delete | None | Delete the current record |
Edit | None | Toggle edit mode for the current record |
Editmode | None | Enter edit mode for the current record |
First | None | Move to the first data record |
Item | position as Numeric | Return a reference to the Section object at the specified position |
Last | None | Move to the last data record |
Next | None | Move to the next data record |
Previous | None | Move to the previous data record |
Refresh | None | Refresh the section |
RemoveSection | id as Character | Remove the specified section |
Save | None | Save data changes |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|