(Apenas para o AIR)
Pacotemx.controls
Classeclasse pública FileSystemDataGrid
HerançaFileSystemDataGrid Inheritance DataGrid Inheritance DataGridBase Inheritance ListBase Inheritance ScrollControlBase Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object

O controle FileSystemDataGrid deixa você mostrar os conteúdos de um único diretório de sistema de arquivo em um formato data grid.

The information displayed for each item consists of its name (with optional generic icon), type, size, creation date, and modification date. To do this, FileSystemDataGrid automatically creates five columns (DataGridColumn instances) -- nameColumn, typeColumn, sizeColumn, creationDateColumn, and modificationDateColumn -- and sets the columns property to an array of these five instances. Each column instance is automatically configured to have an appropriate labelFunction, sortCompareFunction, etc. If you don't want all five columns, or if you want to change the order, reset the columns property. If you want to customize a column, such as by changing its labelFunction, simply reassign that property on the appropriate column object.

To change the displayed data, rather than using the dataProvider property, you set the directory property. The control then automatically populates the dataProvider property by enumerating the contents of that directory. You should not set the dataProvider yourself.

You set the directory property to a File instance, as the following example shows:

<mx:FileSystemDataGrid directory="{File.desktopDirectory}"/>

You can set the enumerationMode property to specify whether to show files, subdirectories, or both. There are three ways to show both: directories first, files first, or intermixed.

You can set the extensions property to filter the displayed items so that only files with the specified extensions appear. The showHidden property determines whether the control displays files and subdirectories that the operating system normally hides. You can specify an additional filterFunction to perform custom filtering, and a nameCompareFunction to perform custom sorting.

Because AIR does not support file system notifications, this control does not automatically refresh if a file or subdirectory is created, deleted, moved, or renamed; in other words, it can display an out-of-date view of the file system. However, you can call refresh() to re-enumerate the current directory. You could, for example, choose to do this when you have performed a file operation that you know causes the control's view to become out-of-date, or when the user deactivates and reactivates your application.

You can use the showIcons property to show or hide icons, and the showExtensions property to show or hide file extensions.

The control provides two methods, findItem() and findIndex(), which you can use to search the displayed files and subdirectories to find the one with a specified nativePath.

Two properties, selectedPath and selectedPaths, work similarly to selectedItem and selectedItems or selectedIndex and selectedIndices, but let you specify the selection via nativePath strings. These are very useful if you need to display a directory with particular items preselected, since in this case you don't yet have the File items that the control will create when it enumerates the directory, and you don't know what their indices will be.

The control allows the user to navigate to other directories using the mouse or keyboard. The user can try to change the directory by double-clicking a subdirectory, by pressing Enter or Ctrl-Down when a subdirectory is selected, by pressing Ctrl-Up when the control isn't displaying the COMPUTER directory, by pressing Ctrl-Left when there is a "previous" directory to navigate back to, or by pressing Ctrl-Right when there is a "next" directory to navigate forward to. If the user attempts to change the directory being displayed, the control dispatches a cancelable directoryChanging event. If you don't cancel this event by calling event.preventDefault(), the control displays the contents of the new directory and the directory property changes. Whenever the directory property changes, for any reason, the controls dispatches a directoryChange event to let you know.

In order to support "Up" and "Down" controls, the FileSystemList has canNavigateUp and canNavigateDown properties and navigateUp() and navigateDown() methods. There is also a navigateTo() for navigating to an arbitrary directory.

The control keeps track of the directories to which the user has navigated, in order to make it easy for you to support "Back" and "Forward" controls. For more information, see the backHistory, forwardHistory, canNavigateBack, and canNavigateForward properties, and the navigateBack() and navigateForward() methods.

Note: The icons displayed for each item are generic file and directory icons which you can set using the fileIcon and directoryIcon styles. Flex's list-based controls currently support displaying only embedded icons, not icons read at runtime. Therefore the actual file system icons displayed in the operating system are not displayed in a FileSystemDataGrid, even though they are accessible in AIR via the icon property of a File.

Sintaxe MXMLexpandedOcultar Sintaxe MXML

The <mx:FileSystemDataGrid> tag inherits all of the tag attributes of its superclass and adds the following tag attributes:

  <mx:FileSystemDataGrid
    Propriedades
    dateFormatString=""
    directory="null"
    enumerationMode="directoriesFirst"
    extensions="null"
    filterFunction="null"
    nameCompareFunction="null"
    selectedPath="null"
    selectedPaths="null"
    showExtensions="true"
    showHidden="false"
    showIcons="true"
 
    Estilos
    directoryIcon="TreeNodeIcon"
    fileIcon="TreeNodeIcon"
 
    Eventos
    directoryChange="No default"
    directoryChanging="No default"
    fileChoose="No default"
  />
  

Ver também

flash.filesystem.File


Propriedades Públicas
 PropriedadeDefinido Por
 InheritedaccessibilityProperties : AccessibilityProperties
As atuais opções de acessibilidade para esse objeto display.
DisplayObject
 InheritedactiveEffects : Array
[leitura-somente] A lista de efeitos que estão atualmente ocorrendo no componente, como um Array de instâncias EffectInstance.
UIComponent
 InheritedallowDragSelection : Boolean = false
Um indicador que indica se o arrasto da seleção está ativado.
ListBase
 InheritedallowMultipleSelection : Boolean
Um indicador que indica se você pode permitir que mais de um item seja selecionado na mesma hora.
ListBase
 Inheritedalpha : Number
Indica o valor de transparência alpha do objeto especificado.
DisplayObject
 InheritedautomationDelegate : Object
O objeto de delegação que maneja a funcionalidade relacionada à automatização.
UIComponent
 InheritedautomationName : String
Nome que pode ser usado como um identificador para esse objeto.
UIComponent
 InheritedautomationTabularData : Object
[leitura-somente] Uma implementação da interface IAutomationTabularData, que pode ser usada para retomar os dados.
UIComponent
 InheritedautomationValue : Array
[leitura-somente] Esse valor geralmente corresponde a dada aparência do objeto e deve ser utilizável para correlacionar o identificador com o objeto como aparece visualmente dentro do aplicativo.
UIComponent
  backHistory : Array
[leitura-somente] An Array of File objects representing directories to which the user can navigate backward.
FileSystemDataGrid
 InheritedbaselinePosition : Number
[leitura-somente] A coordenada y do baseline da primeira linha do texto do componente.
UIComponent
 InheritedblendMode : String
Um valor da classe BlendMode que especifica o modo blend a ser usado.
DisplayObject
 InheritedborderMetrics : EdgeMetrics
[leitura-somente] Retorna um objeto EdgeMetrics que tem quatro propriedades: left, top, right, e bottom.
ScrollControlBase
 InheritedbuttonMode : Boolean
Especifica o modo de button desse sprite.
Sprite
 InheritedcacheAsBitmap : Boolean
Se colocado como true, Flash Player ou Adobe AIR faz o cache de uma representação interna de bitmap do objeto display.
DisplayObject
 InheritedcacheHeuristic : Boolean
[escrever-somente] Usado pelo Flex para sugerir cache de bitmap para o objeto.
UIComponent
 InheritedcachePolicy : String
Especifica a política para criar o cache bitmap para esse objeto.
UIComponent
  canNavigateBack : Boolean
[leitura-somente] A flag which is true if there is at least one directory in the history list to which the user can navigate backward.
FileSystemDataGrid
  canNavigateDown : Boolean
[leitura-somente] A flag which is true if the user can navigate down into a selected directory.
FileSystemDataGrid
  canNavigateForward : Boolean
[leitura-somente] A flag which is true if there is at least one directory in the history list to which the user can navigate forward.
FileSystemDataGrid
  canNavigateUp : Boolean
[leitura-somente] A flag which is true if the user can navigate up to a parent directory.
FileSystemDataGrid
 InheritedclassName : String
[leitura-somente] O nome da classe dessa instância, tal como "Button".
UIComponent
 Inheritedcolumns : Array
An array of DataGridColumn objects, one for each column that can be displayed.
DataGrid
 InheritedcolumnWidth : Number
A largura das colunas do controle.
ListBase
 Inheritedconstructor : Object
Uma referência ao objeto da classe ou função construtora para uma instância determinada de um objeto.
Object
 InheritedcontentMouseX : Number
[leitura-somente] Retorna a posição x do mouse, no sistema de coordenação do conteúdo.
UIComponent
 InheritedcontentMouseY : Number
[leitura-somente] Retorna a posição y do mouse, no sistema de coordenação do conteúdo.
UIComponent
 InheritedcontextMenu : NativeMenu
Especifica o context menu associado a esse objeto.
InteractiveObject
  creationDateColumn : DataGridColumn
The DataGridColumn representing the Created column.
FileSystemDataGrid
 InheritedcurrentState : String
O atual estado de visão do componente.
UIComponent
 InheritedcursorManager : ICursorManager
[leitura-somente] Pega o CursorManager que controla o cursor para esse componente e seus semelhantes.
UIComponent
 Inheriteddata : Object
O item no data provider que esse componente deve representar quando esse componente for usado como um representante editor de item.
ListBase
 InheriteddataProvider : Object
Conjunto de dados a serem visualizados.
ListBase
 InheriteddataTipField : String
Nome do campo nos itens data provider para mostrar como data tip.
ListBase
 InheriteddataTipFunction : Function
Função fornecida pelo usuário para ocorrer em cada item para determinar seu dataTip.
ListBase
  dateFormatString : String
A String that determines how dates in the Created and Modified columns are formatted.
FileSystemDataGrid
 Inheriteddescriptor : UIComponentDescriptor
Referência do UIComponentDescriptor, se houver, que foi usado pelo método createComponentFromDescriptor() para criar essa instância UIComponent.
UIComponent
  directory : File
The directory whose contents this control displays.
FileSystemDataGrid
 Inheriteddocument : Object
Uma referência ao objeto de documento associado a esse UIComponent.
UIComponent
 InheriteddoubleClickEnabled : Boolean
Especifica se o objeto UIComponent recebe eventos doubleClick.
UIComponent
 InheriteddragEnabled : Boolean
Um indicador que indica se você pode arrastar items para fora desse controle e largá-los em outros controles.
ListBase
 InheriteddraggableColumns : Boolean
A flag that indicates whether the user is allowed to reorder columns.
DataGrid
 InheriteddragMoveEnabled : Boolean
Um indicador que indica se itens podem ser movidos ao invés de somente copiados do controle como parte de uma operação drag-and-drop.
ListBase
 InheriteddropEnabled : Boolean
Um indicador que indica se itens arrastados podem ser largados no controle.
ListBase
 InheriteddropTarget : DisplayObject
[leitura-somente] Especifica o objeto display sobre qual o sprite está sendo arrastado, ou sobre qual o sprite foi largado.
Sprite
 Inheritededitable : Boolean = false
A flag that indicates whether or not the user can edit items in the data provider.
DataGrid
 InheritededitedItemPosition : Object
O índice de coluna e fileira do representante de item para o item do data provider sendo editado, se existir.
DataGrid
 InheritededitedItemRenderer : IListItemRenderer
[leitura-somente] A reference to the item renderer in the DataGrid control whose item is currently being edited.
DataGrid
 Inheritedenabled : Boolean
Se o componente pode aceitar interação do usuário.
UIComponent
  enumerationMode : String
A String specifying whether this control displays only files, only subdirectories, or both.
FileSystemDataGrid
 InheritederrorString : String
O texto que será mostrado por uma dica de erro de um componente quando um componente for monitorado por um Validator e a validação falha.
UIComponent
 InheritedexplicitHeight : Number
Número que especifica a altura explícita do componente, em pixels, na coordenada do componente.
UIComponent
 InheritedexplicitMaxHeight : Number
Número que especifica a altura máxima do componente, em pixels, na coordenada do componente.
UIComponent
 InheritedexplicitMaxWidth : Number
Número que especifica a largura máxima do componente, em pixels, na coordenada do componente.
UIComponent
 InheritedexplicitMinHeight : Number
Número que especifica a altura mínima do componente, em pixels, na coordenadas do componente.
UIComponent
 InheritedexplicitMinWidth : Number
Número que especifica a largura mínima do componente, em pixels, na coordenadas do componente.
UIComponent
 InheritedexplicitWidth : Number
Número que especifica a largura explícita do componente, em pixels, na coordenadas do componente.
UIComponent
  extensions : Array
An Array of extensions specifying which files can be displayed in this control.
FileSystemDataGrid
  filterFunction : Function
A callback Function that you can use to perform additional filtering, after the enumerationMode and extensions properties have been applied, to determine which files and subdirectories are displayed and which are hidden.
FileSystemDataGrid
 Inheritedfilters : Array
Um array incluindo o índice que contém cada objeto de filtro atualmente associado ao objeto display.
DisplayObject
 InheritedflexContextMenu : IFlexContextMenu
O context menu para esse UIComponent.
UIComponent
 InheritedfocusEnabled : Boolean
Indica se o componente pode receber foco utilizando a tecla Tab.
UIComponent
 InheritedfocusManager : IFocusManager
Pega o FocusManager que controla o foco para esse componente e seus semelhantes.
UIComponent
 InheritedfocusPane : Sprite
O painel de foco associado a esse objeto.
UIComponent
 InheritedfocusRect : Object
Especifica se esse objeto mostra um retângulo de foco.
InteractiveObject
 InheritedfontContext : IFlexModuleFactory
O module factory que providencia o contexto de fonte para esse componente.
DataGridBase
  forwardHistory : Array
[leitura-somente] An Array of File objects representing directories to which the user can navigate forward.
FileSystemDataGrid
 Inheritedgraphics : Graphics
[leitura-somente] Especifica o objeto Graphics que pertence a esse sprite onde comandos de desenho em vetor podem ocorrer.
Sprite
 InheritedheaderHeight : Number
