Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
com.adobe.guides.spark.layouts.components 

AlignmentArea  - AS3 ADEP Guides

Packagecom.adobe.guides.spark.layouts.components
Classepublic class AlignmentArea
HéritageAlignmentArea Inheritance Object

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: AIR 1.0, Flash Player 10.2

This class aligns columns inside a Spark Group honouring the "keepWithPrevious" settings of the passed in items.



Propriétés publiques
 PropriétéDéfini par
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
Méthodes publiques
 MéthodeDéfini par
  
[statique] Aligns each row in a multi-column layout by making each item in each row the same height
AlignmentArea
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
  
init(topGroup:Group, itemFactories:Array, tabIndex:int = -1, tabOffset:int = 0):int
Create the groups to represent an alignment area.
AlignmentArea
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
  
[statique] Line up the respective child of each container by making them the same height of the largest child.
AlignmentArea
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
 Inherited
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
Méthodes protégées
 MéthodeDéfini par
  
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
  
columnCount(itemFactories:Array):int
Determine the maximum column count based on the keepWithPrevious setting of the item factories
AlignmentArea
Détails de la méthode

addItems

()méthode
protected function addItems(oItems:Array, oContainers:Array, nStartTabIndex:int = -1, nTabIncrement:int = 0, oAreaContainer:Group = null):int

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: 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.

Paramètres

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.

Valeur renvoyée
int — the next tab index.

alignHorizontalGroupContent

()méthode 
public static function alignHorizontalGroupContent(outerGroup:Group):void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: 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

Paramètres

outerGroup:Group — - the container group of mulitple HGroup.

columnCount

()méthode 
protected function columnCount(itemFactories:Array):int

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: AIR 1.0, Flash Player 10.2

Determine the maximum column count based on the keepWithPrevious setting of the item factories

Paramètres

itemFactories:Array — array of item factories for an alignment area.

Valeur renvoyée
int — the number of columns in this alignment area.

init

()méthode 
public function init(topGroup:Group, itemFactories:Array, tabIndex:int = -1, tabOffset:int = 0):int

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: 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.

Paramètres

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.

Valeur renvoyée
int — the next tab index.

makeSameHeight

()méthode 
public static function makeSameHeight(oContainers:Array):void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Guides 10
Versions du moteur d’exécution: 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.

Paramètres

oContainers:Array — - array of containers to be made the same height.





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.