Pakket | com.adobe.icomm.assetplacement.model |
Klasse | public class Resource |
Overerving | Resource PackageElement Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
altText : String [alleen-lezen]
Alternative text (alt text) is used as a replacement for an image, whenever the image
cannot be seen. | Resource | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
contentType : String [alleen-lezen]
Identifies the content type of the the current resource. | Resource | ||
controller : String [alleen-lezen]
Contains a reference to a controller element using an XML id. | Resource | ||
expiration : String [alleen-lezen]
Specifies the expiration date of a given resource. | Resource | ||
namespace : String [alleen-lezen]
The namespace for this element. | PackageElement | ||
source : String [alleen-lezen]
Specifies a reference to an external file resource. | Resource | ||
targetURL : String [alleen-lezen]
Specifies a reference to an external web page. | Resource | ||
xml : XML
The XML this object represents. | PackageElement |
Methode | Gedefinieerd door | ||
---|---|---|---|
Resource()
Constructor. | Resource | ||
Retrieve an attribute of this element. | PackageElement | ||
Retrieve a child value of this element. | PackageElement | ||
Retrieve an attribute of this element's parent. | PackageElement | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Using the expiration attribute specified on the resource, this function calculates whether the resource
is expired based on the current date. | Resource | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
altText | eigenschap |
altText:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen. Every visible image should have alt text, unless the image is purely decorative, that is, it has no function and is used only for visual formatting or decoration. This text will also be used by screen readers.
Implementatie
public function get altText():String
contentType | eigenschap |
controller | eigenschap |
controller:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Contains a reference to a controller element using an XML id. The controller element is the one that references this Resource at runtime.
Implementatie
public function get controller():String
expiration | eigenschap |
expiration:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the expiration date of a given resource. This date must be specified as YYYY-MM-DD. For example, 2009-12-12.
Implementatie
public function get expiration():String
source | eigenschap |
source:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a reference to an external file resource. The set of supported URI schemes (e.g., http, ftp, repository, file) is implementation-defined.
Implementatie
public function get source():String
targetURL | eigenschap |
Resource | () | Constructor |
public function Resource()
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
isExpired | () | methode |
public function isExpired():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Placement Building Block 9.5 |
Runtimeversies: | AIR 1.0, Flash Player 9, Flash Player 10 |
Using the expiration attribute specified on the resource, this function calculates whether the resource is expired based on the current date.
Geretourneerde waardeBoolean — True if the expiration data has passed as of the time of calling this function
and false otherwise
|
Wed Jun 13 2018, 11:42 AM Z