用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
ga.model 

ILayoutHost  - AS3 ADEP Guides

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

This is the core interface of Guide panel layouts and needs to be implemented by all guide panel layouts.



公共属性
 属性由以下参数定义
 InheritedaccessibilityProperties : AccessibilityProperties
此显示对象的当前辅助功能选项。
IFlexDisplayObject
 Inheritedalpha : Number
表示指定对象的 Alpha 透明度值。
IFlexDisplayObject
 InheritedbaselinePosition : Number
[只读] 组件第一行文本的基线的 y 坐标。
IUIComponent
  baseReferenceChain : BaseReferenceChain
[只读] The chain of bindings up the ancestor chain.
ILayoutHost
 InheritedblendMode : String
BlendMode 类中的一个值,用于指定要使用的混合模式。
IFlexDisplayObject
 InheritedcacheAsBitmap : Boolean
如果设置为 true,则 Flash 运行时将缓存显示对象的内部位图表示形式。
IFlexDisplayObject
 InheritedclassName : String
[只读] 组件类的名称。
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
 Inheriteddocument : Object
对与此组件关联的文档对象的引用。
IUIComponent
 Inheritedenabled : Boolean
组件是否可以接受用户交互。
IUIComponent
 InheritedexplicitHeight : Number
在组件坐标中显式指定的组件高度(以像素为单位)。
IUIComponent
 InheritedexplicitMaxHeight : Number
[只读] 在组件坐标中指定组件最大高度的数字(以像素为单位)。
IUIComponent
 InheritedexplicitMaxWidth : Number
[只读] 在组件坐标中指定组件最大宽度的数字(以像素为单位)。
IUIComponent
 InheritedexplicitMinHeight : Number
[只读] 在组件坐标中指定组件最小高度的数字(以像素为单位)。
IUIComponent
 InheritedexplicitMinWidth : Number
[只读] 在组件坐标中指定组件最小宽度的数字(以像素为单位)。
IUIComponent
 InheritedexplicitWidth : Number
在组件坐标中显式指定的组件宽度(以像素为单位)。
IUIComponent
 Inheritedfilters : Array
包含当前与显示对象关联的每个滤镜对象的索引数组。
IFlexDisplayObject
 InheritedfocusPane : Sprite
在组件中共享并用作绘制焦点指示符的叠加层的单个 Sprite 对象。
IUIComponent
 Inheritedheight : Number
表示显示对象的高度,以像素为单位。
IFlexDisplayObject
 InheritedincludeInLayout : Boolean
指定此组件是否包含在父容器的布局中。
IUIComponent
 InheritedinheritingStyles : Object
包含此组件的可继承样式的对象。
IStyleClient
 InheritedisPopUp : Boolean
PopUpManager 将其设置为 true 以指示已弹出该组件。
IUIComponent
 InheritedloaderInfo : LoaderInfo
[只读] 返回一个 LoaderInfo 对象,其中包含加载此显示对象所属的文件的相关信息。
IFlexDisplayObject
 Inheritedmask : DisplayObject
调用显示对象被指定的 mask 对象遮罩。
IFlexDisplayObject
 InheritedmaxHeight : Number
[只读] 在组件坐标中指定组件最大高度的数字(以像素为单位)。
IUIComponent
 InheritedmaxWidth : Number
[只读] 在组件坐标中指定组件最大宽度的数字(以像素为单位)。
IUIComponent
 InheritedmeasuredHeight : Number
[只读] 此对象的测量高度。
IFlexDisplayObject
 InheritedmeasuredMinHeight : Number
组件的默认最小高度(以像素为单位)。
IUIComponent
 InheritedmeasuredMinWidth : Number
组件的默认最小宽度(以像素为单位)。
IUIComponent
 InheritedmeasuredWidth : Number
[只读] 此对象的测量宽度。
IFlexDisplayObject
 InheritedminHeight : Number
[只读] 在组件坐标中指定组件最小高度的数字(以像素为单位)。
IUIComponent
 InheritedminWidth : Number
[只读] 在组件坐标中指定组件最小宽度的数字(以像素为单位)。
IUIComponent
 InheritedmouseX : Number
[只读] 表示此鼠标或用户输入设备位置的 x 坐标,以像素为单位。
IFlexDisplayObject
 InheritedmouseY : Number
[只读] 表示此鼠标或用户输入设备位置的 y 坐标,以像素为单位。
IFlexDisplayObject
 Inheritedname : String
表示 DisplayObject 的实例名称。
IFlexDisplayObject
 InheritednonInheritingStyles : Object
包含此组件的不可继承样式的对象。
IStyleClient
 InheritedopaqueBackground : Object
指定显示对象是否由于具有某种背景颜色而不透明。
IFlexDisplayObject
 Inheritedowner : DisplayObjectContainer
此 IVisualElement 对象的所有者。
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
 Inheritedparent : DisplayObjectContainer
[只读] 表示包含此显示对象的 DisplayObjectContainer 对象。
IFlexDisplayObject
 InheritedpercentHeight : Number
以组件父项大小百分比的方式指定组件高度的数字。
IUIComponent
 InheritedpercentWidth : Number
以组件父项大小百分比形式指定其宽度的数字。
IUIComponent
 Inheritedroot : DisplayObject
[只读] 对于加载的 SWF 文件中的显示对象,root 属性是此 SWF 文件所表示的显示列表树结构部分中的顶级显示对象。
IFlexDisplayObject
 Inheritedrotation : Number
表示 DisplayObject 实例距其原始方向的旋转程度,以度为单位。
IFlexDisplayObject
 Inheritedscale9Grid : Rectangle