A altura da célula de cabeçalho da coluna, em pixels.
DataGridBase
 Inheritedheight : Number
Número que especifica a altura do componente, em pixels, na coordenadas do parent.
UIComponent
 InheritedhitArea : Sprite
Designa outro sprite para servir como hit area para um sprite.
Sprite
 InheritedhorizontalScrollPolicy : String
Uma propriedade que indica se o scroll bar horizontal está sempre ligado, sempre desligado, ou se muda automaticamente baseando-se nos parâmetros passados ao método setScrollBarProperties().
ScrollControlBase
 InheritedhorizontalScrollPosition : Number
O offset em direção ao conteúdo da margem esquerda.
DataGrid
 Inheritedid : String
ID do componente.
UIComponent
 InheritedimeMode : String
Especifica o modo IME (editor do método de input).
DataGrid
 InheritedincludeInLayout : Boolean
Especifica se esse componente está incluso no layout do parent container.
UIComponent
 InheritedinheritingStyles : Object
O início da corrente de estilos herdados da corrente desse componente.
UIComponent
 Inheritedinitialized : Boolean
Um indicador que determina se um objeto passou por todas as três fases do layout: commitment, measurement, e layout (provido que algum foi requerido).
UIComponent
 InheritedinstanceIndex : int
[leitura-somente] O índice do componente repetido.
UIComponent
 InheritedinstanceIndices : Array
Um Array contendo os indices necessários para referenciar esse objeto UIComponent de seus documentos parent.
UIComponent
 InheritedisDocument : Boolean
[leitura-somente] Determina se essa instância UIComponent é um objeto de documento, isso é, se está no topo da hierarquia de um aplicativo Flex, componente MXML, ou componente ActionScript.
UIComponent
 InheritedisPopUp : Boolean
Colocado para true pelo PopUpManager para indicar que aquele componente foi popped up.
UIComponent
 InheriteditemEditorInstance : IListItemRenderer
Uma referência à instância atualmente ativa do editor de item, caso exista.
DataGrid
 InheriteditemRenderer : IFactory
O representante padrão do item para o controle.
ListBase
 InheritedlabelFunction : Function
Uma função fornecida pelo usuário para ocorrer em cada item para determinar seu label.
ListBase
 InheritedlistData : BaseListData
Quando um componente é usado como representante de um item drop-in ou editor de um item drop-in, Flex inicializa a propriedade listData do componente com os dados adicionais do controle de lista.
ListBase
 InheritedliveScrolling : Boolean = true
Um indicador que indica se o scroll acontece ao vivo assim que o thumb é movido ou só é feito o update da visão quando o thumb for soltado.
ScrollControlBase
 InheritedloaderInfo : LoaderInfo
[leitura-somente] Retorna um objeto LoaderInfo contendo informações sobre o carregamento de um arquivo para qual esse objeto display pertença.
DisplayObject
 InheritedlockedColumnCount : int
O índice da primeira coluna no controle que faz o scroll.
DataGridBase
 InheritedlockedRowCount : int
O índice da primeira fileira no controle que faz o scroll.
DataGridBase
 Inheritedmask : DisplayObject
O objeto calling display é mascarado pelo especificado objeto de máscara.
DisplayObject
 InheritedmaxHeight : Number
Número que especifica a altura máxima do componente, em pixels, na coordenada do componente.
UIComponent
 InheritedmaxHorizontalScrollPosition : Number
O valor máximo para a propriedade horizontalScrollPosition.
ScrollControlBase
 InheritedmaxVerticalScrollPosition : Number
O valor máximo para a propriedade verticalScrollPosition.
ScrollControlBase
 InheritedmaxWidth : Number
Número que especifica a largura máxima do componente, em pixels, na coordenada do componente.
UIComponent
 InheritedmeasuredHeight : Number
A altura padrão do componente, em pixels.
UIComponent
 InheritedmeasuredMinHeight : Number
A altura mínima padrão do componente, em pixels.
UIComponent
 InheritedmeasuredMinWidth : Number
A largura mínima padrão do componente, em pixels.
UIComponent
 InheritedmeasuredWidth : Number
A largura padrão do componente, em pixels.
UIComponent
 InheritedmenuSelectionMode : Boolean = false
Um indicador que indica se seleção estilo menu deve ser utilizada.
ListBase
 InheritedminColumnWidth : Number
A largura mínima das colunas, em pixels.
DataGrid
 InheritedminHeight : Number
Número que especifica a altura mínima do componente, em pixels, na coordenadas do componente.
UIComponent
 InheritedminWidth : Number
Número que especifica a largura mínima do componente, em pixels, na coordenadas do componente.
UIComponent
  modificationDateColumn : DataGridColumn
The DataGridColumn representing the Modified column.
FileSystemDataGrid
 InheritedmoduleFactory : IFlexModuleFactory
O moduleFactory que é usado para criar TextFields no contexto SWF correto.
UIComponent
 InheritedmouseChildren : Boolean
Determina se os children do objeto são mouse permitidos.
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
Especifica se esse objeto recebe mensagens de mouse.
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
Se pode ou não receber foco quando clicado.
UIComponent
 InheritedmouseX : Number
[leitura-somente] Indica a coordenada x da posição do mouse, em pixels.
DisplayObject
 InheritedmouseY : Number
[leitura-somente] Indica a coordenada y da posição do mouse, em pixels.
DisplayObject
 Inheritedname : String
Indica o nome da instância do DisplayObject.
DisplayObject
  nameColumn : DataGridColumn
The DataGridColumn representing the Name column.
FileSystemDataGrid
  nameCompareFunction : Function
A callback Function that you can use to change how file and subdirectory names are compared in order to produce the sort order.
FileSystemDataGrid
 InheritednestLevel : int
Profundidade desse objeto na hierarquia do containment.
UIComponent
 InheritednonInheritingStyles : Object
O começo da corrente do componente de estilos não herdados.
UIComponent
 InheritednullItemRenderer : IFactory
O representante padrão do item para o controle.
ListBase
 InheritednumAutomationChildren : int
[leitura-somente] O número de children de automatização que esse container tem.
UIComponent
 InheritednumChildren : int
[leitura-somente] Retorna o número de children desse objeto.
DisplayObjectContainer
 InheritedopaqueBackground : Object
Especifica se o objeto display é opaco com uma cor determinada de fundo.
DisplayObject
 Inheritedowner : DisplayObjectContainer
O dono desse UIComponent.
UIComponent
 Inheritedparent : DisplayObjectContainer
[leitura-somente] O container ou componente parent para esse componente.
UIComponent
 InheritedparentApplication : Object
[leitura-somente] Uma referência ao objeto Application que contém essa instância UIComponent.
UIComponent
 InheritedparentDocument : Object
[leitura-somente] Uma referência ao objeto de documento parent para esse UIComponent.
UIComponent
 InheritedpercentHeight : Number
Número que especifica a altura de um componente como uma porcentagem do tamanho de seu parent.
UIComponent
 InheritedpercentWidth : Number
Número que especifica a largura de um componente como porcentagem do tamanho do parent.
UIComponent
 InheritedprocessedDescriptors : Boolean
Colocado para true após criação de child imediato ou atrasado, dependendo de qual aconteça.
UIComponent
 Inheritedprototype : Object
[static] Uma referência ao objeto protótipo de uma classe ou função de objeto.
Object
 Inheritedrepeater : IRepeater
[leitura-somente] Uma referência ao objeto Repeater no documento parent que produziu esse UIComponent.
UIComponent
 InheritedrepeaterIndex : int
[leitura-somente] O indice do item no data provider do Repeater que produziu esse UIComponent.
UIComponent
 InheritedrepeaterIndices : Array
Um Array contendo os índices dos itens no data provider dos Repeater no documento parent que produziu esse UIComponent.
UIComponent
 Inheritedrepeaters : Array
Um Array contendo referências aos objetos Repeater no documento parent que produziu esse UIComponent.
UIComponent
 InheritedresizableColumns : Boolean = true
Um indicador que indica se o usuário pode mudar o tamanho das colunas.
DataGrid
 Inheritedroot : DisplayObject
[leitura-somente] Para um objeto display em um arquivo SWF carregado, a propriedade root é o objeto display no topo na porção da estrutura de tree do display list representado por aquele arquivo SWF.
DisplayObject
 Inheritedrotation : Number
Indica a rotação da instância DisplayObject, em graus, de sua orientação original.
DisplayObject
 InheritedrowCount : int
Número de fileiras a serem mostradas.
ListBase
 InheritedrowHeight : Number
A altura das fileiras em pixels.
ListBase
 Inheritedscale9Grid : Rectangle
O atual grid de escala que está em efeito.
DisplayObject
 InheritedscaleX : Number
Número que especifica o fator de escala horizontal.
UIComponent
 InheritedscaleY : Number
Número que especifica o fator de escala vertical.
UIComponent
 Inheritedscreen : Rectangle
[leitura-somente] Retorna um objeto que contém o tamanho e posição da base da superfície de desenho para esse objeto.
UIComponent
 InheritedscrollRect : Rectangle
Os limites de área do retângulo scroll do objeto display.
DisplayObject
 InheritedscrollTipFunction : Function
Uma função que computa o string para ser mostrado como o ScrollTip.
ScrollControlBase
 Inheritedselectable : Boolean
Um indicador que indica se a lista mostra itens selecionados como selecionados.
ListBase
 InheritedselectedIndex : int
O índice no data provider do item selecionado.
ListBase
 InheritedselectedIndices : Array
Um array de índices no data provider dos itens selecionados.
ListBase
 InheritedselectedItem : Object
Uma referência ao item selecionado no data provider.
ListBase
 InheritedselectedItems : Array
Um array de referências dos itens selecionados no data provider.
ListBase
  selectedPath : String
The nativePath of the File item representing the selected subdirectory or file, or null if no item is selected.
FileSystemDataGrid
  selectedPaths : Array
An Array of nativePath Strings for the File items representing the selected subdirectories and files.
FileSystemDataGrid
  showExtensions : Boolean
A flag that specifies whether extensions in file names are shown.
FileSystemDataGrid
 InheritedshowHeaders : Boolean
Um indicador que indica se o controle deveria mostrar os cabeçalhos das colunas.
DataGridBase
  showHidden : Boolean
A flag that specifies whether files and directories that the operating system considers hidden are displayed.
FileSystemDataGrid
  showIcons : Boolean
A flag that specifies that icons are displayed before the file name.
FileSystemDataGrid
 InheritedshowInAutomationHierarchy : Boolean
Um indicador que determina se um objeto de automatização mostra a hierarquia de automatização.
UIComponent
 InheritedshowScrollTips : Boolean = false
Um indicador que indica se um tooltip deveria aparecer próximo ao scroll thumb quando estiver sendo arrastado.
ScrollControlBase
  sizeColumn : DataGridColumn
The DataGridColumn representing the Size column.
FileSystemDataGrid
  sizeDisplayMode : String
A String specifying whether the Size column displays file sizes in bytes or rounded up to the nearest kilobyte, where a kilobyte is 1024 bytes.
FileSystemDataGrid
 InheritedsortableColumns : Boolean = true
Um indicador que indica se o usuário pode ordenar os itens data provider ao clicar em uma célula de cabeçalho de coluna.
DataGrid
 InheritedsoundTransform : SoundTransform
Controles de som dentro desse sprite.
Sprite
 Inheritedstage : Stage
[leitura-somente] O Stage do objeto display.
DisplayObject
 Inheritedstates : Array
Os estados de visão que são definidos para esse componente.
UIComponent
 InheritedstyleDeclaration : CSSStyleDeclaration
Armazenagem para os estilos de herança inline nesse objeto.
UIComponent
 InheritedstyleName : Object
O estilo da classe usado por esse componente.
UIComponent
 InheritedsystemManager : ISystemManager
Retorna o objeto SystemManager usado por esse componente.
UIComponent
 InheritedtabChildren : Boolean
Determina se os children do objeto permitem uso da tecla tab.
DisplayObjectContainer
 InheritedtabEnabled : Boolean
Especifica se esse objeto está na ordem tab.
InteractiveObject
 InheritedtabIndex : int
Especifica a a disposição tab de objetos em um arquivo SWF.
InteractiveObject
 InheritedtextSnapshot : TextSnapshot
[leitura-somente] Retorna um objeto TextSnapshot para essa instância DisplayObjectContainer.
DisplayObjectContainer
 InheritedtoolTip : String
Texto a ser mostrado no ToolTip.
UIComponent
 Inheritedtransform : Transform
Um objeto com propriedades pertencentes a matriz do objeto display, transformação de cor, e fronteira de pixels.
DisplayObject
 Inheritedtransitions : Array
Um Array de objetos Transition, onde cada objeto Transition define um conjunto de efeitos a começarem quando ocorre uma mudança no estado de visão.
UIComponent
 InheritedtweeningProperties : Array
Array de propriedades que estão atualmente sofrendo tween nesse objeto.
UIComponent
  typeColumn : DataGridColumn
The DataGridColumn representing the Type column.
FileSystemDataGrid
 Inheriteduid : String
Um identificador exclusivo para o objeto.
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
Um indicador que determina se um objeto passou por todas as três fases de validação de layout (provido que algum foi requerido).
UIComponent
 InheriteduseHandCursor : Boolean
Um valor Boolean que indica se o ponteiro (hand cursor) aparece quando o mouse faz o roll over sobre um sprite no qual a propriedade buttonMode é colocado como true.
Sprite
 InheritedvalidationSubField : String
Usado por um validor para associar um subcampo a esse componente.
UIComponent
 Inheritedvalue : Object
[leitura-somente] O item selecionado, ou os dados ou campo do label do item selecionado.
ListBase
 InheritedvariableRowHeight : Boolean
