包 | com.adobe.mosaic.layouts |
类 | public class SmartColumnLayout |
继承 | SmartColumnLayout ![]() ![]() ![]() ![]() |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
numColumns
which defaults to 3.
Each child's width is changed so that all of the columns maintain the same width. Each
child's height is retained, however, unless the child is less than minRowHeight
.
This pattern means that the columns will be of differing heights. Whenever a new child is added to the end of the target Group's display list, it is added to the shortest column.
When a child is deleted, the children below it in its column are moved upward, the other columns are not affected.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
![]() | clipAndEnableScrolling : Boolean
如果为 true,指定将子代剪切到视区的边界。 | LayoutBase | |
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
![]() | dropIndicator : DisplayObject
该布局在拖放操作过程中用于拖放指示符的 DisplayObject。 | LayoutBase | |
![]() | horizontalScrollPosition : Number
组件的坐标系中视域原点(默认值为 (0,0),与组件的左上角相对应)的 x 坐标。 | LayoutBase | |
![]() | typicalLayoutElement : ILayoutElement
当请求固定的行/列大小而未指定某个特定大小时,由布局所使用。 | LayoutBase | |
![]() | useVirtualLayout : Boolean
一个容器可包含任意数量的子项。 | LayoutBase | |
![]() | verticalScrollPosition : Number
组件的坐标系中视区的原点(默认值为 (0,0),与组件的左上角相对应)的 y 坐标。 | LayoutBase |
受保护的属性
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | OnDemandEventDispatcher | |
![]() |
如果 useVirtualLayout 为 true,则当布局目标改变时,布局目标可以使用此方法来清除已缓存布局信息。 | LayoutBase | |
![]() |
将事件调度到事件流中。 | OnDemandEventDispatcher | |
![]() |
如果索引无效、相应的元素为 null、includeInLayout=false,或者如果此布局的 target 属性为 null,则将指定元素的布局界限返回为 Rectangle 或 null。 | LayoutBase | |
![]() |
返回对水平滚动位置的更改以处理不同的滚动选项。 | LayoutBase | |
![]() | getNavigationDestinationIndex(currentIndex:int, navigationUnit:uint, arrowKeysWrapFocus:Boolean):int
确定根据 NavigationUnit、基于当前处于焦点的项目和用户输入要导航到哪个项目的委派方法。 | LayoutBase | |
![]() |
计算所需的 verticalScrollPosition 和 horizontalScrollPosition delta,以将处于指定索引处的元素滚动到视图中。 | LayoutBase | |
![]() |
返回对垂直滚动位置的更改以处理不同的滚动选项。 | LayoutBase | |
![]() |
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | OnDemandEventDispatcher | |
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
隐藏由 showDropIndicator() 方法创建的先前显示的拖放指示符,将其从显示列表中删除,还将停止拖放滚动。 | LayoutBase | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
从 EventDispatcher 对象中删除侦听器。 | OnDemandEventDispatcher | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
根据指定的拖放位置调整拖放指示符的大小、确定其位置并设置其父代。 | LayoutBase | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
![]() |
调整目标的元素的大小并定位这些元素。 | LayoutBase | |
![]() |
在其 updateDisplayList 的结尾由目标调用,以使布局更新其 scrollRect。 | LayoutBase | |
![]() |
返回指定对象的原始值。 | Object | |
![]() |
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | OnDemandEventDispatcher |
受保护的方法
方法 | 由以下参数定义 | ||
---|---|---|---|
![]() |
计算在拖放动作中为指定 dropLocation 滚动的数量。 | LayoutBase | |
![]() |
返回跨越 scrollRect 的顶边或在其顶边之上的第一个布局元素的界限。 | LayoutBase | |
![]() |
返回跨越 scrollRect 的底边或在其底边之下的第一个布局元素的界限。 | LayoutBase | |
![]() |
返回跨越 scrollRect 的左边或在其左边左侧的第一个布局元素的界限。 | LayoutBase | |
![]() |
返回跨越 scrollRect 的右边或在其右边右侧的第一个布局元素的界限。 | LayoutBase | |
![]() |
返回布局坐标中目标的滚动矩形的界限。 | LayoutBase | |
![]() |
verticalScrollPosition 或 horizontalScrollPosition 属性更改时调用。 | LayoutBase |
Tue Jun 12 2018, 11:04 AM Z