套件 | ga.model |
介面 | public interface ILayoutHost extends IUIComponent , IEventDispatcher , IStyleClient , IFlexDisplayObject , ISimpleStyleClient , IBitmapDrawable , IEventDispatcher |
實作者 | LayoutTemplate |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
此顯示物件的目前輔助功能選項。 | IFlexDisplayObject | ||
alpha : Number
指出所指定物件的 Alpha 透明度值。 | IFlexDisplayObject | ||
baselinePosition : Number [唯讀]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
baseReferenceChain : BaseReferenceChain [唯讀]
The chain of bindings up the ancestor chain. | ILayoutHost | ||
blendMode : String
來自 BlendMode 類別的值,會指定要使用何種混合模式。 | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
如果設定為 true,Flash 執行階段會快取顯示物件的內部點陣圖表示法。 | IFlexDisplayObject | ||
className : String [唯讀]
The name of the component class. | IStyleClient | ||
dataProvider : Object
The data provider that is bound to this panel layout. | ILayoutHost | ||
defaultCaptionWidth : int
The default caption width for each panel item within a panel layout. | ILayoutHost | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [唯讀]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [唯讀]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [唯讀]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [唯讀]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。 | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
height : Number
會指出顯示物件的高度,以像素為單位。 | IFlexDisplayObject | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
inheritingStyles : Object
An object containing the inheritable styles for this component. | IStyleClient | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo [唯讀]
會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。 | IFlexDisplayObject | ||
mask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。 | IFlexDisplayObject | ||
maxHeight : Number [唯讀]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [唯讀]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [唯讀]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [唯讀]
The measured width of this object. | IFlexDisplayObject | ||
minHeight : Number [唯讀]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minWidth : Number [唯讀]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseX : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 x 座標,以像素為單位。 | IFlexDisplayObject | ||
mouseY : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 y 座標,以像素為單位。 | IFlexDisplayObject | ||
name : String
指出 DisplayObject 的實體名稱。 | IFlexDisplayObject | ||
nonInheritingStyles : Object
An object containing the noninheritable styles for this component. | IStyleClient | ||
opaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。 | IFlexDisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
panel : Panel
the parent panel of the layout. | ILayoutHost | ||
panelItems : Array
An array of panel items that are slotted into the panel layout. | ILayoutHost | ||
parent : DisplayObjectContainer [唯讀]
指出包含此顯示物件的 DisplayObjectContainer 物件。 | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
root : DisplayObject [唯讀]
對載入之 SWF 檔案的顯示物件而言,root 屬性就是該 SWF 檔案所呈現之顯示清單樹狀結構部分的最上層顯示物件。 | IFlexDisplayObject | ||
rotation : Number
指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。 | IFlexDisplayObject | ||
scale9Grid : Rectangle
目前產生效用的縮放格線。 | IFlexDisplayObject | ||
scaleX : Number
指出從註冊點套用的物件水平縮放 (百分比)。 | IFlexDisplayObject | ||
scaleY : Number
指出從物件註冊點套用的物件垂直縮放 (百分比)。 | IFlexDisplayObject | ||
scrollRect : Rectangle
顯示物件的捲動矩形範圍。 | IFlexDisplayObject | ||
sizeState : int
The size state of this panel in the Guide layout. | ILayoutHost | ||
stage : Stage [唯讀]
顯示物件的「舞台」。 | IFlexDisplayObject | ||
styleDeclaration : CSSStyleDeclaration
The style declaration that holds the inline styles declared by this
object. | IStyleClient | ||
styleName : Object
The source of this object's style values. | ISimpleStyleClient | ||
supportsDynamicAlignmentAreas : Boolean [唯讀]
Indicates that this layout supports a dynamic number of alignment areas. | ILayoutHost | ||
supportsKeepWithPrevious : Boolean [唯讀]
Indicates that this layout supports the keep with previous hint on a panel item. | ILayoutHost | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
transform : flash.geom:Transform
這是一個物件,具有和顯示物件的矩陣、顏色轉換和像素邊界有關的屬性。 | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
visible : Boolean
不管是否看得見顯示物件。 | IFlexDisplayObject | ||
width : Number
會指出顯示物件的寬度,以像素為單位。 | IFlexDisplayObject | ||
x : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 x 座標。 | IFlexDisplayObject | ||
y : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 y 座標。 | IFlexDisplayObject |
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
Deletes a style property from this component instance. | IStyleClient | ||
Clone this panel layout. | ILayoutHost | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
Execute all bindings within this panel layout. | ILayoutHost | ||
Returns all display objects on this panel. | ILayoutHost | ||
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。 | IFlexDisplayObject | ||
Returns an Array of CSSStyleDeclaration objects for the type selector
that applies to this component, or null if none exist. | IStyleClient | ||
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
Returns the bound visible fields which are referenced in this layout. | ILayoutHost | ||
Returns the first panel item in the panel layout. | ILayoutHost | ||
Get label corresponding to the index in the data provider. | ILayoutHost | ||
Return an array of name areas or groups that this layout supports. | ILayoutHost | ||
getPanelItems(visibleItemsOnly:Boolean = false, container:DisplayObjectContainer = null, itemList:Array = null):Array
Returns the panel items contained in the panel layout. | ILayoutHost | ||
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。 | IFlexDisplayObject | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | IStyleClient | ||
將 point 物件從「舞台」(全域) 座標轉換成顯示物件的 (區域) 座標。 | IFlexDisplayObject | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
評估顯示物件的範圍框,看它是否與 obj 顯示物件的範圍框重疊或相交。 | IFlexDisplayObject | ||
評估顯示物件,看它是否與 x 和 y 參數所指定的點重疊或相交。 | IFlexDisplayObject | ||
Initialize the object. | IUIComponent | ||
True if this is a panel containing is a document of record. | ILayoutHost | ||
True if this is a panel containing a PDF rendition. | ILayoutHost | ||
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。 | IFlexDisplayObject | ||
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | ||
Propagates style changes to the children of this component. | IStyleClient | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | ||
Sets up the internal style cache values so that the getStyle()
method functions. | IStyleClient | ||
Registers the EffectManager as one of the event listeners for each effect event. | IStyleClient | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
Resets the fields in a container. | ILayoutHost | ||
Sets the actual size of this object. | IFlexDisplayObject | ||
set the selected panel on this layout. | ILayoutHost | ||
Sets a style property on this component instance. | IStyleClient | ||
Called when the visible property changes. | IUIComponent | ||
Called when the value of a style property is changed. | ISimpleStyleClient | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
baseReferenceChain | 屬性 |
baseReferenceChain:BaseReferenceChain
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The chain of bindings up the ancestor chain. Items in the panel will bind relative to a base reference in the ancestor chain. If the item binding is not relative to any base references in the ancestor chain it will be bind using the absolute address.
實作
public function get baseReferenceChain():BaseReferenceChain
dataProvider | 屬性 |
dataProvider:Object
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The data provider that is bound to this panel layout. Can be a single instance or a collection/instanceManager.
實作
public function get dataProvider():Object
public function set dataProvider(value:Object):void
defaultCaptionWidth | 屬性 |
defaultCaptionWidth:int
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The default caption width for each panel item within a panel layout.
實作
public function get defaultCaptionWidth():int
public function set defaultCaptionWidth(value:int):void
panel | 屬性 |
panel:Panel
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
the parent panel of the layout.
實作
public function get panel():Panel
public function set panel(value:Panel):void
panelItems | 屬性 |
sizeState | 屬性 |
sizeState:int
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
The size state of this panel in the Guide layout. This determines whether or not a panel is displayed full screen. 0 - display the panel normal size along with the panel navigator. non-zero - display the panel full screen.
實作
public function get sizeState():int
public function set sizeState(value:int):void
supportsDynamicAlignmentAreas | 屬性 |
supportsDynamicAlignmentAreas:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Indicates that this layout supports a dynamic number of alignment areas. This is queried by guide builder and is a design time parameter. When dynamic alignment areas are supported the designer will automatically create a new alignment area when the last alignment area is used.
實作
public function get supportsDynamicAlignmentAreas():Boolean
supportsKeepWithPrevious | 屬性 |
supportsKeepWithPrevious:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Indicates that this layout supports the keep with previous hint on a panel item. This is queried by guide builder and is a design time parameter. When keep with previous is supported the layout will position a panel item with keep with previous set to the right of the last panel item added to the layout.
實作
public function get supportsKeepWithPrevious():Boolean
clone | () | 方法 |
executeBindings | () | 方法 |
public function executeBindings(recurse:Boolean = false):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Execute all bindings within this panel layout.
參數
recurse:Boolean (default = false ) — whether to recursively call executeBinding of child objects.
|
getAllItems | () | 方法 |
public function getAllItems(container:DisplayObjectContainer = null, itemList:Array = null):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns all display objects on this panel. Recursively searches through all DisplayObjectContainers inside this panel.
參數
container:DisplayObjectContainer (default = null ) — - the container to start the search. If null defaults to this object.
| |
itemList:Array (default = null ) — - the array to append the results. If null creates a new array.
|
Array — the array containing all display objects.
|
getFields | () | 方法 |
public function getFields(visibleFieldsOnly:Boolean = false, container:DisplayObjectContainer = null):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns the bound visible fields which are referenced in this layout.
參數
visibleFieldsOnly:Boolean (default = false ) — - Set to true if the visible flelds are required. The default value is false.
| |
container:DisplayObjectContainer (default = null ) — - The container to search for panelItems/fields (used for recursive searches).
|
Array — The array of fields
|
getFirstPanelItem | () | 方法 |
public function getFirstPanelItem(oContainer:DisplayObjectContainer = null):IPanelItem
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns the first panel item in the panel layout.
參數
oContainer:DisplayObjectContainer (default = null ) — the container to being searching for the first panel item.
|
IPanelItem — the first panel item
|
getLabelAt | () | 方法 |
getNamedAreas | () | 方法 |
public function getNamedAreas():Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Return an array of name areas or groups that this layout supports. This is queried by guide builder and is a design time parameter.
傳回值Array — array of named areas for this layout
|
getPanelItems | () | 方法 |
public function getPanelItems(visibleItemsOnly:Boolean = false, container:DisplayObjectContainer = null, itemList:Array = null):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Returns the panel items contained in the panel layout. This include all components implementing the IPanelItem interface. which include PanelItem (interactive controls) and PanelText (static text).
參數
visibleItemsOnly:Boolean (default = false ) — - Set to true if the visible panel items are required only. The default value is false.
| |
container:DisplayObjectContainer (default = null ) — - The container to search for panelItems/fields (used for recursive searches).
| |
itemList:Array (default = null ) — - The aggregate of all the fields found during the search (used for recursive searches).
|
Array — The array of panel items.
|
isDocPanel | () | 方法 |
public function isDocPanel():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
True if this is a panel containing is a document of record.
傳回值Boolean — Boolean indicating whether or not this is a document of record panel.
|
isPDFPanel | () | 方法 |
resetData | () | 方法 |
public function resetData(container:DisplayObjectContainer = null):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
執行階段版本: | AIR 1.0, Flash Player 10.2 |
Resets the fields in a container. This function also resets data in the nested layouts if there are any. This is only used when the submitAll option is false, some customers need the ability to clear the data from a hidden field, as they have legal restructions that data from non-visible fields can never be submitted.
參數
container:DisplayObjectContainer (default = null ) — - The container from which the fields must be reset.
|
setSelectedPanelItem | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z