Um indicador que indica se as fileiras individuais podem ter alturas diferentes.
ListBase
 InheritedverticalScrollPolicy : String
Uma propriedade que indica se o scroll bar vertical está sempre ligado, sempre desligado, ou muda automaticamente baseando-se nos parâmetros passados ao método setScrollBarProperties().
ScrollControlBase
 InheritedverticalScrollPosition : Number
O offset em direção ao conteúdo da margem superior.
ScrollControlBase
 InheritedviewMetrics : EdgeMetrics
[leitura-somente] Um objeto EdgeMetrics levando em conta os scroll bars, se visíveis.
ScrollControlBase
 Inheritedvisible : Boolean
Controla a visibilidade desse UIComponent.
UIComponent
 Inheritedwidth : Number
Número que especifica a largura do componente, em pixels, na coordenadas do parent.
UIComponent
 InheritedwordWrap : Boolean
Um indicador que indica se o texto na fileira deveria ser word wrapped.
ListBase
 Inheritedx : Number
Número que especifica a posição horizontal do componente, em pixels, dentro de seu parent container.
UIComponent
 Inheritedy : Number
Número que especifica a posição vertical do componente, em pixels, dentro de seu parent container.
UIComponent
Propriedades Protegidas
 PropriedadeDefinido Por
 InheritedactualCollection : ICollectionView
Uma cópia do valor normalmente armazenado em coleção usado enquanto executa efeitos de mudança de dados.
ListBase
 InheritedactualIterator : IViewCursor
Uma cópia do valor normalmente armazenado no iterator usado enquanto executa os efeitos de mudança de dados.
ListBase
 InheritedallowItemSizeChangeNotification : Boolean
[escrever-somente] Se falso, representantes não podem invalidar o tamanho do List.
ListBase
 InheritedanchorBookmark : CursorBookmark
Um bookmark para o item que é a âncora.
ListBase
 InheritedanchorIndex : int = -1
O offset do item no data provider que é o ponto de ancoragem da seleção.
ListBase
 Inheritedborder : IFlexDisplayObject
O objeto de borda.
ScrollControlBase
 InheritedcachedItemsChangeEffect : IEffect = null
O efeito que é executado quando mudanças ocorrem no data provider do controle, ajsutado através do estilo itemsChangeEffect.
ListBase
 InheritedcaretBookmark : CursorBookmark
Um bookmark para o item embaixo do caret.
ListBase
 InheritedcaretIndex : int = -1
O offset do item no data provider que é o ponto do caret das seleção.
ListBase
 InheritedcaretIndicator : Sprite
O DisplayObject que contém os gráficos que indicam que representante é o caret.
ListBase
 InheritedcaretItemRenderer : IListItemRenderer
O representante para o item embaixo do caret.
ListBase
 InheritedcaretUID : String
O UID do item embaixo do caret.
ListBase
 Inheritedcollection : ICollectionView
Um ICollectionView que representa o data provider.
ListBase
 InheritedcolumnCaretIndicator : Sprite
O DisplayObject que contém os gráficos que indicam qual representante é o caret para lockedColumns.
DataGridBase
 InheritedcolumnHighlightIndicator : Sprite
O DisplayObject que contém os gráficos que indicam qual representante está destacado para lockedColumns.
DataGridBase
 InheritedcolumnMap : Object
Um mapa de representantes para colunas.
DataGridBase
 InheriteddataEffectCompleted : Boolean = false
Um indicador que indica que o efeito de mudança de dados acabou de ser completado.
ListBase
 InheriteddataItemWrappersByRenderer : Dictionary
Um dicionário mapeando representantes de itens para os ItemWrappers usados para fornecer seus dados.
ListBase
 InheriteddefaultColumnCount : int = 4
O número padrão de colunas a serem mostradas.
ListBase
 InheriteddefaultRowCount : int = 4
O número padrão de fileiras a serem mostradas.
ListBase
 InheriteddragImage : IUIComponent
[leitura-somente] Pega uma instância de uma classe que mostra a parte visual durante uma operação drag-and-drop.
ListBase
 InheriteddragImageOffsets : Point
[leitura-somente] Pega o offset da imagem de arrasto para uma operação drag-and-drop.
ListBase
 InheritedexplicitColumnCount : int = -1
A contagem de colunas requisitada ao ajustar explicitamente a propriedade columnCount.
ListBase
 InheritedexplicitColumnWidth : Number
A largura da coluna requisitado ao ajustar explicitamente o columnWidth.
ListBase
 InheritedexplicitRowCount : int = -1
A contagem de fileira requisitada ao ajustar explicitamente o rowCount.
ListBase
 InheritedexplicitRowHeight : Number
A altura da fileira requisitada ao ajustar explicitamente o rowHeight.
ListBase
 InheritedfactoryMap : Dictionary
Um mapa de representantes de itens por factory.
ListBase
 InheritedfreeItemRenderers : Array
Uma pilha de representantes de itens não usados.
ListBase
 InheritedfreeItemRenderersByFactory : Dictionary
Um mapa de representantes de itens livres por factory.
ListBase
 InheritedfreeItemRenderersTable : Dictionary
Uma tabela por coluna de representantes de itens não usados.
DataGridBase
 Inheritedheader : DataGridHeaderBase
O sub-componente do cabeçalho.
DataGridBase
 InheritedheaderMask : Shape
DataGridBase
 InheritedhighlightIndicator : Sprite
O DisplayObject que contém os gráficos que indicam qual representante está destacado.
ListBase
 InheritedhighlightItemRenderer : IListItemRenderer
O representante que está atualmente por cima ou por baixo do caret.
ListBase
 InheritedhighlightUID : String
O UID do item que está por cima ou por baixo do caret.
ListBase
 InheritedhorizontalScrollBar : ScrollBar
A barra de scroll horizontal.
ScrollControlBase
 InheriteditemsNeedMeasurement : Boolean = true
Um indicador que indica se as propriedades columnWidth e rowHeight precisam ser calculadas.
ListBase
 InheriteditemsSizeChanged : Boolean = false
Um indicador que indica que o tamanho dos representantes pode ter mudado.
ListBase
 Inheritediterator : IViewCursor
O principal IViewCursor usado para buscar itens do data provider e passá-los aos representantes.
ListBase
 InheritediteratorValid : Boolean = true
Um indicador que indica que ocorreu uma falha de página e que a posição do iterator não é válida (não está posicionado no item superior sendo mostrado).
ListBase
 InheritedkeySelectionPending : Boolean = false
Um indicador que indica se a seleção de teclado foi interrompida por uma falha de página.
ListBase
 InheritedlastDropIndex : int
O índice mais recentemente calculado onde o item a ser arrastado deveria ser adicionado ao alvo onde será largado.
ListBase
 InheritedlastSeekPending : ListBaseSeekPending
A busca mais recente que causou a falha de página.
ListBase
 InheritedlistContent : ListBaseContentHolder
Um objeto display interno que é parent de todos os representantes de itens, seleção e indicadores de destaque e outros gráficos que são permitidos.
ListBase
 InheritedlistContentStyleFilters : Object
[leitura-somente]  Revisão Necessária.  O conjunto de estilos a serem passados pelo ListBase ao listContent.
ListBase
 InheritedlistItems : Array
[leitura-somente] Um Array de Arrays que contém as instâncias itemRenderer que representam cada item data provider.
ListBase
 InheritedlockedColumnAndRowContent : DataGridLockedRowContentHolder
O sub-componente que contém fileiras trancadas para colunas trancadas.
DataGridBase
 InheritedlockedColumnContent : ListBaseContentHolder
O sub-componente que contém colunas trancadas.
DataGridBase
 InheritedlockedColumnHeader : DataGridHeaderBase
O sub-componente do cabeçalho para colunas trancadas.
DataGridBase
 InheritedlockedRowContent : DataGridLockedRowContentHolder
O sub-componente que contém fileiras trancadas.
DataGridBase
 InheritedmaskShape : Shape
A máscara.
ScrollControlBase
 InheritedmodifiedCollectionView : ModifiedCollectionView
Uma visão de coleção que temporariamente preserva o data provider prévio para facilitar os efeitos de mudança de dados que estão em execução.
ListBase
 InheritedrendererChanged : Boolean = false
Um indicador que indica que o representante mudou.
ListBase
 InheritedreservedItemRenderers : Object
Uma mapa de representantes de itens atualmente não sendo usados que podem ser usados novamente num futuro próximo.
ListBase
 InheritedresourceManager : IResourceManager
[escrever-somente] Uma referência ao objeto que gerencia todos os recursos localizados do aplicativo.
UIComponent
 InheritedrowInfo : Array
[leitura-somente] Um array de objetos ListRowInfo que faz o cache das alturas das fileiras e outras informações de rastreamento para as fileiras no listItems.
ListBase
 InheritedrowMap : Object
Um mapa de representantes de itens para seus objetos ListRowInfo respectivos.
ListBase
 InheritedrunDataEffectNextUpdate : Boolean = false
Um indicador que indica se o efeito de dados deveria ser iniciado na próxima vez que o display for atualizado.
ListBase
 InheritedrunningDataEffect : Boolean = false
Um indicador que indica se um efeito de mudança de dados está atualmente em execução.
ListBase
 InheritedscrollAreaChanged : Boolean
Um indicador que a área de scroll mudou devido à aparência ou desaparecimento de scrollbars.
ScrollControlBase
 InheritedselectedData : Object
Uma tabela de objetos ListBaseSelectionData que rastreia quais itens estão atualmente selecionados.
ListBase
 InheritedselectionIndicators : Object
Uma tabela de indicadores de seleção.
ListBase
 InheritedselectionLayer : Sprite
Uma camada no listContent onde todos os indicadores de destaque e seleção são desenhados.
ListBase
 InheritedselectionTweens : Object
Uma tabela de tweens de seleção.
ListBase
 InheritedshowCaret : Boolean
Um indicador que indica se deve mostrar o caret.
ListBase
 InheritedunconstrainedRenderers : Dictionary
Um mapa de representantes de itens que não estão sujeitos aos algoritmos de layout da lista.
ListBase
 InheritedunscaledHeight : Number
[leitura-somente] Um método de conveniência para determinar a altura não redimensionada do componente.
UIComponent
 InheritedunscaledWidth : Number
[leitura-somente] Um método de conveniência para determinar a largura não redimensionada de um componente. Todo desenho e child layout de um componente deveriam ser feitos dentro de um retângulo limite dessa largura, que também é passado como um argumento para updateDisplayList().
UIComponent
 InheritedverticalScrollBar : ScrollBar
A barra de scroll vertical.
ScrollControlBase
 InheritedvisibleData : Object
[leitura-somente] Uma tabela de representantes de itens data provider atualmente em vista.
ListBase
 InheritedwordWrapChanged : Boolean = false
Um indicador que indica se o valor da propriedade wordWrap mudou desde a última vez que a lista display foi atualizada.
ListBase
Métodos Públicos
 MétodoDefinido Por
  
Constructor.
FileSystemDataGrid
 Inherited
Adiciona uma instância child DisplayObject a essa instância DisplayObjectContainer.
DisplayObjectContainer
 Inherited
Adiciona uma instância child DisplayObject a essa instância DisplayObjectContainer.
DisplayObjectContainer
 Inherited
Adiciona um representante de item se um efeito de mudança de dados estiver em execução.
ListBase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto event listener com um objeto do EventDispatcher para que o listener receba notificação de um evento.
EventDispatcher
 Inherited
Indica se as restrições de segurança causariam qualquer objeto display a ser omitido da lista retornada chamando o método DisplayObjectContainer.getObjectUnderPoint() com o point especificado.
DisplayObjectContainer
 Inherited
Retorna o índice onde os itens largados deveriam ser adicionados ao alvo de onde serão largados.
ListBase
 Inherited
callLater(method:Function, args:Array = null):void
Coloca na fila uma função para ser chamada depois.
UIComponent
  
Clears this control so that it displays no items.
FileSystemDataGrid
 Inherited
clearStyle(styleProp:String):void
Deleta uma propriedade de estilo dessa instância de componente.
UIComponent
 Inherited
Determina se o objeto display especificado é um child da instânica DisplayObjectContainer ou a instância em si mesma.
DisplayObjectContainer
 Inherited
Converte um objeto Point das coordenadas do conteúdo para coordenadas global.
UIComponent
 Inherited
Converte um objeto Point de conteúdo para coordenadas locais.
UIComponent
 Inherited
Retorna um conjunto de propriedades que identificam o child dentro desse container.
UIComponent
 Inherited
Retorna o representante de item para uma célula da coluna ou um cabeçalho da coluna.
DataGridBase
 Inherited
createItemEditor(colIndex:int, rowIndex:int):void
Cria o editor de item para o representante de item no editedItemPosition usando o editor especificado pela propriedade itemEditor.
DataGrid
 Inherited
Cria um representante de item dado o objeto de dados.
ListBase
 Inherited
Cria uma referência de id a esse objeto IUIComponent em seu objeto de documento parent.
UIComponent
 Inherited
Deleta a referência id para esse objeto IUIComponent em seu objeto de documento parent.
UIComponent
 Inherited
Esse método fecha um editor de item atualmente aberto em um representante de item.
DataGrid
 Inherited
Retorna um objeto UITextFormat correspondendo aos estilos de texto para esse UIComponent.
UIComponent
 Inherited
Despacha um evento no fluxo de eventos.
UIComponent
 Inherited
drawFocus(isFocused:Boolean):void
Mostra ou esconde o indicador de foco em volta desse componente.
UIComponent
 Inherited
drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios:Array = null, hole:Object = null):void
Programadamente desenha um retângulo para dentro desse objeto Graphics do skin.
UIComponent
 Inherited
Chamado pela instância de efeito quando pára a execução no componente.
UIComponent
 Inherited
