패키지 | com.adobe.guides.spark.layouts.components |
클래스 | public class AlignmentArea |
상속 | AlignmentArea Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
메서드 | 정의 주체 | ||
---|---|---|---|
[정적]
Aligns each row in a multi-column layout by making each item in each row the same height
| AlignmentArea | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Create the groups to represent an alignment area. | AlignmentArea | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
[정적]
Line up the respective child of each container by making them the same height of the largest child. | AlignmentArea | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
메서드 | 정의 주체 | ||
---|---|---|---|
addItems(oItems:Array, oContainers:Array, nStartTabIndex:int = -1, nTabIncrement:int = 0, oAreaContainer:Group = null):int
Add items to an alignment area obeying "keepWithPrevious" settings. | AlignmentArea | ||
Determine the maximum column count based on the keepWithPrevious setting of the item factories
| AlignmentArea |
addItems | () | 메서드 |
protected function addItems(oItems:Array, oContainers:Array, nStartTabIndex:int = -1, nTabIncrement:int = 0, oAreaContainer:Group = null):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
Add items to an alignment area obeying "keepWithPrevious" settings. The routine will pad out the columns with empty text objects to the maximumn columns.
매개 변수
oItems:Array — - array of item factories.
| |
oContainers:Array — - the containers where the items are added.
| |
nStartTabIndex:int (default = -1 ) — - starting tab index for the added items. If -1 then tabIndex is not set on the items.
| |
nTabIncrement:int (default = 0 ) — - the amount to offset the tabIndex for each item added.
| |
oAreaContainer:Group (default = null ) — - this container is made visible if any items are added. It is expected that this is an ancestor of the containers in the oContainers array.
|
int — the next tab index.
|
alignHorizontalGroupContent | () | 메서드 |
public static function alignHorizontalGroupContent(outerGroup:Group):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
Aligns each row in a multi-column layout by making each item in each row the same height
매개 변수
outerGroup:Group — - the container group of mulitple HGroup.
|
columnCount | () | 메서드 |
protected function columnCount(itemFactories:Array):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
Determine the maximum column count based on the keepWithPrevious setting of the item factories
매개 변수
itemFactories:Array — array of item factories for an alignment area.
|
int — the number of columns in this alignment area.
|
init | () | 메서드 |
public function init(topGroup:Group, itemFactories:Array, tabIndex:int = -1, tabOffset:int = 0):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
Create the groups to represent an alignment area. If the items are a simple column returns simply a VGroup. If the items are in an alignment area with multiple columns, return a HGroup with VGroup children to represent each column.
매개 변수
topGroup:Group — passed in group to represent an alignment area.
| |
itemFactories:Array — the item factories to be added to the alignment area.
| |
tabIndex:int (default = -1 ) — the starting tab index for the items being added to the group.
| |
tabOffset:int (default = 0 ) — the offset between the tab indices for each item added.
|
int — the next tab index.
|
makeSameHeight | () | 메서드 |
public static function makeSameHeight(oContainers:Array):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Guides 10 |
런타임 버전: | AIR 1.0, Flash Player 10.2 |
Line up the respective child of each container by making them the same height of the largest child. For example the child at index 3 of each container is made to be the height of the largest child at index 3 of each of the containers. This routine also uses the percentage width of the first child to align all items in a particual column to use the same percentage width.
매개 변수
oContainers:Array — - array of containers to be made the same height.
|
Tue Jun 12 2018, 03:17 PM Z