Difference between revisions of "Webview"

From Lianjapedia
Jump to: navigation, search
m (Yvonne.milne moved page Visage Application Framework - Webview to Webview without leaving a redirect)
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 '''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
 
|-
 
|-
 
+
|Html||R||Character||HTML text to be rendered
 +
|-
 +
|Url||RW||Character||URL to be rendered
 +
|-
 +
|RefreshInterval||RW||Numeric||Interval in seconds that the content will be refreshed
 +
|-
 +
|Username||RW||Character||Username for URL
 +
|-
 +
|Password||RW||Character||Password for URL
 +
|-
 
|}
 
|}
  
Line 16: Line 27:
 
This class supports the '''Common methods''' plus the following:
 
This class supports the '''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
 
+
|-
 +
|Back||None||Go back one page
 +
|-
 +
|Forward||None||Go forward one page
 +
|-
 +
|Reload||None||Reload current page
 +
|-
 +
|Stop||None||Stop loading page
 +
|-
 +
|Print||None||Print page
 +
|-
 +
|valign=top|Evaluate||valign=top|text as Character||Evaluates the JavaScript in text and returns the result of the last executed statement
 +
|-
 +
|Write||text as Character||Output the specified text
 +
|-
 +
||WriteTag||tag as Character, text as Character||Output the specified text, tagged with the specified tag
 +
|-
 +
|Clear||None||Clear page
 +
|-
 
|}
 
|}
  
Line 27: Line 56:
 
This class supports the '''Common events''' plus the following:
 
This class supports the '''Common events''' plus the following:
  
{| class="wikitable"
+
{| class="wikitable" width=100%
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args
 
!width="50%"|Description
 
!width="50%"|Description
 
+
|-
 +
|valign=top|linkClicked||valign=top|link as Character||Occurs after link is clicked (not called if showdocument link: 'app:', 'page:', 'section:', 'recital::', 'vfp:', 'python:', 'php:' or 'jscript:')
 +
|-
 
|}
 
|}
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Framework Classes]]
 
[[Category:Framework Classes]]

Revision as of 12:28, 8 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
Html R Character HTML text to be rendered
Url RW Character URL to be rendered
RefreshInterval RW Numeric Interval in seconds that the content will be refreshed
Username RW Character Username for URL
Password RW Character Password for URL

Methods

This class supports the Common methods plus the following:

Method Args Description
Back None Go back one page
Forward None Go forward one page
Reload None Reload current page
Stop None Stop loading page
Print None Print page
Evaluate text as Character Evaluates the JavaScript in text and returns the result of the last executed statement
Write text as Character Output the specified text
WriteTag tag as Character, text as Character Output the specified text, tagged with the specified tag
Clear None Clear page

Events

This class supports the Common events plus the following:

Event Args Description
linkClicked link as Character Occurs after link is clicked (not called if showdocument link: 'app:', 'page:', 'section:', 'recital::', 'vfp:', 'python:', 'php:' or 'jscript:')