Chamado pela instância de efeito quando começa a execução no componente.
UIComponent
 Inherited
Termina todos os efeitos atualmente em execução no componente.
UIComponent
 Inherited
executeBindings(recurse:Boolean = false):void
Executa a união de dados para dentro desse objeto UIComponent.
UIComponent
  
findIndex(nativePath:String):int
Returns the index of the File item with the specified native file system path.
FileSystemDataGrid
  
findItem(nativePath:String):File
Searches the File instances currently displayed in this control and returns the one with the specified nativePathproperty.
FileSystemDataGrid
 Inherited
Acha um item na lista baseada em um String, e move a seleção até ele.
ListBase
 Inherited
Chamado depois que a impressão estiver completa.
UIComponent
 Inherited
Providencia o objeto de automatização no índice especificado.
UIComponent
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Retorna um retângulo que define a área do objeto display relativo ao sistema de coordenadas do objeto targetCoordinateSpace.
DisplayObject
 Inherited
Retorna o objeto child display que existe no índice especificado.
DisplayObjectContainer
 Inherited
Retorna o objeto display child que existe com o nome especificado.
DisplayObjectContainer
 Inherited
Retorna a posição do índice de uma instância child DisplayObject.
DisplayObjectContainer
 Inherited
Acha os seletores de tipo para essa instância UIComponent.
UIComponent
 Inherited
getConstraintValue(constraintName:String):*
Retorna um valor layout constraint, que é o mesmo que pegar o estilo contraint para esse componente.
UIComponent
 Inherited
Um método de conveniência para determinar usar a altura explícita ou medida.
UIComponent
 Inherited
Um método de conveniência para determinar usar a largura explícita ou medida.
UIComponent
 Inherited
Pega o objeto que atualmente tem o foco.
UIComponent
 Inherited
Retorna o factory apropriado, usando o factory padrão caso nenhum tenha sido especificado.
ListBase
 Inherited
Retorna um array de objetos que ficam por baixo do point especificado e são children (ou grandchildren, e assim por diante) dessa instância DisplayObjectContainer.
DisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
Retorna um retângulo que define os limites do objeto display, baseado no sistema de coordenadas definido pelo parâmetro targetCoordinateSpace, excluindo qualquer traço em formas.
DisplayObject
 Inherited
getRendererSemanticValue(target:Object, semanticProperty:String):Object
Retorna true ou false para indicar se o efeito deveria executar no alvo.
ListBase
 Inherited
getRepeaterItem(whichRepeater:int = -1):Object
Retorna um item no dataProvider que foi usado pelo Repeater específico para produzir esse Repeater, ou null se esse Repeater não é repetido.
UIComponent
 Inherited
getStyle(styleProp:String):*
Pega uma propriedade de estilo que tem sido colocado em qualquer lugar na corrente lookup de estilo desse componente
UIComponent
 Inherited
Converte um objeto Point de coordenadas global a conteúdo.
UIComponent
 Inherited
Converte o objeto point das coordenadas Stage (global) para as coordenadas do objeto display (local).
DisplayObject
 Inherited
Verifica se o objeto do EventDispatcher tem listeners registrados para um tipo determinado de evento.
EventDispatcher
 Inherited
Indica se um objeto tem uma propriedade específica definida.
Object
 Inherited
Oculta o indicador drop embaixo do ponteiro do mouse que indica que uma operação drag-and-drop é permitida.
ListBase
 Inherited
Avalia o objeto display para ver se sobrepõe ou intersecta com o objeto obj display.
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Avalia o objeto display para ver se sobrepõe o intersecta com o ponto especificado pelos parâmetros x e y.
DisplayObject
 Inherited
Retorna um box Matrix que pode ser passado para o método drawRoundRect() como o parâmetro rot quando desenhando um gradiente horizontal.
UIComponent
 Inherited
Pega um representante de item para o índice de um item no data provider, se um existir.
ListBase
 Inherited
indicesToIndex(rowIndex:int, colIndex:int):int
Computa o offset para dentro do data provider de um item no colIndex, rowIndex.
ListBase
 Inherited
Inicializa a estrutura interna desse componente.
UIComponent
 Inherited
Inicializa várias propriedades que ficam de olho em instância repetidas desse componente.
UIComponent
 Inherited
Marca um componente para que seu método updateDisplayList() seja chamado durante um atualização de tela tardia.
UIComponent
 Inherited
Atualiza todas as fileiras no próximo update.
ListBase
 Inherited
Marca um componente para que seu método commitProperties() seja chamado durante um atualização de tela tardia.
UIComponent
 Inherited
Marca um componente para que seu método measure() seja chamado durante um atualização de tela tardia.
UIComponent
 Inherited
Determines if the item renderer for a data provider item is editable.
DataGrid
 Inherited
Determina se o representante do item para um item data provider está destacado (está em estado de roll over via o mouse embaixo do caret via navegação do teclado).
ListBase
 Inherited
Determina se o representante de item para um item de data provider é selecionável.
ListBase
 Inherited
Determina se o representante de item para um item data provider está selecionado.
ListBase
 Inherited
Determina se um item está sendo mostrado por um representante.
ListBase
 Inherited
Indica se uma instância da classe Object está na corrente do protótipo do objeto determinado como parâmetro.
Object
 Inherited
Determina se um representante contém (ou tem) um objeto display.
ListBase
 Inherited
Retorna o índice do item no data provider do item sendo representado por esse representante de item.
ListBase
 Inherited
Retorna o string dataTip que o representante mostraria para o dado objeto baseado nas propriedades dataTipField e dataTipFunctions.
ListBase
 Inherited
Retorna a classe para um ícone, se houver, para um item de dados, baseado nas propriedades iconField e iconFunction.
ListBase
 Inherited
Retorna o representante de item para um dado item no data provider, se existir.
ListBase
 Inherited
Retorna o string que o representante mostraria pada o dado objeto de dados baseado nas propriedades labelField e labelFunction.
ListBase
 Inherited
Converte um objeto Point de coordenadas local para conteúdo.
UIComponent
 Inherited
Converte o objeto point das coordenadas de um objeto display (local) para as coordenadas Stage (global).
DisplayObject
 Inherited
measureHeightOfItems(index:int = -1, count:int = 0):Number
Mede um conjunto de itens do data provider usando o atual representante de itens e retorna a soma da a altura daqueles itens.
ListBase
 Inherited
Mede o texto HTML especificado, que pode conter tags HTML tal como <font> e <b>, supondo que é mostrado em um UITextField de linha única usando um UITextFormat determinado pelos estilos desse UIComponent.
UIComponent
 Inherited
Mede o texto especificado, supondo que é mostrado em um UITextField de linha única usando um UITextFormat determinado pelos estilos desse UIComponent.
UIComponent
 Inherited
measureWidthOfItems(index:int = -1, count:int = 0):Number
Mede um conjunto de itens do data provider usando o atual representante de item e retorna a largura máxima encontrada.
ListBase
 Inherited
Move o componente para uma posição especificada dentro de seu parent.
UIComponent
  
navigateBack(index:int = 0):void
Changes this control to display the contents of a previously-visited directory in the backHistory array.
FileSystemDataGrid
  
Changes this control to display the contents of the selected subdirectory.
FileSystemDataGrid
  
navigateForward(index:int = 0):void
Changes this control to display the contents of a previously-visited directory in the forwardHistory array.
FileSystemDataGrid
  
navigateTo(directory:File):void
Changes this control to display the contents of the specified directory.
FileSystemDataGrid
  
Changes this control to display the contents of the next directory up in the hierarchy.
FileSystemDataGrid
 Inherited
Propaga mudança do estilo para os children.
UIComponent
 Inherited
Retornam true se a corrente de propriedades de posse apontam do child para esse UIComponent.
UIComponent
 Inherited
Chamado pelo Flex quando um objeto UIComponent é adicionado ou removido de um parent.
UIComponent
 Inherited
Preparam um IFlexDisplayObject para imprimir.
UIComponent
 Inherited
Indica se a propriedade especificada existe e se é enumerável.
Object
  
Re-enumerates the current directory being displayed by this control.
FileSystemDataGrid
 Inherited
Constrói ou reconstrói o cache do estilo CSS para esse componente e, se o parâmetro recursivo for true, assim também para todos os descendentes desse componente.
UIComponent
 Inherited
Para cada evento efeito, registra o EffectManager como um dos event listeners.
UIComponent
 Inherited
Remove a instância child DisplayObject especificado da lista child da instância DisplayObjectContainer.
DisplayObjectContainer
 Inherited
Remove um child DisplayObject da posição do índice especificada na lista child do DisplayObjectContainer.
DisplayObjectContainer
 Inherited
Remove um representante de item se um efeito de mudança de dados estiver em execução.
ListBase
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove um listener do objeto do EventDispatcher.
EventDispatcher
 Inherited
Faz o replay do evento específico.
UIComponent
 Inherited
Resolve um child usando o id providenciado.
UIComponent
 Inherited
[static] Termina o processamento de fundo de métodos colocados em fila pelo callLater(), depois chama suspendBackgroundProcessing().
UIComponent
 Inherited
Assegura que o item do data provider no dado índice está visível.
ListBase
 Inherited
Coloca o tamanho do objeto.
UIComponent
 Inherited
Muda a posição de um child existente no container do objeto display.
DisplayObjectContainer
 Inherited
setConstraintValue(constraintName:String, value:*):void
Coloca um valor de limitação do layout, que é o mesmo que colocar um estilo de limitação para esse componente.
UIComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
Determina o estado atual.
UIComponent
 Inherited
Determina o foco para esse componente.
UIComponent
 Inherited
Determina a disponibilidade de uma propriedade dinâmica para operações em loop.
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
Ajusta uma propriedade de estilo nessa instância do componente.
UIComponent
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Chamado quando a propriedade de visibilidade muda.
UIComponent
 Inherited
Mostra um indicador de drop embaixo do ponteiro do mouse para indicar que uma operação drag-and-drop é permitida e aonda o item será largado.
ListBase
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Deixa o usuário arrastar o sprite especificado.
Sprite
 Inherited
Finaliza o método startDrag().
Sprite
 Inherited
styleChanged(styleProp:String):void
Detecta mudanças nas propriedades de estilo.
UIComponent
 Inherited
Flex chama o método stylesInitialized() quando os estilos para um componente são primeiramente inicializados.
UIComponent
 Inherited
[static] Bloqueia o processamento de fundo de métodos colocados em fila pelo callLater(), até resumeBackgroundProcessing() ser chamado.
UIComponent
 Inherited
Troca a ordem z (ordem de frente para trás) de dois objetos child especificados.
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
Troca a ordem z (ordem de frente para trás) dos objetos child em duas posições índice especificadas na lista child.
DisplayObjectContainer
 Inherited
Retorna um string indicando o local desse objeto dentro da hierarquia do DisplayObjects no Application.
FlexSprite
 Inherited
Chamado por um efeito UnconstrainItemAction como parte de um efeito de mudança de dados se o representante de item correspondedo a certo item de dados precisa mover fora das posições normais dos representantes de itens no controle.
ListBase
 Inherited
Valida a posição e tamanho de children e desenha outros visuais.
UIComponent
 Inherited
Validar e fazer o update de propriedades e layout desse objeto e redesenhá-lo, se necessário.
UIComponent
 Inherited
Usado pela lógica do layout para validar as propriedades de um componente chamando o método commitProperties().
UIComponent
 Inherited
validateSize(recursive:Boolean = false):void
Valida o tamanho medido do componente se o método LayoutManager.invalidateSize() for chamado com esse ILayoutManagerClient, depois o método validateSize é chamado quando é hora de fazer medidas.
UIComponent
 Inherited
Maneja os eventos válidos e inválidos de um validator designado a esse componente.
UIComponent
 Inherited
Retorna o valor primitivo de um objeto específico.
Object
 Inherited
Retorna um box Matrix que pode ser passado ao drawRoundRect() como o parâmetro rot quando desenhando um gradiente vertical.
UIComponent
 Inherited
Verifica se um event listener está registrado com esse objeto do EventDispatcher ou qualquer um de seus parents para o determinado tipo de evento.
EventDispatcher
Métodos Protegidos
 MétodoDefinido Por
 Inherited
Adiciona os itens selecionados ao objeto DragSource como parte de uma operação drag-and-drop.
ListBase
 Inherited
Adiciona um representante à lista reciclada de representantes, tornando-o invisível e limpando qualquer referências dele.
ListBase
 Inherited
Adiciona um fileira vazia ao início dos array que armazenam referências às fileiras.
ListBase
 Inherited
Ajusta o retângulo de foco.
UIComponent
 Inherited
adjustListContent(unscaledWidth:Number = -1, unscaledHeight:Number = -1):void
Chamado do updateDisplayList() para ajusar o tamanho e posição do listContent.
DataGrid
 Inherited
adjustRow(contentHolder:ListBaseContentHolder, rowNum:int, yy:Number, hh:Number):void
Ajusta o tamanho e posições dos representantes para o dado rowNum, posição e altura da fileira.
DataGridBase
 Inherited
applySelectionEffect(indicator:Sprite, uid:String, itemRenderer:IListItemRenderer):void
Ajusta o efeito do aplicativo do indicador de seleção.
ListBase
 Inherited
Esse é um método interno usado pelo Flex framework para suportar o efeito Dissolve.
UIComponent
 Inherited
Calcula a posição y do indicador de drop quando estiver fazendo uma operação drag-and-drop.
ListBase
 Inherited
calculateRowHeight(data:Object, hh:Number, skipVisible:Boolean = false):Number
Calcula a altura das fileiras de colunas em uma fileira.
DataGridBase
 Inherited
Executa qualquer processo final depois que objetos child forem criados.
UIComponent
 Inherited