当前有效的缩放网格。
IFlexDisplayObject
 InheritedscaleX : Number
表示从注册点开始应用的对象的水平缩放比例(百分比)。
IFlexDisplayObject
 InheritedscaleY : Number
表示从对象注册点开始应用的对象的垂直缩放比例(百分比)。
IFlexDisplayObject
 InheritedscrollRect : Rectangle
显示对象的滚动矩形范围。
IFlexDisplayObject
  sizeState : int
The size state of this panel in the Guide layout.
ILayoutHost
 Inheritedstage : Stage
[只读] 显示对象的舞台。
IFlexDisplayObject
 InheritedstyleDeclaration : CSSStyleDeclaration
具有此对象声明的内嵌样式的样式声明。
IStyleClient
 InheritedstyleName : Object
该对象的样式值的源。
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
 InheritedsystemManager : ISystemManager
对此组件的 SystemManager 对象的引用。
IUIComponent
 Inheritedtransform : flash.geom:Transform
一个对象,具有与显示对象的矩阵、颜色转换和像素范围有关的属性。
IFlexDisplayObject
 InheritedtweeningProperties : Array
由 EffectManager 使用。
IUIComponent
 Inheritedvisible : Boolean
显示对象是否可见。
IFlexDisplayObject
 Inheritedwidth : Number
表示显示对象的宽度,以像素为单位。
IFlexDisplayObject
 Inheritedx : Number
表示 DisplayObject 实例相对于父级 DisplayObjectContainer 本地坐标的 x 坐标。
IFlexDisplayObject
 Inheritedy : Number
表示 DisplayObject 实例相对于父级 DisplayObjectContainer 本地坐标的 y 坐标。
IFlexDisplayObject
公共方法
 方法由以下参数定义
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
IEventDispatcher
 Inherited
删除此组件实例的样式属性。
IStyleClient
  
Clone this panel layout.
ILayoutHost
 Inherited
将事件调度到事件流中。
IEventDispatcher
  
executeBindings(recurse:Boolean = false):void
Execute all bindings within this panel layout.
ILayoutHost
  
getAllItems(container:DisplayObjectContainer = null, itemList:Array = null):Array
Returns all display objects on this panel.
ILayoutHost
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象坐标系的显示对象区域。
IFlexDisplayObject
 Inherited
为应用于该组件的类型选择器返回 CSSStyleDeclaration 对象数组,如果不存在则返回 null。
IStyleClient
 Inherited
确定是使用显式高度还是测量高度的一种简便方法
IUIComponent
 Inherited
确定是使用显式宽度还是测量宽度的一种简便方法
IUIComponent
  
getFields(visibleFieldsOnly:Boolean = false, container:DisplayObjectContainer = null):Array
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
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形根据 targetCoordinateSpace 参数定义的坐标系定义显示对象的边界,但不包括形状上的任何笔触。
IFlexDisplayObject
 Inherited
getStyle(styleProp:String):*
获取已在此组件的样式查找链中的某个位置设置过的样式属性。
IStyleClient
 Inherited
将 point 对象从舞台(全局)坐标转换为显示对象的(本地)坐标。
IFlexDisplayObject
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
IEventDispatcher
 Inherited
计算显示对象的边框,以确定它是否与 obj 显示对象的边框重叠或相交。
IFlexDisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相交。
IFlexDisplayObject
 Inherited
初始化对象。
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
 Inherited
将 point 对象从显示对象的(本地)坐标转换为舞台(全局)坐标。
IFlexDisplayObject
 Inherited
将此对象移动到指定的 x 和 y 坐标。
IFlexDisplayObject
 Inherited
向该组件的子项传送样式更改。
IStyleClient
 Inherited
owns(displayObject:DisplayObject):Boolean
如果 owner 属性链从 child 指向此 UIComponent,则返回 true。
IUIComponent
 Inherited
当在父项中添加或删除 UIComponent 对象时由 Flex 调用。
IUIComponent
 Inherited
设置内部样式缓存值,以便 getStyle() 方法可以起作用。
IStyleClient
 Inherited
将 EffectManager 注册为每个效果事件的事件侦听器之一。
IStyleClient
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
IEventDispatcher
  
Resets the fields in a container.
ILayoutHost
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
设置此对象的实际大小。
IFlexDisplayObject
  
set the selected panel on this layout.
ILayoutHost
 Inherited
setStyle(styleProp:String, newValue:*):void
对此组件实例设置样式属性。
IStyleClient
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
当 visible 属性发生更改时调用。
IUIComponent
 Inherited
当样式属性的值发生更改时调用。
ISimpleStyleClient
 Inherited
检查是否用此 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

属性 
panelItems:Array

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 10
运行时版本: AIR 1.0, Flash Player 10.2

An array of panel items that are slotted into the panel layout.



实现
    public function get panelItems():Array
    public function set panelItems(value:Array):void

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

()方法
public function clone():Object

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 10
运行时版本: AIR 1.0, Flash Player 10.2

Clone this panel layout.

返回
Object — the clone of this object

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

()方法 
public function getLabelAt(index:int):String

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 10
运行时版本: AIR 1.0, Flash Player 10.2

Get label corresponding to the index in the data provider.

参数

index:int — - index into the data provider

返回
String — the label.

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

()方法 
public function isPDFPanel():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 a PDF rendition.

返回
Boolean — Boolean indicating whether or not this is a PDF panel.

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

()方法 
public function setSelectedPanelItem(item:Object):void

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 10
运行时版本: AIR 1.0, Flash Player 10.2

set the selected panel on this layout.

参数

item:Object — the selected panel item.





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。