套件 | com.adobe.icc.external.dc |
類別 | public class InvokeParams |
繼承 | InvokeParams EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
dataDebug : Boolean
True if DC should be run in data debug mode (which means the ICC Data is dumped to the Flash Log on every push to the PDF and inactive letters can be reloaded). | InvokeParams | ||
dataUrl : String
Get/set the URL to the XML file to be used as initial data. | InvokeParams | ||
ddkeMap : Map
Get/set Data Dictionary Key Element (ddke) Map: map of key/value pairs (String to String) provided for key elements whose values
are required in order to obtain an instance of the DD used by the letter. | InvokeParams | ||
debug : Boolean
True if DC should be run in debug mode (which means, amongst other things, performance metrics are output and the "Load Letter" screen is displayed if
a letter isn't specified in the usual parameters. | InvokeParams | ||
fbDebug : Boolean
True if FormBridge should be run in debug mode. | InvokeParams | ||
hasInlineData : Boolean
Read-only. | InvokeParams | ||
invokeUrl : String [唯讀]
The invocation URL (should be absolute) or null if this InvokeParams object wasn't constructed from one. | InvokeParams | ||
letterId : String
The ID (GUID) of the letter to fill. | InvokeParams | ||
letterName : String
The name (version-independent) of the letter to fill. | InvokeParams | ||
letterVersion : int
The version of the letter to fill. | InvokeParams | ||
preview : Boolean
True if DC is being invoked in preview mode; false otherwise. | InvokeParams | ||
useLatest : Boolean
True if the latest assets/modules are to be used for previewing the specified letter. | InvokeParams | ||
useTestData : Boolean
True if the letter's test data should be used as the initial data. | InvokeParams | ||
xmlData : XML
Get/set XML to be used as initial data. | InvokeParams | ||
xmlDataSpecified : Boolean
True if XML data is specified in the URL (meaning at least one of xmlData or dataUrl is specified). | InvokeParams |
方法 | 定義自 | ||
---|---|---|---|
InvokeParams(url:String = null)
Determines the invocation parameters based on the specified URL. | InvokeParams | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
Adds an entry to the ddkeMap for the specified key/value pair. | InvokeParams | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Encodes the invocation parameters into a string of URL parameters separated by '&' characters. | InvokeParams | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
[覆寫]
Provides a string representation of this class. | InvokeParams | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
常數 | 定義自 | ||
---|---|---|---|
MIN_PUBLISHED_VERSION : int = 1 [靜態]
Minimum published version of the Letter. | InvokeParams | ||
URLPARAM_DATA : String = "unknown" [靜態] URL parameter pre-defined key name for inline initial XML data. | InvokeParams | ||
URLPARAM_DATAURL : String = "unknown" [靜態]
URL parameter pre-defined key name for initial XML data file location (internal or external to host, must be absolute). | InvokeParams | ||
URLPARAM_LETTERID : String = "unknown" [靜態]
URL parameter pre-defined key name for letter ID (GUID). | InvokeParams | ||
URLPARAM_LETTERNAME : String = "unknown" [靜態]
URL parameter pre-defined key name for letter name (version-independent). | InvokeParams | ||
URLPARAM_LETTERVERSION : String = "unknown" [靜態]
URL parameter pre-defined key name for letter version (only applies, and is required for, the archived state). | InvokeParams | ||
URLPARAM_PREVIEW : String = "unknown" [靜態]
URL parameter pre-defined key name for specifying preview mode. | InvokeParams | ||
URLPARAM_USELATEST : String = "unknown" [靜態]
URL parameter pre-defined key name for using latest assets for previewing the specified letter. | InvokeParams | ||
URLPARAM_USETESTDATA : String = "unknown" [靜態]
URL parameter pre-defined key name for using test data for specified letter. | InvokeParams |
dataDebug | 屬性 |
dataDebug:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if DC should be run in data debug mode (which means the ICC Data is dumped to the Flash Log on every push to the PDF and inactive letters can be reloaded).
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get dataDebug():Boolean
public function set dataDebug(value:Boolean):void
dataUrl | 屬性 |
dataUrl:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get/set the URL to the XML file to be used as initial data.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get dataUrl():String
public function set dataUrl(value:String):void
ddkeMap | 屬性 |
ddkeMap:Map
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get/set Data Dictionary Key Element (ddke) Map: map of key/value pairs (String to String) provided for key elements whose values are required in order to obtain an instance of the DD used by the letter.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get ddkeMap():Map
public function set ddkeMap(value:Map):void
debug | 屬性 |
debug:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if DC should be run in debug mode (which means, amongst other things, performance metrics are output and the "Load Letter" screen is displayed if a letter isn't specified in the usual parameters.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get debug():Boolean
public function set debug(value:Boolean):void
fbDebug | 屬性 |
fbDebug:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if FormBridge should be run in debug mode.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get fbDebug():Boolean
public function set fbDebug(value:Boolean):void
fbDebugValue | 屬性 |
fbDebugValue:String
實作
icc_internal function get fbDebugValue():String
icc_internal function set fbDebugValue(value:String):void
hasInlineData | 屬性 |
hasInlineData:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Read-only. Determines if the invocation parameters include inline data such as XML data or a Data Dictionary Key Element Map.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get hasInlineData():Boolean
public function set hasInlineData(value:Boolean):void
invokeUrl | 屬性 |
letterId | 屬性 |
letterId:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The ID (GUID) of the letter to fill. If specified, letterName
, letterState
and letterVersion
are ignored.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get letterId():String
public function set letterId(value:String):void
letterName | 屬性 |
letterName:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name (version-independent) of the letter to fill.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get letterName():String
public function set letterName(value:String):void
letterVersion | 屬性 |
letterVersion:int
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The version of the letter to fill.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get letterVersion():int
public function set letterVersion(value:int):void
preview | 屬性 |
preview:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if DC is being invoked in preview mode; false otherwise.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get preview():Boolean
public function set preview(value:Boolean):void
useLatest | 屬性 |
useLatest:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the latest assets/modules are to be used for previewing the specified letter.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get useLatest():Boolean
public function set useLatest(value:Boolean):void
useTestData | 屬性 |
useTestData:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the letter's test data should be used as the initial data.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get useTestData():Boolean
public function set useTestData(value:Boolean):void
xmlData | 屬性 |
xmlData:XML
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get/set XML to be used as initial data. XML Data is passed-in as a URL-encoded string and is decoded into XML in this property.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get xmlData():XML
public function set xmlData(value:XML):void
xmlDataSpecified | 屬性 |
xmlDataSpecified:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if XML data is specified in the URL (meaning at least one of xmlData
or dataUrl
is specified).
This is only valid if the data does not require prior knowledge of the letter in order to be accessed. This means that the
useTestData
property has no baring on this property at all since using a letter's test data implies that the
letter ID or name/state/version is always specified. Furthermore, the existence of Data Dictionary Key Element pairs
(ddkeMap
) has no influence on this property either.
Note: A value of true does not imply the specified data parameter provides existing and/or valid XML data.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get xmlDataSpecified():Boolean
public function set xmlDataSpecified(value:Boolean):void
InvokeParams | () | 建構函式 |
public function InvokeParams(url:String = null)
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines the invocation parameters based on the specified URL. If the app is currently running in a Flash Debug Player, a URL parameter with the name 'debug' will be ignored. Otherwise, it'll be treated as a DDKE key/value pair.
參數url:String (default = null ) — The absolute url from which to extract the parameters. If null, defaults are used.
|
addKeyPair | () | 方法 |
public function addKeyPair(key:String, value:String):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds an entry to the ddkeMap for the specified key/value pair. If the key already exists, the existing value is overwritten with the specified value.
參數
key:String — The name of the Data Dictionary Key Element.
| |
value:String — the value for the key.
|
encode | () | 方法 |
public function encode():String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Encodes the invocation parameters into a string of URL parameters separated by '&' characters.
傳回值String — URL parameter string representing the invocation parameters. If letterId is null, parameters
related to the letter, such as useTestData, xmlData, and ddkeMap, are not output.
|
toString | () | 方法 |
override public function toString():String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Provides a string representation of this class. NOTE: This is meant for debugging, not encoding into a URL. Use the encode() method for that.
傳回值String — String representation of this class.
|
MIN_PUBLISHED_VERSION | 常數 |
public static const MIN_PUBLISHED_VERSION:int = 1
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Minimum published version of the Letter.
URLPARAM_DATA | 常數 |
public static const URLPARAM_DATA:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for inline initial XML data.
URLPARAM_DATAURL | 常數 |
public static const URLPARAM_DATAURL:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for initial XML data file location (internal or external to host, must be absolute).
URLPARAM_LETTERID | 常數 |
public static const URLPARAM_LETTERID:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for letter ID (GUID). If specified, overrides letter name, state and version.
URLPARAM_LETTERNAME | 常數 |
public static const URLPARAM_LETTERNAME:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for letter name (version-independent).
URLPARAM_LETTERVERSION | 常數 |
public static const URLPARAM_LETTERVERSION:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for letter version (only applies, and is required for, the archived state).
URLPARAM_PREVIEW | 常數 |
public static const URLPARAM_PREVIEW:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for specifying preview mode.
URLPARAM_USELATEST | 常數 |
public static const URLPARAM_USELATEST:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for using latest assets for previewing the specified letter.
URLPARAM_USETESTDATA | 常數 |
public static const URLPARAM_USETESTDATA:String = "unknown"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
URL parameter pre-defined key name for using test data for specified letter.
Tue Jun 12 2018, 03:47 PM Z