Limpa o indicador de caret do dado Sprite.
ListBase
 Inherited
Limpa o indicador de destaque em um dado Sprite.
ListBase
 Inherited
Remove toda seleção e destaque e indicadores de caret.
ListBase
 Inherited
clearRow(contentHolder:ListBaseContentHolder, rowNum:int):void
Remove representantes de uma fileira que deveria ser esvaziada para o dado rowNum.
DataGridBase
 Inherited
clearSelected(transition:Boolean = false):void
Limpa o conjunto de itens selecionados e remove todos os gráficos retratando o estado selecionado daqueles itens.
ListBase
 Inherited
Remove separadores de cabeçalho de coluna que o usuário normalmente usa para redimensionar colunas.
DataGrid
 Inherited
Esvazia a tabela do visibleData.
ListBase
 Inherited
Maneja CollectionEvents despachados do data provider nas mudanças de dados.
ListBase
 Inherited
Calcula a largura da coluna, altura da fileira e número de fileiras e colunas baseado em se propriedades como columnCount, columnWidth, rowHeight e rowCount foram ajustados de forma explícita.
ListBase
 Inherited
Configura o ScrollBars baseado no número de fileiras e colunas e em fileiras e colunas visíveis.
ListBase
 Inherited
Faz uma cópia profunda do objeto chamando o método ObjectUtil.copy(), e repõe a propriedade uid da cópia (se presente) com um novo valor chamando o método UIDUtil.create().
ListBase
 Inherited
copySelectedItems(useDataField:Boolean = true):Array
Faz uma cópia dos itens selecionados na ordem em que foram selecionados.
ListBase
 Inherited
Cria a borda para esse componente.
ScrollControlBase
 Inherited
Cria objetos que são children desse ListBase, nesse caso o objeto listContent que irá segurar todos os representantes de itens.
ListBase
 Inherited
Cria um novo objeto usando um contexto baseado na fonte embeded sendo usada.
UIComponent
 Inherited
Cria o objeto usando um dado moduleFactory.
UIComponent
 Inherited
destroyRow(i:int, numCols:int):void
Recicla uma fileira que não precisamos mais e remove seus indicadores.
ListBase
 Inherited
Maneja eventos DragEvent.DRAG_COMPLETE.
ListBase
 Inherited
Maneja eventos DragEvent.DRAG_DROP.
ListBase
 Inherited
Maneja eventos DragEvent.DRAG_ENTER.
ListBase
 Inherited
Maneja eventos DragEvent.DRAG_EXIT.
ListBase
 Inherited
Maneja eventos DragEvent.DRAG_OVER.
ListBase
 Inherited
Função de intervalo que faz o scroll da lista para cima ou para baixo se o mouse vai acima ou abaixo da lsita.
ListBase
 Inherited
O manejador padrão para o evento dragStart.
ListBase
 Inherited
drawCaretIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
Desenha o indicador de sinal circunflexo no dado Sprite na posição, largura e altura especificados usando a cor especificada.
ListBase
 Inherited
drawColumnBackground(s:Sprite, columnIndex:int, color:uint, column:DataGridColumn):void
Desenha um fundo de coluna para uma coluna com a cor sugerida.
DataGrid
 Inherited
Desenha o fundo dos cabeçalhos para o dado UIComponent.
DataGrid
 Inherited
drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
Desenha o indicador de destaque no dado Sprite na posição, largura e altura especificadas usando a cor especificada.
ListBase
 Inherited
drawHorizontalLine(s:Sprite, rowIndex:int, color:uint, y:Number):void
Desenha uma linha entre fileiras.
DataGrid
 Inherited
drawItem(item:IListItemRenderer, selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):void
Desenha o representante com indicadores que está destacado, selecionado, ou com caret.
ListBase
 Inherited
Draw lines between columns, and column backgrounds.
DataGrid
 Inherited
drawLinesAndColumnGraphics(contentHolder:ListBaseContentHolder, visibleColumns:Array, separators:Object):void
Draw lines between columns, and column backgrounds.
DataGrid
 Inherited
drawRowBackground(s:Sprite, rowIndex:int, y:Number, height:Number, color:uint, dataIndex:int):void
Desenha um fundo de fileira na posição e altura especificadas usando a cor especificada.
DataGrid
 Inherited
Desenha qualquer cor alternante das fileiras, bordas e fundo para as fileiras.
ListBase
 Inherited
drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
Desenha o indicador de seleção no dado Sprite na posição, largura e altura especificadas usando a cor especificada.
ListBase
 Inherited
Cria e mostra um separador de cabeçalho de coluna que o usuário geralmente usa para redimensionar colunas.
DataGrid
 Inherited
drawVerticalLine(s:Sprite, colIndex:int, color:uint, x:Number):void
Draw lines between columns.
DataGrid
 Inherited
drawVisibleItem(uid:String, selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):void
Desenha um item se for visível.
DataGridBase
 Inherited
findKey(eventCode:int):Boolean
Tenta achar o próximo item no data provider que começa com o caractere no parâmetro do eventCode.
ListBase
 Inherited
Limpa após o término de execução do efeito de mudança de dados restaurando a coleção e iterator original e removendo qualquer valores do cache usados pelo efeito.
ListBase
 Inherited
Ajusta itens selecionados baseando-se nas propriedades caretIndex e anchorIndex.
DataGridBase
 Inherited
O event handler chamado quando um objeto UIComponent recebe foco.
UIComponent
 Inherited
O event handler chamado quando um objeto UIComponent perde foco.
UIComponent
 Inherited
Pega um representante de item já criado que atualmente não está sendo usado.
ListBase
 Inherited
A coluna para o item do data provider no dado índice.
ListBase
 Inherited
indexToRow(index:int):int
A fileira para o item data provider no dado índice.
ListBase
 Inherited
Finaliza a inicialização desse componente.
UIComponent
 Inherited
Inicializa o código de acessabilidade desse componente.
UIComponent
 Inherited
initiateDataChangeEffect(unscaledWidth:Number, unscaledHeight:Number):void
Inicializa o efeito de mudança de dados onde houveram mudanças no data provider.
ListBase
 Inherited
Tipicamente anulado por componentes contendo objetos UITextField, onde os objetos UITextField recebem foco.
UIComponent
 Inherited
Retorna true se um representante de item não estiver mais sendo posicionado pelo algoritmo de layout da lista enquanto um efeito de mudança de dados estiver em execução como resultado de uma chamada ao unconstrainRenderer().
ListBase
 Inherited
Retorna um Point contendo o columnIndex e rowIndex de um representante de item.
DataGridBase
 Inherited
Determina o UID para o item do data provider.
ListBase
 Inherited
O event handler chamado para um evento keyDown.
UIComponent
 Inherited
Um event handler chamado para um evento keyUp.
UIComponent
 Inherited
layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
Responde às mudanças de tamanho ao ajustar as posições e tamanhos das bordas desse controle.
ScrollControlBase
 Inherited
Arruma o tamanho e temporariamente posiciona um itemRenderer para uma coluna, retornando seu tamanho como um Point. Sua última posição pode ser ajustada depois devido a ajsutes de alinhamento.
DataGridBase
 Inherited
makeListData(data:Object, uid:String, rowNum:int, columnNum:int, column:DataGridColumn):BaseListData
Cria uma nova instância DataGridListData e popula os campos baseando-se no item data provider de input.
DataGridBase
 Inherited
makeRow(contentHolder:ListBaseContentHolder, rowNum:int, left:Number, right:Number, yy:Number, data:Object, uid:String):Number
Faz os representantes para um dado rowNum, dataObject e uid.
DataGridBase
 Inherited
makeRowsAndColumns(left:Number, top:Number, right:Number, bottom:Number, firstColumn:int, firstRow:int, byCount:Boolean = false, rowsNeeded:uint = 0):Point
Faz fileiras e colunas suficientes para encher as áreas descritas por left, top, right, bottom.
ListBase
 Inherited
Calcula a largura e altura medidas do componente baseando-se nas propriedades rowCount, columnCount, rowHeight e columnWidth.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_CLICK de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_DOUBLE_CLICK de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_DOWN de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Determina quais representantes de itens estão sob o mouse.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_MOVE de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_OUT de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_OVER de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos MouseEvent.MOUSE_DOWN de quaisquer alvos de mouse contidos na lista incluindo os representantes.
ListBase
 Inherited
Maneja eventos mouseWheel mudando posições scroll.
ListBase
 Inherited
moveIndicatorsHorizontally(uid:String, moveBlockDistance:Number):void
Move a seleção e destaca indicadores horizontalmente.
ListBase
 Inherited
moveIndicatorsVertically(uid:String, moveBlockDistance:Number):void
Move a seleção e destaca indicadores verticalmente.
ListBase
 Inherited
moveRowVertically(i:int, numCols:int, moveBlockDistance:Number):void
Move uma fileira verticalmente, e atualiza o registro do rowInfo.
ListBase
 Inherited
Move a seleção em uma direção horizontal em resposta ao usuário selecionando itens usando as teclas de seta direita e esquerda e modificadores tal como as teclas Shift e Ctrl.
ListBase
 Inherited
moveSelectionVertically(code:uint, shiftKey:Boolean, ctrlKey:Boolean):void
Move a seleção em uma direção verical em resposta ao usuário selecionando itens usando as teclas de seta para cima ou para baixo e modificadores tal como as teclas Shift e Ctrl.
DataGridBase
 Inherited
Desenha o gráfico da seta de ordenação na coluna que está a chave de ordenação atual.
DataGrid
 Inherited
Prepara o efeito de dados para o evento de coleção.
ListBase
 Inherited
Certifica que há uma abertura nos arrays de fileira para o dado número da fileira.
DataGridBase
 Inherited
Chamado pelo updateDisplayList() para remover representantes de itens existentes e limpa várias estruturas de cache quando o representante muda.
ListBase
 Inherited
Atualiza as teclas na tabela visibleData.
ListBase
 Inherited
Remove fileira extra do fim do contentHolder.
DataGridBase
 Inherited
Remove uma fileira dos arrays que armazenam referências às fileiras.
ListBase
 Inherited
Limpa os destaques de seleção e outros gráficos associados para um dado item no data provider.
ListBase
 Inherited
Esse método é chamado quando um UIComponent é construido, e de novo quando o ResourceManager despacha um evento "change" para indicar que os recursos localizados têm mudado de alguma forma.
UIComponent
 Inherited
restoreRowArrays(modDeltaPos:int):void
Remove o número requisitado de fileiras do início dos arrays que armazenam referências às fileiras.
ListBase
 Inherited
roomForScrollBar(bar:ScrollBar, unscaledWidth:Number, unscaledHeight:Number):Boolean
ScrollControlBase
 Inherited
Event handler padrão para o evento scroll.
ScrollControlBase
 Inherited
scrollHorizontally(pos:int, deltaPos:int, scrollUp:Boolean):void
Ajusta os representantes em resposta a uma mudança na posição scroll.
ListBase
 Inherited
scrollPositionToIndex(horizontalScrollPosition:int, verticalScrollPosition:int):int
Retorna o índice do data provider para o item na primeira fileira e coluna visíveis para a dada posição scroll.
DataGrid
 Inherited
scrollVertically(pos:int, deltaPos:int, scrollUp:Boolean):void
Ajusta os representantes em resposta a uma mudança na posição scroll.
DataGrid
 Inherited
O manejador de falhas padrão quando uma busca falha devido a uma falha de página.
ListBase
 Inherited
O manejador de resultados padrão quando uma busca falha devido a falha de página.
ListBase
 Inherited
Procura uma posição, e maneja ItemPendingError se necessário.
ListBase
 Inherited
selectItem(item:IListItemRenderer, shiftKey:Boolean, ctrlKey:Boolean, transition:Boolean = true):Boolean
Atualiza o conjunto de itens selecionados se o representante de item providenciado foi clicado pelo mouse e se modificadores de teclado estiverem no estado correto.
ListBase
 Inherited
Ajusta a propriedade rowCount sem causar invalidez ou ajustar a propriedade explicitRowCount, que tranca de forma permanente o número de fileiras
ListBase
 Inherited
Ajusta a propriedade rowHeight sem causar invalidez ou ajuste do explicitRowHeight que tranca de forma permanente a altura das fileiras.
ListBase
 Inherited
setRowInfo(contentHolder:ListBaseContentHolder, rowNum:int, yy:Number, hh:Number, uid:String):void
Ajusta o rowInfo para o dado rowNum, posição de fileira e altura.
DataGridBase
 Inherited
setScrollBarProperties(totalColumns:int, visibleColumns:int, totalRows:int, visibleRows:int):void
Faz com que o ScrollControlBase mostre ou esconde scrollbars baseado nos parâmetros passado para ele.
ScrollControlBase
 Inherited
Setup de um representante de item para uma coluna e coloca no array do listItems na posição requisitada.
DataGridBase
 Inherited
shiftRow(oldIndex:int, newIndex:int, numCols:int, shiftItems:Boolean):void
Move uma fileira nos arrays que referenciam fileiras.
ListBase
 Inherited
sumRowHeights(startRowIdx:int, endRowIdx:int):Number
Determina a altura do conjunto requisitado de fileiras.
ListBase
 Inherited
Remove todas as fileiras restantes do final dos arrays que armazenam referências das fileiras.
ListBase
 Inherited
Acha um representante de item baseado em seu UID se estiver visível.
ListBase
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Adiciona ou remove representantes de itens se o números de itens que podem ser mostrados mudar.
ListBase
 Inherited
Atualiza todas as fileiras agora.
ListBase
 Inherited
Redesenhe os representantes simultaneamente.
DataGridBase
Eventos
 Evento Sumário Definido Por
 Inherited Despachado quando o Flash Player ou um aplicativo AIR obtém foco do sistema operacional e se torna ativo.EventDispatcher
 Inherited
