Difference between revisions of "Hyperlink"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(12 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}}:hyperlink.png|link={{filepath:extras_cs.png}}|Hyperlink]] | ||
+ | |||
+ | The Hyperlink is a clickable control displaying an image or text. Clicking the control passes the hyperlink link text to a defined click or linkclicked event delegate. | ||
+ | |||
====Properties==== | ====Properties==== | ||
− | This class supports the | + | 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 | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |Caption | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed | ||
+ | |- | ||
+ | |Hyperlink | ||
+ | |RW | ||
+ | |Character | ||
+ | |Link text | ||
|- | |- | ||
|Picture | |Picture | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Filename of image displayed |
|- | |- | ||
|Stretch | |Stretch | ||
− | |||
− | |||
− | |||
− | |||
|RW | |RW | ||
− | | | + | |Boolean |
− | | | + | |Whether Picture should be scaled |
|- | |- | ||
+ | |||
|} | |} | ||
====Methods==== | ====Methods==== | ||
− | This class supports the | + | 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 | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 42: | Line 54: | ||
====Events==== | ====Events==== | ||
− | This class supports the | + | 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 | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |linkClicked | ||
+ | |link as Character | ||
+ | |Occurs after link is clicked | ||
+ | |- | ||
|} | |} | ||
+ | |||
+ | [[Category:Documentation]] | ||
+ | [[Category:Framework Classes]] |
Latest revision as of 04:58, 13 April 2018
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.
The Hyperlink is a clickable control displaying an image or text. Clicking the control passes the hyperlink link text to a defined click or linkclicked event delegate.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed |
Hyperlink | RW | Character | Link text |
Picture | RW | Character | Filename of image displayed |
Stretch | RW | Boolean | Whether Picture should be scaled |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|---|---|
linkClicked | link as Character | Occurs after link is clicked |