add
Despachado quando o componente é adicionado ao container como um child de conteúdo usando o método addChild() ou addChildAt().UIComponent
 Inherited Despachado quando um objeto display é adicionado à lista display.DisplayObject
 Inherited Despachado quando um objeto display é adicionado à lista display do stage, de forma direta ou através da adição de um sub tree no qual o objeto display está contido.DisplayObject
 Inherited Despachado quando as propriedade selectedIndex ou selectedItem muda como resultado da interação do usuário.ListBase
 Inherited Despachado quando o usuário pressiona e solta o principal botão do despositivo de apontamento do usuário sobre o mesmo InteractiveObject.InteractiveObject
 Inherited Despachado quando um usuário muda a largura de uma coluna, indicando que a quantidade de dados mostrados naquela coluna pode ter mudado.DataGrid
 Inherited Despachado quando o usuário seleciona o context menu associado a esse objeto interativo no aplicativo AIR.InteractiveObject
 Inherited Despachado quando o componente terminou sua contrução, processamento de propriedade, medidas, layout e desenho.UIComponent
 Inherited Despachado após a mudança do estado de visão.UIComponent
 Inherited Despachado após a mudança da propriedade currentState, mas antes da mudança do estado de visão.UIComponent
 Inherited Despachado quando a propriedade de dados muda.ListBase
 Inherited Despachado quando o Flash Player ou um aplicativo AIR perde o foco do sistema operacional e está se tornando inativo.EventDispatcher
   Dispatched when the selected directory displayed by this control changes for any reason.FileSystemDataGrid
   Dispatched when the user tries to change the directory displayed by this control.FileSystemDataGrid
 Inherited Despachado quando o usuário pressiona e libera duas vezes em sucessão rápida o principal botão de um dispositivo e apontamento sobre o mesmo InteractiveObject quando o indicador daquele objeto doubleClickEnabled foi ajustado para true.InteractiveObject
 Inherited Despachado pelo iniciador de arrasto (o componente que é a fonte dos dados sendo arrastados) quando a operação de arrasto for completada, ou quando você largar os dados arrastados em um alvo onde o item será largado ou quando você termina a operação drag-and-drop sem fazer largar o item.UIComponent
 Inherited Despachado pelo alvo onde o item será largado quando o usuário solta o mouse por cima dele.UIComponent
 Inherited Despachado por um componente quando o usuário move o mouse sobre o componente durante uma operação de arrasto.UIComponent
 Inherited Despachado pelo componente quando o usuário arrasta para fora do componente, mas não larga os dados no alvo.UIComponent
 Inherited Despachado por um componente quando o usuário move o mouse enquanto sobre o componente durante uma operação de arrasto.UIComponent
 Inherited Despachado por um iniciador de arrasto ao começar a operação de arrasto.UIComponent
 Inherited Despachado após o término de um efeito.UIComponent
 Inherited Despachado logo antes do início de um efeito.UIComponent
 Inherited Despachado quando o playhead está entrando em um frame novo.DisplayObject
 Inherited Despachado após o componente ter retornado ao estado de visão root.UIComponent
 Inherited Despachado antes do componente sair do estado de visão root.UIComponent
   Dispatched when the user chooses a file by double-clicking it or by selecting it and pressing Enter.FileSystemDataGrid
 Inherited Despachado após o objeto display receber foco.InteractiveObject
 Inherited Despachado após um objeto display perder o foco.InteractiveObject
 Inherited Despachado quando o usuário solta o botão de mouse em um cabeçalho de coluna para pedir que o controle ordena o conteúdo do grid baseando-se no conteúdo da coluna.DataGrid
 Inherited Despachado quando o usuário solta o botão do mouse em um cabeçalho de coluna após ter arrastado a coluna a um novo local resultando em mudar a coluna para um índice novo..DataGrid
 Inherited Despachado quando um estado do objeto muda de visível para invisível.UIComponent
 Inherited Despachado quando o componente terminou sua construção e tem todas as propriedades de inicialização ajustadas.UIComponent
 Inherited Despachado quando um componente é monitorado por um Validator e a validação falha.UIComponent
 Inherited Despachado quando o usuário clica em um item no controle.ListBase
 Inherited Despachado quando o usuário clica duas vezes em um item no controle.ListBase
 Inherited Despachado quando a propriedade editedItemPosition tem sido ajustada e o item pode ser editado.DataGrid
 Inherited Dispatched when the user releases the mouse button while over an item renderer, tabs to the DataGrid control or within the DataGrid control, or in any other way attempts to edit an item.DataGrid
 Inherited Despachado quando uma sessão de edição de item termina por alguma razão.DataGrid
 Inherited Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the DataGrid control or navigates to the item using a keyboard.DataGrid
 Inherited Dispatched when an item renderer loses focus, which can occur if the user clicks another item in the DataGrid control or clicks outside the control, or uses the keyboard to navigate to another item in the DataGrid control or outside the control.DataGrid
 Inherited Despachado quando o usuário roda o ponteiro do mouse para fora de um item no controle.ListBase
 Inherited Despachado quando o usuário roda o ponteiro do mouse sobre um item no controle.ListBase
 Inherited Despachado quando o usuário pressiona uma tecla.InteractiveObject
 Inherited Despachado quando o usuário tenta mudar o foco usando a navegação do teclado.InteractiveObject
 Inherited Despachado quando o usuário solta uma tecla.InteractiveObject
 Inherited Despachado quando o usuário pressiona e solta o botão do meio de um dispositivo de apontamento sobre o mesmo InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário pressionar o dispositivo de apontamento do meio sobre uma instância InteractivObject.InteractiveObject
 Inherited Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário pressiona o dispositivo de apontamento sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado de um componente aberto usando o PopUpManager quando o usuário clica para fora dele.UIComponent
 Inherited Despachado quando o usuário tenta mudar o foco usando um dispositivo de apontemento.InteractiveObject
 Inherited Despachado quando o usuário move o dispositivo de apontemento enquanto está sobre um InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário move um dispositivo de apontamento para longe de uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário move um dispositivo de apontamento sobre a instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando a roda do mouse é girada sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado do componente aberto usando o PopUpManager quando o usuário faz o scroll na roda do mouse fora dele.UIComponent
 Inherited Despachado quando o objeto se moveu.UIComponent
 Inherited Despachado pelo iniciador de arrasto InteractiveObject quando o usuário solta o gesto de arrasto.InteractiveObject
 Inherited Despachado pelo alvo InteractiveObject quando um objeto arrastado é largado nele este ato foi aceitado com uma chamada ao DragManager.acceptDragDrop().InteractiveObject
 Inherited Despachado por um InteractiveObject quando um gesto de arrasto adentra suas fronteiras.InteractiveObject
 Inherited Despachado por um InteractiveObject quando um gesto de arrasto deixa suas fronteiras.InteractiveObject
 Inherited Despachado por um InteractiveObject continuamente enquanto um gesto de arrasto permanece dentro de sua fronteira.InteractiveObject
 Inherited Despachado no início de operação de arrasto pelo InteractiveObject que é especificado como aquele que começa o arrasto na chamada DragManager.doDrag().InteractiveObject
 Inherited Despachado durante uma operação de arrasto pelo InteractiveObject que é especificado como aquele que inica o arrasto na chamada DragManager.doDrag().InteractiveObject
 Inherited Despachado no iníncio da seqência de inicialização do componente.UIComponent
 Inherited Despachado quando o componente é removido de um container como um child de conteúdo usando o método removeChild() ou removeChildAt().UIComponent
 Inherited Despachado quando um objeto display está prestes a ser removido da lista display.DisplayObject
 Inherited Despachado quando um objeto display está prestes a ser removido da lista display, de forma direta ou através da remoção de um sub tree no qual o objeto display está contido.DisplayObject
 Inherited Despachado quando a lista display está prestes a ser atualizada e representada.DisplayObject
 Inherited Despachado quando o componente muda de tamanho.UIComponent
 Inherited Despachado quando o usuário pressiona e solta o botão direito de um dispositivo de apontamento do usuário sobre o mesmo InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário pressiona o dispositivo de apontamento sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário solta o botão do dispositivo de apontamento sobre uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário move um dispositivo de apontamento para longe de uma instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o usuário move um dispositivo de apontamento sobre a instância InteractiveObject.InteractiveObject
 Inherited Despachado quando o conteúdo está sofrendo scroll.ScrollControlBase
 Inherited Despachado quando o estado de um objeto muda de invisível para visível.UIComponent
 Inherited Despachado quando o valor do indicador do objeto tabChildren muda.InteractiveObject
 Inherited Despachado quando o indicador do objeto tabEnabled muda.InteractiveObject
 Inherited Despachado quando o valor da propriedade do objeto tabIndex muda.InteractiveObject
 Inherited Despachado pelo componente quando chega a hora de criar um ToolTip.UIComponent
 Inherited Despachado pelo componente quando seu ToolTip foi ocultado e será logo descartado.UIComponent
 Inherited Despachado pelo componente quando seu ToolTip está prestes a ser ocultado.UIComponent
 Inherited Despachado pelo componente quando seu ToolTip está prestes a ser mostrado.UIComponent
 Inherited Despachado pelo componente quando seu ToolTip foi mostrado.UIComponent
 Inherited Despachado por um componente no qual a propriedade ToolTip é ajustada assim que o usuário passa o mouse por cima.UIComponent
 Inherited Despachado quando um objeto teve seus métodos commitProperties(), measure(), e updateDisplayList() chamados (se necessário).UIComponent
 Inherited Despachado quando um componente é monitorado por um Validator e a validação é um sucesso.UIComponent
 Inherited Despachado quando valores mudam de forma programada ou pela interação do usuário.UIComponent
Estilos
 Estilo Descrição Definido Por
 Inherited Tipo: Array Formato: Cor Herança CSS: sim
As cores para usar nos fundos dos itens na lista.
ListBase
 Inherited Tipo: Number Herança CSS: não
Nível alpha da cor definida pela propriedade backgroundColor, da imagem ou arquivo SWF definido pelo estilo backgroundImage.
ScrollControlBase
 Inherited Tipo: uint Formato: Cor Herança CSS: não
Cor do fundo de um componente.
ScrollControlBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor do fundo de um componente quando ele é desativado.
ScrollControlBase
 Inherited Tipo: Object Formato: Arquivo Herança CSS: não
Imagem de fundo de um componente.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
Ajusta o tamanho da imagem especificada pelo backgroundImage para diferentes porcentagens de tamanho.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
A distância vertical em pixels do canto superior da área de conteúdo á posição da base controle.
UIComponent
 Inherited Tipo: uint Formato: Cor Herança CSS: não
Cor da borda.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
Laterais de limite da caixa.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
A classe border skin do componente.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
Estilo das laterais da caixa.
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
A grossura das laterais da caixa.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
A distância vertical em pixels do canto inferior do componente ao canto inferior de sua área de conteúdo.
UIComponent
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor do texto no componente, incluindo o label do componente.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
A classe a ser usada como o skin que indica que a coluna pode ser largada no local atual.
DataGrid
 Inherited Tipo: Class Herança CSS: não
A classe a ser usada como o skin para uma coluna que está sendo redimensionada.
DataGrid
  
directoryIcon
Tipo: Class Formato: EmbeddedFile Herança CSS: não
Specifies the icon that indicates a directory. The default icon is located in the Assets.swf file. In MXML, you can use the following syntax to set this property: directoryIcon="@Embed(source='directoryIcon.jpg');" O valor padrão é TreeNodeIcon.
FileSystemDataGrid
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor de texto no componente se for desativado.
ScrollControlBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor para o ícone em um skin desativado.
DataGrid
 Inherited Tipo: Class Herança CSS: não
O skin usado para indicar onde o item arrastad pode ser largado.
ListBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor da sombra drop.
ScrollControlBase
 Inherited Tipo: Boolean Herança CSS: não
Propriedade boolean que especifica se o componente tem uma sombra drop visível.
ScrollControlBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor do destaque do componente quando validação falha.
UIComponent
  
fileIcon
Tipo: Class Formato: EmbeddedFile Herança CSS: não
Specifies the icon that indicates a file. The default icon is located in the Assets.swf file. In MXML, you can use the following syntax to set this property: fileIcon="@Embed(source='fileIcon.jpg');" O valor padrão é TreeNodeIcon.
FileSystemDataGrid
 Inherited Tipo: Number Herança CSS: não
Especifica o valor da transferência do skin do foco.
ListBase
 Inherited Tipo: String Herança CSS: não
Blend mode usado pelo retângulo de foco.
UIComponent
 Inherited Tipo: String Herança CSS: não
Especifica quais cantos do retângulo de foco deveriam ser arredondados.
ListBase
 Inherited Tipo: Class Herança CSS: não
Skin usado para desenhar o retângulo de foco.
UIComponent
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
Grossura, em pixels, do outline do retângulo de foco.
UIComponent
 Inherited Tipo: String Herança CSS: sim
Ajusta a propriedade antiAliasType de TextFields internos.
ScrollControlBase
 Inherited Tipo: String Herança CSS: sim
Nome da fonte a ser usada.
ScrollControlBase
 Inherited Tipo: String Herança CSS: sim
Ajusta a propriedade gridFitType de TextFields internos que representam texto no controle em Flex.
ScrollControlBase
 Inherited Tipo: Number Herança CSS: sim
Ajusta a propriedade sharpness de TextFields internos que representam texto no controle em Flex.
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: sim
Altura do texto, em pixels.
ScrollControlBase
 Inherited Tipo: String Herança CSS: sim
Determina se o texto tem fonte itálico.
ScrollControlBase
 Inherited Tipo: Number Herança CSS: sim
Ajusta a propriedade thickness de TextFields internos que representam texto no controle em Flex.
ScrollControlBase
 Inherited Tipo: String Herança CSS: sim
Determina se o texto está em negrito.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the background of the column headers in a DataGrid control.
DataGrid
 Inherited Tipo: Array Formato: Cor Herança CSS: sim
Um array de duas cores usadas para desenhar o gradiente do fundo de cabeçalho.
DataGrid
 Inherited Tipo: String Herança CSS: não
O nome de uma declaração de estilo CSS para controlar aspectos da aparência da coluna quando o usuário está arrastando-o para outro local.
DataGrid
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the separator between column headers in a DataGrid control.
DataGrid
 Inherited Tipo: String Herança CSS: não
O nome de uma declaração de estilo CSS para controlar outros aspecto da aparência dos cabeçalhos das colunas.
DataGrid
 Inherited Tipo: String Herança CSS: não
A distância horizontal em pixels do centro da área de conteúdo do componente ao centro do componente.
UIComponent
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor das linhas de grid horizontais.
DataGrid
 Inherited Tipo: Boolean Herança CSS: não
Um indicador que indica se deve mostra linhas de grid horizontais entre as fileiras.
DataGrid
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the separator between the locked and unlocked rows in a DataGrid control.
DataGrid
 Inherited Tipo: String Herança CSS: não
Nome do estilo para o scrollbar horizontal.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the separator between rows in a DataGrid control.
DataGrid
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor para o ícone em um skin.
DataGrid
 Inherited Tipo: Boolean Herança CSS: sim
Um valor boolean que indica quando é possivel fazer o kern (true) ou não (false).
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: sim
Espaço vertical adicional entre as linhas do texto.
ScrollControlBase
 Inherited Tipo: String Herança CSS: não
A distância horizontal em pixels da beirada esquerda da área de conteúdo do componente à beirada esquerda do componente.
UIComponent
 Inherited Tipo: Number Herança CSS: sim
O número de pixels adicionais a aparecerem entre cada caractere.
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
O número de pixels entre a parte inferior da fileira e a parte inferior do representante na fileira.
ListBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
Número de pixels entre a borda esquerda do componente e a beirada esquerda da sua área de conteúdo.
ListBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
Número de pixels entre a borda direita do componente e a beirada de sua área de conteúdo.
ListBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
O número de pixels entre o topo da fileira e o topo do representante na fileira.
ListBase
 Inherited Tipo: String Herança CSS: não
A distância horizontal em pixels da beirada direita do componente à beirada direita de sua área de conteúdo.
UIComponent
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor do fundo da fileira quando o usuário passa por cima da fileira.
DataGrid
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor de fundo da fileira quando o usuáiro seleciona um representante de item na fileira.
DataGrid
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor do fundo de um representante quando o componente é desativado.
ListBase
 Inherited Tipo: Number Formato: Time Herança CSS: não
A duração do efeito de seleção.
ListBase
 Inherited Tipo: Function Herança CSS: não
O easingFunction para o efeito de seleção.
ListBase
 Inherited Tipo: String Herança CSS: não
Direção da sombra drop.
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: não
Distância da sombra drop.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
A classe a ser usada como skin para a seta que indica a direção da ordenação de coluna.
DataGrid
 Inherited Tipo: Class Herança CSS: não
A classe a ser usada como o skin para o cursor que indica que uma coluna pode ser redimensionada.
DataGrid
 Inherited Tipo: String Herança CSS: sim
Alinhamento do texto dentro do container.
ScrollControlBase
 Inherited Tipo: String Herança CSS: sim
Determina se o texto está sublinhado.
ScrollControlBase
 Inherited Tipo: Number Formato: Comprimento Herança CSS: sim
Offset da primeira linha do texto do lado esquerdo do container, em pixels.
ScrollControlBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor do texto de um representante quando o usuário passa por cima dele.
ListBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor do texto de um representante quando o usuário seleciona ele.
ListBase
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
Cor do tema de um componente.
UIComponent
 Inherited
top
Tipo: String Herança CSS: não
A distância vertical em pixels da beirada superior da área de conteúdo do control à beirada superior do componente.
UIComponent
 Inherited Tipo: Boolean Herança CSS: não
Um indicador que controla se itens são destacados assim que o mouse passa por cima deles.
ListBase
 Inherited Tipo: String Herança CSS: não
O alinhamento vertical de um representante em uma fileira.
ListBase
 Inherited Tipo: String Herança CSS: não
A distância vertical em pixels do centro da área de conteúdo do componente ao centro do componente.
UIComponent
 Inherited Tipo: uint Formato: Cor Herança CSS: sim
A cor das linhas de grid horizontais.
DataGrid
 Inherited Tipo: Boolean Herança CSS: não
Um indicador que indica se deve mostrar linhas de grid verticais entre as colunas.
DataGrid
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the separator between the locked and unlocked columns in a DataGrid control.
DataGrid
 Inherited Tipo: String Herança CSS: não
Nome do estilo para um scrollbar vertical.
ScrollControlBase
 Inherited Tipo: Class Herança CSS: não
The class to use as the skin that defines the appearance of the separators between columns in a DataGrid control.
DataGrid
Efeitos
 Efeito Descrição Definido Por
 Inherited Evento Disparador: added
Executado quando o componente é adicionado a um Container como um child.
UIComponent
 Inherited Evento Disparador: creationComplete
Executado quando o componente é criado.
UIComponent
 Inherited Evento Disparador: focusIn
Executado quando o componente recebe foco do teclado.
UIComponent
 Inherited Evento Disparador: focusOut
Executado quando o componente perde foco do teclado.
UIComponent
 Inherited Evento Disparador: hide
Executado quando o componente se torna invisível.
UIComponent
 Inherited Evento Disparador: mouseDown
Executado quando o usuário pressiona o botão do mouse sobre o componente.
UIComponent
 Inherited Evento Disparador: mouseUp
Executado quando o usuário solta o botão do mouse sobre o componente.
UIComponent
 Inherited Evento Disparador: move
Executado quando o componente é movido.
UIComponent
 Inherited Evento Disparador: removed
Executado quando o componente é removido de um Container.
UIComponent
 Inherited Evento Disparador: resize
Executado quando o componente muda de tamanho.
UIComponent
 Inherited Evento Disparador: rollOut
Executado quando o usuário move o mouse para que não fique mais sobre o componente.
UIComponent
 Inherited Evento Disparador: rollOver
Executado quando o usuário passa o mouse por cima do componente.
UIComponent
 Inherited Evento Disparador: show
Executado quando o componente se torna visível.
UIComponent
Constantes Públicas
 ConstanteDefinido Por
  COMPUTER : File
[static] A constant that can be used as a value for the directory property, representing a pseudo-top level directory named "Computer".
FileSystemDataGrid
 InheritedDEFAULT_MAX_HEIGHT : Number = 10000
[static] O valor padrão para a propriedade maxHeight.
UIComponent
 InheritedDEFAULT_MAX_WIDTH : Number = 10000
[static] O valor padrão para a propriedade maxWidth.
UIComponent
 InheritedDEFAULT_MEASURED_HEIGHT : Number = 22
[static] O valor padrão para a propriedade measuredHeight.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_HEIGHT : Number = 22
[static] O valor padrão para a propriedade measuredMinHeight.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_WIDTH : Number = 40
[static] O valor padrão para a propriedade measuredMinWidth.
UIComponent
 InheritedDEFAULT_MEASURED_WIDTH : Number = 160
[static] O valor padrão para a propriedade measuredWidth.
UIComponent
Detalhe da Propriedade
backHistorypropriedade
backHistory:Array  [leitura-somente]

An Array of File objects representing directories to which the user can navigate backward.

The first item in this Array is the next directory backward in the history list. The last item is the directory furthest backward in the history list.

This Array may contain a null item, which represents the non-existent directory whose contents are root directories such as C:\ and D:\ on Microsoft Windows.

The following example shows how to use this property along with the FileSystemHistoryButton control to implement a back button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
         enabled="{fileSystemViewer.canNavigateBack}"
         dataProvider="{fileSystemViewer.backHistory}"
         click="fileSystemViewer.navigateBack();"
         itemClick="fileSystemViewer.navigateBack(event.index);"/>

O valor padrão é [].

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get backHistory():Array

Ver também

canNavigateBackpropriedade 
canNavigateBack:Boolean  [leitura-somente]

A flag which is true if there is at least one directory in the history list to which the user can navigate backward.

The following example shows how to use this property along with the FileSystemHistoryButton control to implement a back button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
          enabled="{fileSystemViewer.canNavigateBack}"
          dataProvider="{fileSystemViewer.backHistory}"
          click="fileSystemViewer.navigateBack();"
          itemClick="fileSystemViewer.navigateBack(event.index);"/>

O valor padrão é false.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get canNavigateBack():Boolean

Ver também

canNavigateDownpropriedade 
canNavigateDown:Boolean  [leitura-somente]

A flag which is true if the user can navigate down into a selected directory. This flag is false when there is no selected item or when the selected item is a file rather than a directory.

The following example shows how to use this property along with the Button control:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Open"
          enabled="{fileSystemViewer.canNavigateDown}"
          click="fileSystemViewer.navigateDown();"/>

O valor padrão é false.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get canNavigateDown():Boolean

Ver também

canNavigateForwardpropriedade 
canNavigateForward:Boolean  [leitura-somente]

A flag which is true if there is at least one directory in the history list to which the user can navigate forward.

The following example shows how to use this property along with the FileSystemHistoryButton control to implement a forward button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

O valor padrão é false.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get canNavigateForward():Boolean

Ver também

canNavigateUppropriedade 
canNavigateUp:Boolean  [leitura-somente]

A flag which is true if the user can navigate up to a parent directory. This flag is only false when this control is displaying the root directories such as C:\ and D:\ on Microsoft Windows. (This is the case in which the directory property is COMPUTER.)

The following example shows how to use this property along with the Button control:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Up"
          enabled="{fileSystemViewer.canNavigateUp}"
          click="fileSystemViewer.navigateUp();"/>

O valor padrão é false.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get canNavigateUp():Boolean

Ver também

creationDateColumnpropriedade 
public var creationDateColumn:DataGridColumn

The DataGridColumn representing the Created column. The FileSystemDataGrid control automatically creates this column.

You can set properties such as creationDateColumn.width to customize this column. To remove this column entirely, or to change the column order, set the columns property to an array such as [ nameColumn, modificationDateColumn, sizeColumn ].

dateFormatStringpropriedade 
dateFormatString:String  [ler-escrever]

A String that determines how dates in the Created and Modified columns are formatted. Setting this property sets the formatString of an internal DateFormatter that this control creates.


Implementação
    public function get dateFormatString():String
    public function set dateFormatString(value:String):void

Ver também

directorypropriedade 
directory:File  [ler-escrever]

The directory whose contents this control displays.

If you set this property to a File object representing an existing directory, the dataProvider immediately becomes null. Later, when this control is revalidated by the LayoutManager, it enumerates that directory's contents and populates the dataProvider property with an ArrayCollection of the resulting File objects for the directory's files and subdirectories.

Setting this to a File which does not represent an existing directory is an error. Setting this to COMPUTER synchronously displays the root directories, such as C: and D: on Windows.

Setting this property deselects any previously selected items and causes the control to reset its scroll position to the upper-left corner.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get directory():File
    public function set directory(value:File):void
enumerationModepropriedade 
enumerationMode:String  [ler-escrever]

A String specifying whether this control displays only files, only subdirectories, or both. In the case that both are displayed, it also specifies whether the subdirectories are displayed before, after, or mixed in with the files. The possible values are specified by the FileSystemEnumerationMode class.

This property affects which subdirectories and files are displayed in the control, and the order in which they appear. However, it does not affect which File instances are in the dataProvider property; it works by changing the behavior of the filter function that is applied to the dataProvider. Setting it does not cause the current directory to be re-enumerated.

Setting this property deselects any selected items and causes the control to reset its scroll position to the upper-left corner.

O valor padrão é FileSystemEnumerationMode.DIRECTORIES_FIRST.


Implementação
    public function get enumerationMode():String
    public function set enumerationMode(value:String):void

Ver também

extensionspropriedade 
extensions:Array  [ler-escrever]

An Array of extensions specifying which files can be displayed in this control. If this property is set, for example, to [ ".htm", ".html" ], then only files with these extensions can be displayed.

Extensions are considered case-insensitive and the preceding dot is optional. For example, specifying ".HTML" is equivalent to specifying "html".

Directories are not subject to extension filtering, even if they have names containing dots.

The enumerationMode and filterFunction properties are also involved in determining which files appear in the control. For example, if this property is [ ".htm", ".html" ], an .html file is not displayed if the enumerationMode property is FileSystemEnumerationMode.DIRECTORIES_ONLY, or if the filterFunction returns false for the file.

If this property is null, no extension filtering occurs, and all files are displayed. If this property is an empty Array, all extensions are filtered out and no files with extensions are displayed.

This property affects which files are displayed in the control. However, it does not affect which File instances are in the dataProvider property; it works by changing the behavior of the filter function that is applied to the dataProvider. Setting it does not cause the current directory to be re-enumerated.

Setting this property deselects any selected items and causes the control to reset its scroll position to the upper-left corner.

O valor padrão é null.


Implementação
    public function get extensions():Array
    public function set extensions(value:Array):void
filterFunctionpropriedade 
filterFunction:Function  [ler-escrever]

A callback Function that you can use to perform additional filtering, after the enumerationMode and extensions properties have been applied, to determine which files and subdirectories are displayed and which are hidden.

This function must have the following signature:

function myFilterFunction(file:File):Boolean
This function should return true to show the specified file or subdirectory and false to hide it.

To ensure that every enumerated file and subdirectory is passed to this function, the enumerationMode property must not be FileSystemEnumerationMode.FILES_ONLY or FileSystemEnumerationMode.DIRECTORIES_ONLY, and the extensions property must be null. Otherwise, these properties cause pre-filtering to occur before this filter function is called.

This property affects which subdirectories and files are displayed in the control. However, it does not affect which File instances are in the dataProvider property; it works by changing the behavior of the filter function that is applied to the dataProvider. Setting it does not cause the current directory to be re-enumerated.

Setting this property deselects any selected items and causes the control to reset its scroll position to the upper-left corner.

O valor padrão é null.


Implementação
    public function get filterFunction():Function
    public function set filterFunction(value:Function):void
forwardHistorypropriedade 
forwardHistory:Array  [leitura-somente]

An Array of File objects representing directories to which the user can navigate forward.

The first item in this Array is the next directory forward in the history list. The last item is the directory furthest forward in the history list.

This Array may contain a null item, which represents the non-existent directory whose contents are root directories such as C:\ and D:\ on Windows.

The following example shows how to use this property along with the FileSystemHistoryButton control to implement a forward button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

O valor padrão é [].

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get forwardHistory():Array

Ver também

modificationDateColumnpropriedade 
public var modificationDateColumn:DataGridColumn

The DataGridColumn representing the Modified column. The FileSystemDataGrid control automatically creates this column.

You can set properties such as modificationDateColumn.width to customize this column. To remove this column entirely, or to change the column order, set the columns property to an array such as [ nameColumn, modificationDateColumn, sizeColumn ].

nameColumnpropriedade 
public var nameColumn:DataGridColumn

The DataGridColumn representing the Name column. The FileSystemDataGrid control automatically creates this column.

You can set properties such as nameColumn.width to customize this column. To remove this column entirely, or to change the column order, set the columns property to an array such as [ nameColumn, modificationDateColumn, sizeColumn ].

nameCompareFunctionpropriedade 
nameCompareFunction:Function  [ler-escrever]

A callback Function that you can use to change how file and subdirectory names are compared in order to produce the sort order.

This function must have the following signature:

function myNameCompareFunction(name1:String, name2:String):int

It returns -1 if name1 should sort before name2, 1 if name1 should sort after name2, and 0 if the names are the same.

If you do not set this property, the control performs a case-insensitive, locale-dependent comparison of the two names, by first calling the String method toLocaleLowerCase() on each name and then comparing them with the < and > operators.

If you have set enumerationMode to either FileSystemEnumerationMode.FILES_FIRST or FileSystemEnumerationMode.DIRECTORIES_FIRST, then this method is used to compare names only within the separate groups of files and directories.

This property affects the order in which subdirectories and files are displayed in the control. However, it does not affect which File instances are in the dataProvider property; it works by changing the behavior of the sort that is applied to the dataProvider. Setting it does not cause the current directory to be re-enumerated.

Setting this property deselects any selected items and causes the control to reset its scroll position to the upper-left corner.

O valor padrão é null.


Implementação
    public function get nameCompareFunction():Function
    public function set nameCompareFunction(value:Function):void
selectedPathpropriedade 
selectedPath:String  [ler-escrever]

The nativePath of the File item representing the selected subdirectory or file, or null if no item is selected.

If multiple items are selected, getting this property gives the first path in the selectedPaths array.

Setting this property affects the selectedPaths, selectedItem, selectedItems, selectedIndex, and selectedIndices properties.

O valor padrão é null.

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get selectedPath():String
    public function set selectedPath(value:String):void

Ver também

selectedPathspropriedade 
selectedPaths:Array  [ler-escrever]

An Array of nativePath Strings for the File items representing the selected subdirectories and files. This Array is empty if no items are selected.

Setting this property affects the selectedPaths, selectedItem, selectedItems, selectedIndex, and selectedIndices properties.

O valor padrão é [].

Essa propriedade pode ser usada como a fonte para a união de dados.


Implementação
    public function get selectedPaths():Array
    public function set selectedPaths(value:Array):void

Ver também

showExtensionspropriedade 
showExtensions:Boolean  [ler-escrever]

A flag that specifies whether extensions in file names are shown. Set this property to true to show file extensions and to false to hide them. Extensions in directory names are always shown.

Setting this property does not affect which items are displayed, or the order in which they appear. It also does not affect which items are selected, or the scroll position.


Implementação
    public function get showExtensions():Boolean
    public function set showExtensions(value:Boolean):void
showHiddenpropriedade 
showHidden:Boolean  [ler-escrever]

A flag that specifies whether files and directories that the operating system considers hidden are displayed. Set this property to true to show hidden files and directories and to false to hide them.

Setting this property deselects any selected items and causes the control to reset its scroll position to the upper-left corner.


Implementação
    public function get showHidden():Boolean
    public function set showHidden(value:Boolean):void
showIconspropriedade 
showIcons:Boolean  [ler-escrever]

A flag that specifies that icons are displayed before the file name. Set this property to true to show icons and to false to hide them.

You can set the directoryIcon and fileIcon styles to change the default icons. This control cannot display the actual icon that the operating system displays for a file, because Apollo M2 does not support that feature.

Setting this property does not affect which items are displayed, or the order in which they appear. It also does not affect which items are selected, or the scroll position.


Implementação
    public function get showIcons():Boolean
    public function set showIcons(value:Boolean):void
sizeColumnpropriedade 
public var sizeColumn:DataGridColumn

The DataGridColumn representing the Size column. The FileSystemDataGrid control automatically creates this column.

You can set properties such as sizeColumn.width to customize this column. To remove this column entirely, or to change the column order, set the columns property to an array such as [ nameColumn, modificationDateColumn, sizeColumn ].

sizeDisplayModepropriedade 
sizeDisplayMode:String  [ler-escrever]

A String specifying whether the Size column displays file sizes in bytes or rounded up to the nearest kilobyte, where a kilobyte is 1024 bytes. The possible values are specified by the FileSystemSizeDisplayMode class.


Implementação
    public function get sizeDisplayMode():String
    public function set sizeDisplayMode(value:String):void

Ver também

typeColumnpropriedade 
public var typeColumn:DataGridColumn

The DataGridColumn representing the Type column. The FileSystemDataGrid control automatically creates this column.

You can set properties such as typeColumn.width to customize this column. To remove this column entirely, or to change the column order, set the columns property to an array such as [ nameColumn, modificationDateColumn, sizeColumn ].

Detalhe do Construtor
FileSystemDataGrid()Construtor
public function FileSystemDataGrid()

Constructor.

Detalhe do Método
clear()método
public function clear():void

Clears this control so that it displays no items.

This method sets the dataProvider to null but leaves the directory property unchanged. You can call refresh to populate this control again.

findIndex()método 
public function findIndex(nativePath:String):int

Returns the index of the File item with the specified native file system path.

Items which are present in the control's collection but not displayed because of filtering are not searched.

Parâmetros

nativePath:String — A String specifying the nativePath of a File item.

Retorna
int — A zero-based index, or -1 if no File was found with the specified path.
findItem()método 
public function findItem(nativePath:String):File

Searches the File instances currently displayed in this control and returns the one with the specified nativePathproperty.

File instances which are present in the control's collection but not displayed because of filtering are not searched.

Parâmetros

nativePath:String — A String specifying the nativePath of a File item.

Retorna
File — A File instance if one was found with the specified nativePath, or null if none was found.
navigateBack()método 
public function navigateBack(index:int = 0):void

Changes this control to display the contents of a previously-visited directory in the backHistory array.

If the backHistory array is empty, or if you specify an index that is not in that array, then this method does nothing.

When this method returns, the directory property contains the File instance for the new directory. The dataProvider property is temporarily null until the new directory has been enumerated. After the enumeration, the dataProvider property contains an ArrayCollection of File instances for the new directory's contents.

The history list is left unchanged. However, the current index into it changes, which affects the backHistory and forwardHistory properties. They have new values as soon as this method returns.

The following example shows how to use this method along with the FileSystemHistoryButton control to create a back button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
          enabled="{fileSystemViewer.canNavigateBack}"
          dataProvider="{fileSystemViewer.backHistory}"
          click="fileSystemViewer.navigateBack();"
          itemClick="fileSystemViewer.navigateBack(event.index);"/>

Parâmetros

index:int (default = 0) — The index in the backHistory array to navigate to. The default is 0, indicating the directory that is "closest back".

Ver também

navigateDown()método 
public function navigateDown():void

Changes this control to display the contents of the selected subdirectory.

If a subdirectory is not selected, this method does nothing.

When this method returns, the directory property contains the File instance for the new directory. The dataProvider property is temporarily null until the new directory has been enumerated. After the enumeration, the dataProvider property contains an ArrayCollection of File instances for the new directory's contents.

The following example shows how to use this method along with the Button control to create an open button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Open"
          enabled="{fileSystemViewer.canNavigateDown}"
          click="fileSystemViewer.navigateDown();"/>

Ver também

navigateForward()método 
public function navigateForward(index:int = 0):void

Changes this control to display the contents of a previously-visited directory in the forwardHistory array.

If the forwardHistory array is empty, or if you specify an index that is not in that array, then this method does nothing.

When this method returns, the directory property contains the File instance for the new directory. The dataProvider property is temporarily null until the new directory has been enumerated. After the enumeration, the dataProvider property contains an ArrayCollection of File instances for the new directory's contents.

The history list is left unchanged. However, the current index into it changes, which affects the backHistory and forwardHistory properties. They have new values as soon as this method returns.

The following example shows how to use this method along with the FileSystemHistoryButton control to create a forward button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

Parâmetros

index:int (default = 0) — The index in the forwardHistory array to navigate to. The default is 0, indicating the directory that is "closest forward".

Ver também

navigateTo()método 
public function navigateTo(directory:File):void

Changes this control to display the contents of the specified directory.

Parâmetros

directory:File — A file object representing a file or directory.

navigateUp()método 
public function navigateUp():void

Changes this control to display the contents of the next directory up in the hierarchy.

If this control is currently displaying root directories (such as C: and D: on Microsoft Windows), this method does nothing.

When this method returns, the directory property contains the File instance for the new directory. The dataProvider property is temporarily null until the new directory has been enumerated. After the enumeration, the dataProvider property contains an ArrayCollection of File instances for the new directory's contents.

The following example shows how to use this property along with the Button control to create an up button:

      <mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Up"
          enabled="{fileSystemViewer.canNavigateUp}"
          click="fileSystemViewer.navigateUp();"/>

Ver também

refresh()método 
public function refresh():void

Re-enumerates the current directory being displayed by this control.

Because AIR does not support file system notifications, this control does not automatically refresh if a file or subdirectory is created, deleted, moved, or renamed; in other words, it can display an out-of-date view of the file system. However, you can call refresh() to re-enumerate the current directory so that it is up-to-date. You could, for example, choose to do this when you have performed a file operation that you know causes the control's view to become stale, or when the user deactivates and reactivates your application.

This method preserves any selected items (if they still exist) and the scroll position (if the first visible item still exists).

Detalhe do Evento
directoryChange Evento
Event Object Type: mx.events.FileEvent
FileEvent.type property = mx.events.FileEvent.DIRECTORY_CHANGE

Dispatched when the selected directory displayed by this control changes for any reason.

The FileEvent.DIRECTORY_CHANGE constant defines the value of the type property of the event object for a directoryChange event.

As propriedades do objeto de evento tem os seguintes valores:

PropriedadeValor
bubblesfalse
cancelablefalse
currentTargetO Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget.
fileThe File object associated with this event.
targetO Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento.
typeFileEvent.DIRECTORY_CHANGE
directoryChanging Evento  
Event Object Type: mx.events.FileEvent
FileEvent.type property = mx.events.FileEvent.DIRECTORY_OPENING

Dispatched when the user tries to change the directory displayed by this control.

The user can try to change the directory by double-clicking a subdirectory, by pressing Enter or Ctrl-Down when a subdirectory is selected, by pressing Ctrl-Up when the control isn't displaying the COMPUTER directory, by pressing Ctrl-Left when there is a previous directory in the history list to navigate back to, or by pressing Ctrl-Right when there is a next directory in the history list to navigate forward to.

This event is cancelable. If you call event.preventDefault(), the directory is not changed.

After the directory property has changed and the dataProvider contains File instances for the items in the new directory, the directoryChange event is dispatched.

The FileEvent.DIRECTORY_OPENING constant defines the value of the type property of the event object for a directoryOpening event.

As propriedades do objeto de evento tem os seguintes valores:

PropriedadeValor
bubblesfalse
cancelabletrue
currentTargetO Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget.
fileThe File object associated with this event.
targetO Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento.
typeFileEvent.DIRECTORY_OPENING
fileChoose Evento  
Event Object Type: mx.events.FileEvent
FileEvent.type property = mx.events.FileEvent.FILE_CHOOSE

Dispatched when the user chooses a file by double-clicking it or by selecting it and pressing Enter.

The FileEvent.FILE_CHOOSE constant defines the value of the type property of the event object for a fileChoose event.

As propriedades do objeto de evento tem os seguintes valores:

PropriedadeValor
bubblesfalse
cancelablefalse
currentTargetO Object que define o event listener que cuida do evento. Por exemplo, se você usar o myButton.addEventListener() para registrar um event listener, myButton é o valor do currentTarget.
fileThe File object associated with this event.
targetO Object que despachou o evento; nem sempre é o Object que escuta pelo evento. Use a propriedade currentTarget para sempre acessar o Objeto que faz a escuta pelo evento.
typeFileEvent.FILE_CHOOSE
Detalhes da Constante
COMPUTERConstante
public static const COMPUTER:File

A constant that can be used as a value for the directory property, representing a pseudo-top level directory named "Computer". This pseudo-directory contains the root directories (such as C:\ and D:\ on Windows or / on Macintosh).