Paquete | mx.controls |
Clase | public class FileSystemTree |
Herencia | FileSystemTree Tree List ListBase ScrollControlBase UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
You specify the directory whose content is displayed by setting
the directory
property to an instance
of the flash.filesystem.File class.
(File instances can represent directories as well as files.)
Whenever this property changes for any reason, the control
dispatches a directoryChange
event.
You can set the enumerationMode
property to specify
whether to show this directory's files, its subdirectories, or both.
There are three ways to show both files and subdirectories within
each tree node: directories first, files first, or intermixed.
You can set the extensions
property to filter the list
so that only files with the specified extensions are displayed.
(Extensions on directories are ignored.)
You can also specify an additional filtering function of your own
by setting the filterFunction
property.
You can use the showExtensions
property to show
or hide file extensions, and the showIcons
property
to show or hide icons.
You can do custom-sorting within each tree node by setting
the nameCompareFunction
property to a function
that compares two file or directory names.
If the user double-clicks a closed directory node,
or clicks its disclosure icon,
this control dispatches a directoryOpening
event.
If the user double-clicks an open directory node,
or clicks its disclosure icon,
this control dispatches a directoryClosing
event.
A handler can cancel either event by calling
event.preventDefault()
in which case the node doesn't open.
If the user double-clicks a file node,
this control dispatches a select
event.
The <mx:FileSystemTree>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:FileSystemTree Properties directory="null" enumerationMode="directoriesFirst" extensions="null" filterFunction="null" nameCompareFunction="null" openPaths="null" selectedPath="null" selectedPaths="null" showExtensions="true" showHidden="false" showIcons="true" Events directoryChange="No default" directoryClosing="No default" directoryOpening="No default" fileChoose="No default" />
Propiedad MXML predeterminadadataProvider
Elementos de API relacionados
Propiedad | Definido por | ||
---|---|---|---|
accessibilityDescription : String
A convenience accessor for the description property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityEnabled : Boolean
A convenience accessor for the silent property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityImplementation : AccessibilityImplementation
La implementación actual de accesibilidad (AccessibilityImplementation) para esta instancia de InteractiveObject. | InteractiveObject | ||
accessibilityName : String
A convenience accessor for the name property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityProperties : AccessibilityProperties
Las opciones de accesibilidad actuales para este objeto de visualización. | DisplayObject | ||
accessibilityShortcut : String
A convenience accessor for the shortcut property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
activeEffects : Array [solo lectura]
The list of effects that are currently playing on the component,
as an Array of EffectInstance instances. | UIComponent | ||
allowDragSelection : Boolean = false
A flag that indicates whether drag-selection is enabled. | ListBase | ||
allowMultipleSelection : Boolean
A flag that indicates whether you can allow more than one item to be
selected at the same time. | ListBase | ||
alpha : Number
Indica el valor de transparencia alfa del objeto especificado. | DisplayObject | ||
automationDelegate : Object
The delegate object that handles the automation-related functionality. | UIComponent | ||
automationEnabled : Boolean [solo lectura]
True if this component is enabled for automation, false
otherwise. | UIComponent | ||
automationName : String
Name that can be used as an identifier for this object. | UIComponent | ||
automationOwner : DisplayObjectContainer [solo lectura]
The owner of this component for automation purposes. | UIComponent | ||
automationParent : DisplayObjectContainer [solo lectura]
The parent of this component for automation purposes. | UIComponent | ||
automationTabularData : Object [solo lectura]
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data. | UIComponent | ||
automationValue : Array [solo lectura]
This value generally corresponds to the rendered appearance of the
object and should be usable for correlating the identifier with
the object as it appears visually within the application. | UIComponent | ||
automationVisible : Boolean [solo lectura]
True if this component is visible for automation, false
otherwise. | UIComponent | ||
baseline : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
baselinePosition : Number [solo lectura]
The y-coordinate of the baseline
of the first line of text of the component. | UIComponent | ||
blendMode : String
Un valor de la clase BlendMode que especifica el modo de mezcla que debe utilizarse. | DisplayObject | ||
blendShader : Shader [solo escritura]
Define un sombreado para utilizarlo en la mezcla del primer plano y del fondo. | DisplayObject | ||
borderMetrics : EdgeMetrics [solo lectura]
Returns an EdgeMetrics object that has four properties:
left, top, right,
and bottom. | ScrollControlBase | ||
bottom : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
buttonMode : Boolean
Especifica el modo de botón de este elemento sprite. | Sprite | ||
cacheAsBitmap : Boolean
Si se define como true, los motores de ejecución de Flash dejan en caché una representación interna de mapa de bits del objeto de visualización. | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
Si su valor no es null, este objeto Matrix define cómo un objeto de visualización se procesa cuando cacheAsBitmap se define como true. | DisplayObject | ||
cacheHeuristic : Boolean [solo escritura]
Used by Flex to suggest bitmap caching for the object. | UIComponent | ||
cachePolicy : String
Specifies the bitmap caching policy for this object. | UIComponent | ||
className : String [solo lectura]
The name of this instance's class, such as "Button". | UIComponent | ||
columnCount : int
The number of columns to be displayed in a TileList control or items
in a HorizontalList control. | ListBase | ||
columnWidth : Number
The width of the control's columns. | ListBase | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
contentMouseX : Number [solo lectura]
Returns the x position of the mouse, in the content coordinate system. | UIComponent | ||
contentMouseY : Number [solo lectura]
Returns the y position of the mouse, in the content coordinate system. | UIComponent | ||
contextMenu : NativeMenu
Especifica el menú contextual asociado a este objeto. | InteractiveObject | ||
currentState : String
The current view state of the component. | UIComponent | ||
cursorManager : ICursorManager [solo lectura]
Gets the CursorManager that controls the cursor for this component
and its peers. | UIComponent | ||
data : Object
The item in the data provider this component should render when
this component is used as an item renderer or item editor. | ListBase | ||
dataDescriptor : mx.controls.treeClasses:ITreeDataDescriptor
Returns the current ITreeDataDescriptor. | Tree | ||
dataProvider : Object [override]
An object that contains the data to be displayed. | Tree | ||
dataTipField : String
Name of the field in the data provider items to display as the
data tip. | ListBase | ||
dataTipFunction : Function
User-supplied function to run on each item to determine its dataTip. | ListBase | ||
depth : Number
Determines the order in which items inside of containers
are rendered. | UIComponent | ||
descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance. | UIComponent | ||
designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual
element. | UIComponent | ||
directory : File
The directory whose contents this control displays. | FileSystemTree | ||
document : Object
A reference to the document object associated with this UIComponent. | UIComponent | ||
doubleClickEnabled : Boolean [override]
Specifies whether the UIComponent object receives doubleClick events. | UIComponent | ||
dragEnabled : Boolean
A flag that indicates whether you can drag items out of
this control and drop them on other controls. | ListBase | ||
dragMoveEnabled : Boolean [override]
Indicates that items can be moved instead of just copied
from the Tree control as part of a drag-and-drop operation. | Tree | ||
dropEnabled : Boolean
A flag that indicates whether dragged items can be dropped onto the
control. | ListBase | ||
dropTarget : DisplayObject [solo lectura]
Especifica el objeto de visualización sobre el que se está arrastrando el elemento sprite o sobre el que se ha colocado el elemento sprite. | Sprite | ||
editable : Boolean
A flag that indicates whether or not the user can edit
items in the data provider. | List | ||
editedItemPosition : Object
The column and row index of the item renderer for the
data provider item being edited, if any. | List | ||
editedItemRenderer : IListItemRenderer [solo lectura]
A reference to the item renderer
in the DataGrid control whose item is currently being edited. | List | ||
editorDataField : String = "text"
The name of the property of the item editor that contains the new
data for the list item. | List | ||
editorHeightOffset : Number = 0
The height of the item editor, in pixels, relative to the size of the
item renderer. | List | ||
editorUsesEnterKey : Boolean = false
A flag that indicates whether the item editor uses Enter key. | List | ||
editorWidthOffset : Number = 0
The width of the item editor, in pixels, relative to the size of the
item renderer. | List | ||
editorXOffset : Number = 0
The x location of the upper-left corner of the item editor,
in pixels, relative to the upper-left corner of the item. | List | ||
editorYOffset : Number = 0
The y location of the upper-left corner of the item editor,
in pixels, relative to the upper-left corner of the item. | List | ||
enabled : Boolean
Whether the component can accept user interaction. | UIComponent | ||
enableIME : Boolean [solo lectura]
A flag that indicates whether the IME should
be enabled when the component receives focus. | List | ||
enumerationMode : String
A String specifying whether this control displays
only files, only subdirectories, or both. | FileSystemTree | ||
errorString : String
The text that displayed by a component's error tip when a
component is monitored by a Validator and validation fails. | UIComponent | ||
explicitHeight : Number
Number that specifies the explicit height of the component,
in pixels, in the component's coordinates. | UIComponent | ||
explicitMaxHeight : Number
The maximum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMaxWidth : Number
The maximum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMinHeight : Number
The minimum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMinWidth : Number
The minimum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
explicitWidth : Number
Number that specifies the explicit width of the component,
in pixels, in the component's coordinates. | UIComponent | ||
extensions : Array
An Array of extensions specifying which files
can be displayed in this control. | FileSystemTree | ||
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. | FileSystemTree | ||
filters : Array
Conjunto indexado que contiene todos los objetos de filtro actualmente asociados con el objeto de visualización. | DisplayObject | ||
firstVisibleItem : Object
The item that is currently displayed in the top row of the tree. | Tree | ||
flexContextMenu : IFlexContextMenu
The context menu for this UIComponent. | UIComponent | ||
focusEnabled : Boolean
Indicates whether the component can receive focus when tabbed to. | UIComponent | ||
focusManager : IFocusManager
Gets the FocusManager that controls focus for this component
and its peers. | UIComponent | ||
focusPane : Sprite
The focus pane associated with this object. | UIComponent | ||
focusRect : Object
Especifica si este objeto muestra un rectángulo de selección. | InteractiveObject | ||
graphics : Graphics [solo lectura]
Especifica el objeto Graphics que pertenece a este elemento sprite, donde pueden ejecutarse comandos de dibujo vectorial. | Sprite | ||
hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus. | UIComponent | ||
hasLayoutMatrix3D : Boolean [solo lectura]
Contains true if the element has 3D Matrix. | UIComponent | ||
hasRoot : Boolean [solo lectura]
Indicates that the current dataProvider has a root item; for example,
a single top node in a hierarchical structure. | Tree | ||
height : Number [override]
Number that specifies the height of the component, in pixels,
in the parent's coordinates. | UIComponent | ||
hitArea : Sprite
Designa otro elemento sprite para que actúe como área activa de un elemento sprite. | Sprite | ||
horizontalCenter : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
horizontalScrollPolicy : String
A property that indicates whether the horizontal scroll
bar is always on, always off,
or automatically changes based on the parameters passed to the
setScrollBarProperties() method. | ScrollControlBase | ||
horizontalScrollPosition : Number
The offset into the content from the left edge. | ScrollControlBase | ||
iconField : String
The name of the field in the data provider object that determines what to
display as the icon. | ListBase | ||
iconFunction : Function
A user-supplied function to run on each item to determine its icon. | ListBase | ||
id : String
ID of the component. | UIComponent | ||
imeMode : String
Specifies the IME (input method editor) mode. | List | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | UIComponent | ||
inheritingStyles : Object
The beginning of this component's chain of inheriting styles. | UIComponent | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout: commitment, measurement, and layout (provided that any were required). | UIComponent | ||
instanceIndex : int [solo lectura]
The index of a repeated component. | UIComponent | ||
instanceIndices : Array
An Array containing the indices required to reference
this UIComponent object from its parent document. | UIComponent | ||
is3D : Boolean [solo lectura]
Contains true when the element is in 3D. | UIComponent | ||
isDocument : Boolean [solo lectura]
Contains true if this UIComponent instance is a document object. | UIComponent | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | UIComponent | ||
itemEditor : IFactory
The class factory for the item editor to use for the control, if the
editable property is set to true. | List | ||
itemEditorInstance : IListItemRenderer
A reference to the currently active instance of the item editor,
if it exists. | List | ||
itemIcons : Object
An object that specifies the icons for the items. | Tree | ||
itemRenderer : IFactory
The custom item renderer for the control. | ListBase | ||
labelField : String
The name of the field in the data provider items to display as the label. | ListBase | ||
labelFunction : Function
A user-supplied function to run on each item to determine its label. | ListBase | ||
layoutMatrix3D : Matrix3D [solo escritura]
The transform matrix that is used to calculate a component's layout
relative to its siblings. | UIComponent | ||
left : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
listData : BaseListData
When a component is used as a drop-in item renderer or drop-in
item editor, Flex initializes the listData property
of the component with the additional data from the list control. | ListBase | ||
liveScrolling : Boolean = true
A flag that indicates whether scrolling is live as the
scrollbar thumb is moved
or the view is not updated until the thumb is released. | ScrollControlBase | ||
loaderInfo : LoaderInfo [solo lectura]
Devuelve un objeto LoaderInfo que contiene información sobre la carga del archivo al que pertenece este objeto de visualización. | DisplayObject | ||
maintainProjectionCenter : Boolean
When true, the component keeps its projection matrix centered on the
middle of its bounding box. | UIComponent | ||
mask : DisplayObject
El objeto de visualización que origina la llamada se enmascara mediante el objeto mask especificado. | DisplayObject | ||
maxHeight : Number
The maximum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
maxHorizontalScrollPosition : Number [override]
The maximum value for the maxHorizontalScrollPosition property for the Tree control. | Tree | ||
maxVerticalScrollPosition : Number
The maximum value for the verticalScrollPosition property. | ScrollControlBase | ||
maxWidth : Number
The maximum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
measuredHeight : Number
The default height of the component, in pixels. | UIComponent | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | UIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | UIComponent | ||
measuredWidth : Number
The default width of the component, in pixels. | UIComponent | ||
menuSelectionMode : Boolean = false
A flag that indicates whether menu-style selection
should be used. | ListBase | ||
metaData : Object
Obtiene el objeto de metadatos de la instancia de DisplayObject si los metadatos se almacenaron con la instancia de este objeto DisplayObject en el archivo SWF a través de una etiqueta PlaceObject4. | DisplayObject | ||
minHeight : Number
The minimum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
minWidth : Number
The minimum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
moduleFactory : IFlexModuleFactory
A module factory is used as context for using embedded fonts and for
finding the style manager that controls the styles for this
component. | UIComponent | ||
mouseChildren : Boolean
Determina si los elementos secundarios del objeto están activados para acciones de ratón o de dispositivo de entrada de usuario. | DisplayObjectContainer | ||
mouseEnabled : Boolean
Especifica si este objeto recibe la entrada del ratón, la entrada del usuario o mensajes. | InteractiveObject | ||
mouseFocusEnabled : Boolean
Whether you can receive focus when clicked on. | UIComponent | ||
mouseX : Number [solo lectura]
Indica la coordenada x de la posición del ratón o del dispositivo de entrada del usuario, en píxeles. | DisplayObject | ||
mouseY : Number [solo lectura]
Indica la coordenada y de la posición del ratón o del dispositivo de entrada del usuario, en píxeles. | DisplayObject | ||
name : String
Indica el nombre de instancia de DisplayObject. | DisplayObject | ||
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. | FileSystemTree | ||
needsSoftKeyboard : Boolean
Especifica si un teclado virtual (teclado en pantalla) se debe mostrar cuando esta instancia de InteractiveObject recibe la selección. | InteractiveObject | ||
nestLevel : int
Depth of this object in the containment hierarchy. | UIComponent | ||
nonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles. | UIComponent | ||
nullItemRenderer : IFactory
The custom item renderer for the control. | ListBase | ||
numAutomationChildren : int [solo lectura]
The number of automation children this container has. | UIComponent | ||
numChildren : int [solo lectura]
Devuelve el número de elementos secundarios de este objeto. | DisplayObjectContainer | ||
offscreenExtraRowsOrColumns : int
The target number of extra rows or columns of item renderers to be used
in the layout of the control. | ListBase | ||
opaqueBackground : Object
Especifica si el objeto de visualización es opaco con un determinado color de fondo. | DisplayObject | ||
openItems : Object
The items that have been opened or set opened. | Tree | ||
openPaths : Array
An Array of nativePath Strings for the File items
representing the open subdirectories. | FileSystemTree | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | UIComponent | ||
parent : DisplayObjectContainer [override] [solo lectura]
The parent container or component for this component. | UIComponent | ||
parentApplication : Object [solo lectura]
A reference to the Application object that contains this UIComponent
instance. | UIComponent | ||
parentDocument : Object [solo lectura]
A reference to the parent document object for this UIComponent. | UIComponent | ||
percentHeight : Number
Specifies the height of a component as a percentage
of its parent's size. | UIComponent | ||
percentWidth : Number
Specifies the width of a component as a percentage
of its parent's size. | UIComponent | ||
postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the object's
transform in a way that is invisible to its parent's layout. | UIComponent | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | UIComponent | ||
rendererIsEditor : Boolean = false
Specifies whether the item renderer is also an item
editor. | List | ||
repeater : IRepeater [solo lectura]
A reference to the Repeater object
in the parent document that produced this UIComponent. | UIComponent | ||
repeaterIndex : int [solo lectura]
The index of the item in the data provider
of the Repeater that produced this UIComponent. | UIComponent | ||
repeaterIndices : Array
An Array containing the indices of the items in the data provider
of the Repeaters in the parent document that produced this UIComponent. | UIComponent | ||
repeaters : Array
An Array containing references to the Repeater objects
in the parent document that produced this UIComponent. | UIComponent | ||
right : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
root : DisplayObject [solo lectura]
Para un objeto de visualización en un archivo SWF cargado, la propiedad root es el objeto de visualización de nivel más alto en la parte de la estructura de árbol de la lista de visualización representada por dicho archivo SWF. | DisplayObject | ||
rotation : Number [override]
Indica el giro de la instancia de DisplayObject, expresado en grados, con respecto a su orientación original. | UIComponent | ||
rotationX : Number [override]
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation
relative to the 3D parent container. | UIComponent | ||
rotationY : Number [override]
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation
relative to the 3D parent container. | UIComponent | ||
rotationZ : Number [override]
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. | UIComponent | ||
rowCount : int
Number of rows to be displayed. | ListBase | ||
rowHeight : Number
The height of the rows in pixels. | ListBase | ||
scale9Grid : Rectangle
La cuadrícula de escala aplicada actualmente. | DisplayObject | ||
scaleX : Number [override]
Number that specifies the horizontal scaling factor. | UIComponent | ||
scaleY : Number [override]
Number that specifies the vertical scaling factor. | UIComponent | ||
scaleZ : Number [override]
Number that specifies the scaling factor along the z axis. | UIComponent | ||
screen : Rectangle [solo lectura]
Returns an object that contains the size and position of the base
drawing surface for this object. | UIComponent | ||
scrollRect : Rectangle
Los límites del rectángulo de desplazamiento del objeto de visualización. | DisplayObject | ||
scrollTipFunction : Function
A function that computes the string to be displayed as the ScrollTip. | ScrollControlBase | ||
selectable : Boolean
A flag that indicates whether the list shows selected items
as selected. | ListBase | ||
selectedIndex : int
The index in the data provider of the selected item. | ListBase | ||
selectedIndices : Array
An array of indices in the data provider of the selected items. | ListBase | ||
selectedItem : Object
A reference to the selected item in the data provider. | ListBase | ||
selectedItems : Array
An array of references to the selected items in the data provider. | ListBase | ||
selectedItemsCompareFunction : Function
A function used to compare items in the selectedItems property
against items in the data provider. | ListBase | ||
selectedPath : String
The nativePath of the File item
representing the selected subdirectory or file,
or null if no item is selected. | FileSystemTree | ||
selectedPaths : Array
An Array of nativePath Strings for the File items
representing the selected subdirectories and files. | FileSystemTree | ||
showDataTips : Boolean
A flag that indicates whether dataTips are displayed for text in the rows. | ListBase | ||
showExtensions : Boolean
A flag that specifies whether extensions in file names are shown. | FileSystemTree | ||
showHidden : Boolean
A flag that specifies whether files and directories
that the operating system considers hidden are displayed. | FileSystemTree | ||
showIcons : Boolean
A flag that specifies that icons are displayed
before the file name. | FileSystemTree | ||
showInAutomationHierarchy : Boolean
A flag that determines if an automation object
shows in the automation hierarchy. | UIComponent | ||
showRoot : Boolean
Sets the visibility of the root item. | Tree | ||
showScrollTips : Boolean = false
A flag that indicates whether a tooltip should appear
near the scroll thumb when it is being dragged. | ScrollControlBase | ||
softKeyboard : String
Controla la apariencia del teclado virtual. | InteractiveObject | ||
softKeyboardInputAreaOfInterest : Rectangle
Define el área que debe permanecer en pantalla cuando se muestra un teclado virtual (no disponible en iOS). | InteractiveObject | ||
soundTransform : flash.media:SoundTransform
Controla el sonido dentro de este elemento sprite. | Sprite | ||
stage : Stage [solo lectura]
El escenario del objeto de visualización. | DisplayObject | ||
states : Array
The view states that are defined for this component. | UIComponent | ||
styleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object. | UIComponent | ||
styleManager : IStyleManager2 [solo lectura]
Returns the StyleManager instance used by this component. | UIComponent | ||
styleName : Object
The class style used by this component. | UIComponent | ||
styleParent : IAdvancedStyleClient
A component's parent is used to evaluate descendant selectors. | UIComponent | ||
systemManager : ISystemManager
Returns the SystemManager object used by this component. | UIComponent | ||
tabChildren : Boolean
Determina si los elementos secundarios del objeto están habilitados para tabulación. | DisplayObjectContainer | ||
tabEnabled : Boolean
Especifica si este objeto está en el orden de tabulación. | InteractiveObject | ||
tabFocusEnabled : Boolean
A flag that indicates whether this object can receive focus
via the TAB key
This is similar to the tabEnabled property
used by the Flash Player.
This is usually true for components that
handle keyboard input, but some components in controlbars
have them set to false because they should not steal
focus from another component like an editor. | UIComponent | ||
tabIndex : int
Especifica el orden de tabulación de los objetos de un archivo SWF. | InteractiveObject | ||
textSnapshot : flash.text:TextSnapshot [solo lectura]
Devuelve un objeto TextSnapshot para esta instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
toolTip : String
Text to display in the ToolTip. | UIComponent | ||
top : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
transform : flash.geom:Transform [override]
An object with properties pertaining to a display object's matrix, color transform,
and pixel bounds. | UIComponent | ||
transformX : Number
Sets the x coordinate for the transform center of the component. | UIComponent | ||
transformY : Number
Sets the y coordinate for the transform center of the component. | UIComponent | ||
transformZ : Number
Sets the z coordinate for the transform center of the component. | UIComponent | ||
transitions : Array
An Array of Transition objects, where each Transition object defines a
set of effects to play when a view state change occurs. | UIComponent | ||
tweeningProperties : Array
Array of properties that are currently being tweened on this object. | UIComponent | ||
uid : String
A unique identifier for the object. | UIComponent | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required). | UIComponent | ||
useHandCursor : Boolean
Valor booleano que indica si debe aparecer la mano que señala (cursor de mano) cuando el puntero pasa por encima de un elemento sprite en el que la propiedad buttonMode se ha definido con el valor true. | Sprite | ||
validationSubField : String
Used by a validator to associate a subfield with this component. | UIComponent | ||
value : Object [solo lectura]
The selected item, or the data or label field of the selected item. | ListBase | ||
variableRowHeight : Boolean
A flag that indicates whether the individual rows can have different
height. | ListBase | ||
verticalCenter : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
verticalScrollPolicy : String
A property that indicates whether the vertical scroll bar is always on, always off,
or automatically changes based on the parameters passed to the
setScrollBarProperties() method. | ScrollControlBase | ||
verticalScrollPosition : Number
The offset into the content from the top edge. | ScrollControlBase | ||
viewMetrics : EdgeMetrics [solo lectura]
An EdgeMetrics object taking into account the scroll bars,
if visible. | ScrollControlBase | ||
visible : Boolean [override]
Whether or not the display object is visible. | UIComponent | ||
width : Number [override]
Number that specifies the width of the component, in pixels,
in the parent's coordinates. | UIComponent | ||
wordWrap : Boolean
A flag that indicates whether text in the row should be word wrapped. | ListBase | ||
x : Number [override]
Number that specifies the component's horizontal position,
in pixels, within its parent container. | UIComponent | ||
y : Number [override]
Number that specifies the component's vertical position,
in pixels, within its parent container. | UIComponent | ||
z : Number [override]
Indicates the z coordinate position along the z-axis of the DisplayObject
instance relative to the 3D parent container. | UIComponent |
Método | Definido por | ||
---|---|---|---|
Constructor. | FileSystemTree | ||
Añade una instancia secundaria de DisplayObject a esta instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
Añade una instancia secundaria de DisplayObject a esta instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
Adds an item renderer if a data change effect is running. | ListBase | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | EventDispatcher | ||
Adds a non-visual style client to this component instance. | UIComponent | ||
Indica si las restricciones de seguridad provocarían la omisión de objetos de visualización de la lista devuelta al llamar al método DisplayObjectContainer.getObjectsUnderPoint() con el punto point especificado. | DisplayObjectContainer | ||
Returns the index where the dropped items should be added
to the drop target. | ListBase | ||
Queues a function to be called later. | UIComponent | ||
Clears the list. | FileSystemTree | ||
Deletes a style property from this component instance. | UIComponent | ||
Closes a subdirectory specified by a native file system path. | FileSystemTree | ||
Determina si el objeto de visualización especificado es un elemento secundario de la instancia de DisplayObjectContainer o la propia instancia. | DisplayObjectContainer | ||
Converts a Point object from content coordinates to global coordinates. | UIComponent | ||
Converts a Point object from content to local coordinates. | UIComponent | ||
Returns a set of properties that identify the child within
this container. | UIComponent | ||
Returns a set of properties that identify the child within
this container. | UIComponent | ||
Creates the item editor for the item renderer at the
editedItemPosition using the editor
specified by the itemEditor property. | List | ||
[override]
Get the appropriate renderer, using the default renderer if none is specified. | List | ||
Creates an id reference to this IUIComponent object
on its parent document object. | UIComponent | ||
Deletes the id reference to this IUIComponent object
on its parent document object. | UIComponent | ||
Closes an item editor that is currently open on an item. | List | ||
Returns a UITextFormat object corresponding to the text styles
for this UIComponent. | UIComponent | ||
[override]
Dispatches an event into the event flow. | UIComponent | ||
Shows or hides the focus indicator around this component. | UIComponent | ||
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
Programmatically draws a rectangle into this skin's Graphics object. | UIComponent | ||
Called by the effect instance when it stops playing on the component. | UIComponent | ||
Called by the effect instance when it starts playing on the component. | UIComponent | ||
Ends all currently playing effects on the component. | UIComponent | ||
Executes all the bindings for which the UIComponent object is the destination. | UIComponent | ||
Opens or closes all the tree items below the specified item. | Tree | ||
expandItem(item:Object, open:Boolean, animate:Boolean = false, dispatchEvent:Boolean = false, cause:Event = null):void
Opens or closes a branch item. | Tree | ||
Returns the index of the File item with the specified
native file system path. | FileSystemTree | ||
Searches the File instances currently displayed in this control
and returns the one with the specified nativePathproperty. | FileSystemTree | ||
Finds an item in the list based on a String,
and moves the selection to it. | ListBase | ||
Called after printing is complete. | UIComponent | ||
Provides the automation object at the specified index. | UIComponent | ||
Provides the automation object list . | UIComponent | ||
Devuelve un rectángulo que define el área del objeto de visualización relativo al sistema de coordenadas del objeto targetCoordinateSpace. | DisplayObject | ||
Returns the x coordinate of the element's bounds at the specified element size. | UIComponent | ||
Returns the y coordinate of the element's bounds at the specified element size. | UIComponent | ||
Devuelve la instancia del objeto de visualización secundario que sale del índice especificado. | DisplayObjectContainer | ||
Devuelve el objeto de visualización secundario que sale con el nombre especificado. | DisplayObjectContainer | ||
Devuelve la posición de índice de una instancia secundaria de DisplayObject. | DisplayObjectContainer | ||
Finds the type selectors for this UIComponent instance. | UIComponent | ||
Returns a layout constraint value, which is the same as
getting the constraint style for this component. | UIComponent | ||
A convenience method for determining whether to use the
explicit or measured height
| UIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| UIComponent | ||
Gets the object that currently has focus. | UIComponent | ||
Return the appropriate factory, using the default factory if none specified. | ListBase | ||
Returns the element's layout height. | UIComponent | ||
Returns the element's layout width. | UIComponent | ||
Returns the x coordinate that the element uses to draw on screen. | UIComponent | ||
Returns the y coordinate that the element uses to draw on screen. | UIComponent | ||
Returns the transform matrix that is used to calculate the component's
layout relative to its siblings. | UIComponent | ||
Returns the layout transform Matrix3D for this element. | UIComponent | ||
Returns the element's maximum height. | UIComponent | ||
Returns the element's maximum width. | UIComponent | ||
Returns the element's minimum height. | UIComponent | ||
Returns the element's minimum width. | UIComponent | ||
Devuelve un conjunto de objetos que quedan bajo el punto especificado y son elementos secundarios (o terciarios, etc.) de esta instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
Returns the known parent of a child item. | Tree | ||
Returns the element's preferred height. | UIComponent | ||
Returns the element's preferred width. | UIComponent | ||
Devuelve un rectángulo que define el límite del objeto de visualización, basado en el sistema de coordenadas definido por el parámetro targetCoordinateSpace, excluyendo los trazos en las formas. | DisplayObject | ||
Returns true or false
to indicates whether the effect should play on the target. | ListBase | ||
Returns the item in the dataProvider that was used
by the specified Repeater to produce this Repeater, or
null if this Repeater isn't repeated. | UIComponent | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | UIComponent | ||
Converts a Point object from global to content coordinates. | UIComponent | ||
Convierte el objeto point de las coordenadas del escenario (globales) en las coordenadas del objeto de visualización (locales). | DisplayObject | ||
Convierte un punto bidimensional de las coordenadas (globales) del escenario en coordenadas (locales) de un objeto tridimensional. | DisplayObject | ||
Returns true if currentCSSState is not null. | UIComponent | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | EventDispatcher | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Determines whether the specified state has been defined on this
UIComponent. | UIComponent | ||
Hides the drop indicator under the mouse pointer that indicates that a
drag and drop operation is allowed. | ListBase | ||
Calcula el cuadro delimitador del objeto de visualización para ver si se solapa o corta con el cuadro delimitador del objeto de visualización obj. | DisplayObject | ||
Evalúa el objeto de visualización para comprobar si se solapa o presenta un punto de intersección con el punto especificado por los parámetros x e y. | DisplayObject | ||
Returns a box Matrix which can be passed to the
drawRoundRect() method
as the rot parameter when drawing a horizontal gradient. | UIComponent | ||
Get an item renderer for the index of an item in the data provider,
if one exists. | ListBase | ||
Computes the offset into the data provider of the item
at colIndex, rowIndex. | ListBase | ||
Initializes the internal structure of this component. | UIComponent | ||
Initializes various properties which keep track of repeated instances
of this component. | UIComponent | ||
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | UIComponent | ||
Called by a component's items to indicate that their depth
property has changed. | UIComponent | ||
An element must call this method when its layoutDirection changes or
when its parent's layoutDirection changes. | UIComponent | ||
Refresh all rows on the next update. | ListBase | ||
Marks a component so that its commitProperties()
method gets called during a later screen update. | UIComponent | ||
Marks a component so that its measure()
method gets called during a later screen update. | UIComponent | ||
Determines if the item renderer for a data provider item
is editable. | List | ||
Determines if the item renderer for a data provider item
is highlighted (is rolled over via the mouse or under the caret due to keyboard navigation). | ListBase | ||
Returns true if the specified item branch is open (is showing its children). | Tree | ||
Determines if the item renderer for a data provider item
is selectable. | ListBase | ||
Determines if the item renderer for a data provider item
is selected. | ListBase | ||
Determines if the item renderer for a data provider item
is the item under the caret due to keyboard navigation. | ListBase | ||
Determines if an item is being displayed by a renderer. | ListBase | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Determines whether a renderer contains (or owns) a display object. | ListBase | ||
Returns the index of the item in the data provider of the item
being rendered by this item renderer. | ListBase | ||
Returns the dataTip string the renderer would display for the given
data object based on the dataTipField and dataTipFunction properties. | ListBase | ||
Returns the class for an icon, if any, for a data item,
based on the iconField and iconFunction properties. | ListBase | ||
Returns the item renderer for a given item in the data provider,
if there is one. | ListBase | ||
Returns the string the renderer would display for the given data object
based on the labelField and labelFunction properties. | ListBase | ||
Convierte un punto tridimensional de las coordenadas (locales) del objeto de visualización tridimensional en un punto bidimensional en las coordenadas (globales) del escenario. | DisplayObject | ||
Converts a Point object from local to content coordinates. | UIComponent | ||
Convierte el objeto point de coordenadas del objeto de visualización (locales) en coordenadas del escenario (globales). | DisplayObject | ||
Returns true if cssState matches currentCSSState. | UIComponent | ||
Determines whether this instance is the same as, or is a subclass of,
the given type. | UIComponent | ||
Measures a set of items from the data provider using the
current item renderer and returns the sum of the heights
of those items. | ListBase | ||
Measures the specified HTML text, which can contain HTML tags such
as <font> and <b>,
assuming that it is displayed
in a single-line UITextField using a UITextFormat
determined by the styles of this UIComponent. | UIComponent | ||
Measures the specified text, assuming that it is displayed
in a single-line UITextField (or UIFTETextField) using a UITextFormat
determined by the styles of this UIComponent. | UIComponent | ||
Measures a set of items from the data provider using
the current item renderer and returns the
maximum width found. | ListBase | ||
Moves the component to a specified position within its parent. | UIComponent | ||
Propagates style changes to the children. | UIComponent | ||
Opens a subdirectory specified by a native file system path. | FileSystemTree | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | UIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | UIComponent | ||
Prepares an IFlexDisplayObject for printing. | UIComponent | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Re-enumerates the current directory being displayed by this control. | FileSystemTree | ||
Builds or rebuilds the CSS style cache for this component
and, if the recursive parameter is true,
for all descendants of this component as well. | UIComponent | ||
For each effect event, registers the EffectManager
as one of the event listeners. | UIComponent | ||
Elimina la instancia child de DisplayObject especificada de la lista de elementos secundarios de la instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
Elimina una instancia de DisplayObject secundaria de la posición de índice especificada en la lista de elementos secundarios de DisplayObjectContainer. | DisplayObjectContainer | ||
Elimina todas las instancias child de DisplayObject especificadas de la lista de elementos secundarios de la instancia de DisplayObjectContainer. | DisplayObjectContainer | ||
Removes an item renderer if a data change effect is running. | ListBase | ||
Elimina un detector del objeto EventDispatcher. | EventDispatcher | ||
Removes a non-visual style client from this component instance. | UIComponent | ||
Replays the specified event. | UIComponent | ||
Muestra un teclado virtual. | InteractiveObject | ||
Resolves a child by using the id provided. | UIComponent | ||
[estática]
Resumes the background processing of methods
queued by callLater(), after a call to
suspendBackgroundProcessing(). | UIComponent | ||
Ensures that the data provider item at the given index is visible. | ListBase | ||
Sizes the object. | UIComponent | ||
Cambia la posición de un elemento secundario existente en el contendor de objeto de visualización. | DisplayObjectContainer | ||
Sets a layout constraint value, which is the same as
setting the constraint style for this component. | UIComponent | ||
Set the current state. | UIComponent | ||
Sets the focus to this component. | UIComponent | ||
Sets the associated icon for the item. | Tree | ||
Sets the coordinates that the element uses to draw on screen. | UIComponent | ||
Sets the layout size of the element. | UIComponent | ||
Sets the transform Matrix that is used to calculate the component's layout
size and position relative to its siblings. | UIComponent | ||
Sets the transform Matrix3D that is used to calculate the component's layout
size and position relative to its siblings. | UIComponent | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Sets a style property on this component instance. | UIComponent | ||
Called when the visible property changes. | UIComponent | ||
Displays a drop indicator under the mouse pointer to indicate that a
drag and drop operation is allowed and where the items will
be dropped. | ListBase | ||
Permite al usuario arrastrar el elemento sprite especificado. | Sprite | ||
Permite al usuario arrastrar el elemento sprite especificado en un dispositivo táctil. | Sprite | ||
Se detiene gradualmente la ejecución de línea de tiempo de todos los objetos MovieClip con raíz en este objeto. | DisplayObjectContainer | ||
Finaliza el método startDrag(). | Sprite | ||
Finaliza el método startTouchDrag() para su uso con dispositivos táctiles. | Sprite | ||
Detects changes to style properties. | UIComponent | ||
Flex calls the stylesInitialized() method when
the styles for a component are first initialized. | UIComponent | ||
[estática]
Blocks the background processing of methods
queued by callLater(),
until resumeBackgroundProcessing() is called. | UIComponent | ||
Intercambia el orden z (de delante a atrás) de los dos objetos secundarios especificados. | DisplayObjectContainer | ||
Intercambia el orden z (de delante a atrás) de los objetos secundarios situados en las posiciones de índice especificadas en la lista de elementos secundarios. | DisplayObjectContainer | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
[override]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexSprite | ||
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the
transform while keeping a particular point, specified in the component's
own coordinate space, fixed in the parent's coordinate space. | UIComponent | ||
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. | UIComponent | ||
Called by an UnconstrainItemAction effect
as part of a data change effect if the item renderers corresponding
to certain data items need to move outside the normal positions
of item renderers in the control. | ListBase | ||
Validates the position and size of children and draws other
visuals. | UIComponent | ||
Validate and update the properties and layout of this object
and redraw it, if necessary. | UIComponent | ||
Used by layout logic to validate the properties of a component
by calling the commitProperties() method. | UIComponent | ||
Validates the measured size of the component
If the LayoutManager.invalidateSize() method is called with
this ILayoutManagerClient, then the validateSize() method
is called when it's time to do measurements. | UIComponent | ||
Handles both the valid and invalid events from a
validator assigned to this component. | UIComponent | ||
Devuelve el valor simple del objeto especificado. | Object | ||
Returns a box Matrix which can be passed to drawRoundRect()
as the rot parameter when drawing a vertical gradient. | UIComponent | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | EventDispatcher |
Evento | Resumen | Definido por | ||
---|---|---|---|---|
[evento broadcast] Se distribuye cuando Flash Player o AIR pasan a estar activos. | EventDispatcher | |||
Dispatched when the component is added to a container as a content child by using the addChild(), addChildAt(), addElement(), or addElementAt() method. | UIComponent | |||
Se distribuye cuando un objeto de visualización se añade a la lista de visualización. | DisplayObject | |||
Se distribuye cuando un objeto de visualización se añade a la lista de visualización del escenario, bien directamente o a través de un subárbol que contiene el objeto de visualización. | DisplayObject | |||
Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction. | ListBase | |||
Se distribuye cuando el usuario selecciona 'Borrar' (o 'Eliminar') en el menú contextual. | InteractiveObject | |||
Se distribuye cuando un usuario pulsa y suelta el botón principal del dispositivo de señalización sobre el mismo objeto InteractiveObject. | InteractiveObject | |||
Se distribuye cuando un gesto de usuario activa el menú contextual asociado al objeto interactivo la aplicación de AIR. | InteractiveObject | |||
Se distribuye cuando el usuario activa la combinación de teclas aceleradoras específica de la plataforma en que se encuentra para copiar elementos, o bien cuando el usuario elige la opción 'Copiar' en el menú contextual. | InteractiveObject | |||
Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing. | UIComponent | |||
Dispatched after the view state has changed. | UIComponent | |||
Dispatched after the currentState property changes, but before the view state changes. | UIComponent | |||
Se distribuye cuando el usuario activa la combinación de teclas aceleradoras específica de la plataforma en que se encuentra para cortar elementos, o bien cuando el usuario elige la opción 'Cortar' en el menú contextual. | InteractiveObject | |||
Dispatched when the data property changes. | ListBase | |||
[evento broadcast] Se distribuye cuando Flash Player o de AIR pasan a estar inactivos. | EventDispatcher | |||
Dispatched whenever the directory property changes for any reason. | FileSystemTree | |||
Dispatched when the user closes an open directory node using the mouse of keyboard. | FileSystemTree | |||
Dispatched when the user opens a directory node using the mouse or keyboard. | FileSystemTree | |||
Se distribuye cuando un usuario pulsa y suelta el botón principal de un dispositivo de señalización dos veces en una sucesión rápida sobre el mismo objeto InteractiveObject cuando el indicador doubleClickEnabled de dicho objeto se ha definido como true. | InteractiveObject | |||
Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop. | UIComponent | |||
Dispatched by the drop target when the user releases the mouse over it. | UIComponent | |||
Dispatched by a component when the user moves the mouse over the component during a drag operation. | UIComponent | |||
Dispatched by the component when the user drags outside the component, but does not drop the data onto the target. | UIComponent | |||
Dispatched by a component when the user moves the mouse while over the component during a drag operation. | UIComponent | |||
Dispatched by the drag initiator when starting a drag operation. | UIComponent | |||
Dispatched after an effect ends. | UIComponent | |||
Dispatched just before an effect starts. | UIComponent | |||
Dispatched after an effect is stopped, which happens only by a call to stop() on the effect. | UIComponent | |||
[evento de difusión] Se distribuye cuando la cabeza lectora entra en un nuevo fotograma. | DisplayObject | |||
Dispatched after the component has entered a view state. | UIComponent | |||
[evento de difusión] Se distribuye cuando la cabeza lectora sale del fotograma actual. | DisplayObject | |||
Dispatched just before the component exits a view state. | UIComponent | |||
Dispatched when the user chooses a file by double-clicking it or by selecting it and pressing Enter. | FileSystemTree | |||
Se distribuye después de que un objeto de visualización quede seleccionado. | InteractiveObject | |||
Se distribuye después de que un objeto de visualización deje de estar seleccionado. | InteractiveObject | |||
[evento de difusión] Se distribuye una vez ejecutados los constructores de los objetos de visualización del fotograma, pero antes de que se ejecuten los scripts de fotograma. | DisplayObject | |||
Se distribuye cuando el usuario crea un punto de contacto a lo largo del borde de la superficie de toque con una instancia de InteractiveObject (por ejemplo, toque a lo largo del borde de la superficie de toque en el servidor de Siri para Apple TV). Algunos dispositivos también pueden interpretar este contacto como una combinación de varios eventos táctiles. | InteractiveObject | |||
Se distribuye cuando el usuario presiona dos puntos de contacto en la misma instancia de InteractiveObject en un dispositivo táctil (como, por ejemplo, pulsar y soltar dos dedos sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario mueve un punto de contacto sobre la instancia de InteractiveObject de un dispositivo táctil (como mover los dedos de izquierda a derecha sobre un objeto de visualización en un teléfono móvil o dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario realiza un gesto de zoom en un punto de contacto con una instancia de InteractiveObject (como, por ejemplo, tocar una pantalla con dos dedos y girarlos sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario realiza un gesto de barrido en un punto de contacto con una instancia de InteractiveObject (como, por ejemplo, tocar una pantalla con tres dedos y, a continuación, moverlos en paralelo sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario crea un punto de contacto con una instancia de InteractiveObject, seguidamente toca un dispositivo táctil (como colocar varios dedos sobre un objeto de visualización para abrir un menú y, a continuación, toca con un dedo para seleccionar un elemento de menú en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario realiza un gesto de zoom en un punto de contacto con una instancia de InteractiveObject (como, por ejemplo, tocar una pantalla con dos dedos y, a continuación, separarlos rápidamente sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Dispatched when an object's state changes from visible to invisible. | UIComponent | |||
Este evento se distribuye a cualquier cliente app que admite entrada en línea con un IME | InteractiveObject | |||
Dispatched when the component has finished its construction and has all initialization properties set. | UIComponent | |||
Dispatched when a component is monitored by a Validator and the validation failed. | UIComponent | |||
Dispatched when the user clicks on an item in the control. | ListBase | |||
Dispatched when a branch is closed or collapsed. | Tree | |||
Dispatched when the user double-clicks on an item in the control. | ListBase | |||
Dispatched when the editedItemPosition property is set and the item can be edited. | List | |||
Dispatched when the user releases the mouse button while over an item, tabs to the List or within the List, or in any other way attempts to edit an item. | List | |||
Dispatched when an item editing session is ending for any reason. | List | |||
Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the List control or navigates to the item using a keyboard. | List | |||
Dispatched when an item renderer loses the focus, which can occur if the user clicks another item in the List control or outside the list, or uses the keyboard to navigate to another item in the List control or outside the List control. | List | |||
Dispatched when a branch is opened or expanded. | Tree | |||
Dispatched when a branch open or close is initiated. | Tree | |||
Dispatched when the user rolls the mouse pointer out of an item in the control. | ListBase | |||
Dispatched when the user rolls the mouse pointer over an item in the control. | ListBase | |||
Se distribuye cuando el usuario pulsa una tecla. | InteractiveObject | |||
Se distribuye cuando el usuario intenta cambiar la selección empleando la navegación mediante teclado. | InteractiveObject | |||
Se distribuye cuando el usuario suelta una tecla. | InteractiveObject | |||
Se distribuye cuando un usuario pulsa y suelta el botón central del dispositivo de señalización sobre el mismo objeto InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario pulsa el botón central del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario suelta el botón del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario pulsa el botón del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Dispatched from a component opened using the PopUpManager when the user clicks outside it. | UIComponent | |||
Se distribuye cuando el usuario intenta cambiar la selección empleando un dispositivo de señalización. | InteractiveObject | |||
Se distribuye cuando el usuario mueve el dispositivo de señalización mientras éste se encuentra sobre un InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario mueve un dispositivo de señalización hacia el exterior de una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario mueve un dispositivo de señalización sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario suelta el botón del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando se presiona la rueda del ratón sobre una instancia de InteractiveObject. | InteractiveObject | |||
Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it. | UIComponent | |||
Dispatched when the object has moved. | UIComponent | |||
Distribuido por el objeto InteractiveObject iniciador de arrastre cuando el usuario suelta el botón y finaliza el arrastre. | InteractiveObject | |||
Distribuido por el objeto InteractiveObject de destino cuando un objeto arrastrado se coloca sobre el objeto y la colocación se acepta con una llamada a DragManager.acceptDragDrop(). | InteractiveObject | |||
Distribuido por un objeto InteractiveObject cuando la acción de arrastre entra en sus límites. | InteractiveObject | |||
Distribuido por un objeto InteractiveObject cuando la acción de arrastre se sale de los límites. | InteractiveObject | |||
Distribuido continuamente por un objeto InteractiveObject mientras la operación de arrastre se mantiene dentro de sus límites. | InteractiveObject | |||
Distribuido al comienzo de una operación de arrastre por el objeto InteractiveObject especificado como iniciador de arrastre en la llamada a DragManager.doDrag(). | InteractiveObject | |||
Distribuido durante una operación de arrastre por el objeto InteractiveObject especificado como iniciador de arrastre en la llamada a DragManager.doDrag(). | InteractiveObject | |||
Se distribuye cuando el usuario activa la combinación de teclas aceleradoras específica de la plataforma en que se encuentra para pegar elementos, o bien cuando el usuario elige la opción 'Pegar' en el menú contextual. | InteractiveObject | |||
Dispatched at the beginning of the component initialization sequence. | UIComponent | |||
Se distribuye cuando el usuario baja un lápiz stylus activo más allá del umbral de detección de proximidad de la pantalla. | InteractiveObject | |||
Se distribuye cuando el usuario levanta un lápiz stylus activo por encima del umbral de detección de proximidad de la pantalla. | InteractiveObject | |||
Se distribuye cuando el usuario pasa un lápiz stylus activo por encima de la pantalla sin salir del umbral de detección de proximidad. | InteractiveObject | |||
Se distribuye cuando el usuario quita un lápiz stylus activo de encima de este objeto InteractiveObject permaneciendo dentro del umbral de detección de proximidad de la pantalla. | InteractiveObject | |||
Se distribuye cuando el usuario pasa un lápiz stylus activo directamente por encima de este objeto InteractiveObject permaneciendo dentro del umbral de detección de proximidad de la pantalla. | InteractiveObject | |||
Se distribuye cuando el usuario quita un lápiz stylus activo de encima de este objeto InteractiveObject y sus elementos secundarios permaneciendo dentro del umbral de detección de proximidad de la pantalla. | InteractiveObject | |||
Se distribuye cuando el usuario pasa un lápiz stylus activo por encima de este objeto InteractiveObject desde fuera del árbol de descendientes del objeto en la lista de visualización (permaneciendo dentro del umbral de detección de proximidad de la pantalla). | InteractiveObject | |||
Se distribuye cuando el usuario suelta el botón del dispositivo señalador por primera vez después de que el usuario presiona el botón sobre una instancia de InteractiveObject y, a continuación, mueve el dispositivo de señalización fuera de la instancia de InteractiveObject. | InteractiveObject | |||
Dispatched when the component is removed from a container as a content child by using the removeChild(), removeChildAt(), removeElement(), or removeElementAt() method. | UIComponent | |||
Se distribuye cuando un objeto de visualización se va a eliminar de la lista de visualización. | DisplayObject | |||
Se distribuye cuando un objeto de visualización se va a eliminar de la lista de visualización, bien directamente o a través de la eliminación de un subárbol que contiene el objeto de visualización. | DisplayObject | |||
[evento de difusión] Se distribuye cuando la lista de visualización se va a actualizar y representar. | DisplayObject | |||
Dispatched when the component is resized. | UIComponent | |||
Se distribuye cuando un usuario pulsa y suelta el botón derecho del dispositivo de señalización sobre el mismo objeto InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario pulsa el botón del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario suelta el botón del dispositivo señalador sobre una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario mueve un dispositivo de señalización hacia el exterior de una instancia de InteractiveObject. | InteractiveObject | |||
Se distribuye cuando el usuario mueve un dispositivo de señalización sobre una instancia de InteractiveObject. | InteractiveObject | |||
Dispatched when the content is scrolled. | ScrollControlBase | |||
Se distribuye cuando el usuario activa la combinación de teclas aceleradoras específica de la plataforma en que se encuentra para seleccionar todos los elementos, o bien cuando el usuario elige la opción 'Seleccionar todo' en el menú contextual. | InteractiveObject | |||
Dispatched when an object's state changes from invisible to visible. | UIComponent | |||
Se distribuye inmediatamente una vez mostrado el teclado en pantalla. | InteractiveObject | |||
Se distribuye inmediatamente antes de que se muestre el teclado en pantalla. | InteractiveObject | |||
Se distribuye inmediatamente una vez oculto el teclado en pantalla. | InteractiveObject | |||
Dispatched after the component has entered a new state and any state transition animation to that state has finished playing. | UIComponent | |||
Dispatched when a component interrupts a transition to its current state in order to switch to a new state. | UIComponent | |||
Se distribuye cuando cambia el valor del indicador tabChildren del objeto. | InteractiveObject | |||
Se distribuye cuando cambia el indicador tabEnabled del objeto. | InteractiveObject | |||
Se distribuye cuando cambia el valor de la propiedad tabIndex del objeto. | InteractiveObject | |||
Se distribuye cuando un usuario escribe uno o varios caracteres de texto. | InteractiveObject | |||
Dispatched by the component when it is time to create a ToolTip. | UIComponent | |||
Dispatched by the component when its ToolTip has been hidden and is to be discarded soon. | UIComponent | |||
Dispatched by the component when its ToolTip is about to be hidden. | UIComponent | |||
Dispatched by the component when its ToolTip is about to be shown. | UIComponent | |||
Dispatched by the component when its ToolTip has been shown. | UIComponent | |||
Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it. | UIComponent | |||
Se distribuye cuando el usuario toca por primera vez un dispositivo táctil (por ejemplo, toca un teléfono móvil o dispositivo con pantalla táctil con un dedo). | InteractiveObject | |||
Se distribuye cuando el usuario elimina el contacto con un dispositivo táctil (como levantar un dedo de un teléfono móvil o dispositivo con pantalla táctil). | InteractiveObject | |||
A non-cancellable event, dispatched by a component when it is done responding to a touch interaction user gesture. | UIComponent | |||
A non-cancellable event, dispatched by a component when it starts responding to a touch interaction user gesture. | UIComponent | |||
A cancellable event, dispatched by a component in an attempt to respond to a touch interaction user gesture. | UIComponent | |||
Se distribuye cuando el usuario toca el dispositivo y se distribuye constantemente hasta que desaparece el punto de contacto. | InteractiveObject | |||
Se distribuye cuando el usuario retira el punto de contacto de una instancia de InteractiveObject en un dispositivo táctil (como arrastrar un dedo desde un objeto de visualización a otro en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario mueve el punto de contacto sobre una instancia de InteractiveObject en un dispositivo táctil (como arrastrar un dedo desde un punto fuera de un objeto de visualización en un punto sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario retira el punto de contacto de una instancia de InteractiveObject en un dispositivo táctil (como arrastrar un dedo desde un objeto de visualización a un punto fuera del objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario mueve el punto de contacto sobre una instancia de InteractiveObject en un dispositivo táctil (como arrastrar un dedo desde un punto fuera de un objeto de visualización en un punto sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Se distribuye cuando el usuario levanta el punto de contacto en la misma instancia de InteractiveObject en la que se inició el contacto en un dispositivo táctil (como, por ejemplo, pulsar y soltar un dedo desde un único punto sobre un objeto de visualización en un teléfono móvil o en un dispositivo con pantalla táctil). | InteractiveObject | |||
Dispatched when an object has had its commitProperties(), measure(), and updateDisplayList() methods called (if needed). | UIComponent | |||
Dispatched when a component is monitored by a Validator and the validation succeeded. | UIComponent | |||
Dispatched when values are changed programmatically or by user interaction. | UIComponent |
Los estilos son comunes o están asociados a un tema específico. Si el estilo es común, se puede utilizar con cualquier tema. Si un estilo está asociado a un tema específico, solo se puede utilizar si la aplicación usa dicho tema.
Constante | Definido por | ||
---|---|---|---|
COMPUTER : File [estática]
A constant that can be used as a value for the directory property,
representing a pseudo-top level directory named "Computer". | FileSystemTree |
directory | propiedad |
directory:File
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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 performs a synchronous enumeration of 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.
El valor predeterminado es COMPUTER.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento directoryChanged
.
Implementación
public function get directory():File
public function set directory(value:File):void
enumerationMode | propiedad |
enumerationMode:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es FileSystemEnumerationMode.DIRECTORIES_FIRST.
Implementación
public function get enumerationMode():String
public function set enumerationMode(value:String):void
Elementos de API relacionados
extensions | propiedad |
extensions:Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es null.
Implementación
public function get extensions():Array
public function set extensions(value:Array):void
filterFunction | propiedad |
filterFunction:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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):BooleanThis 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.
El valor predeterminado es null.
Implementación
public function get filterFunction():Function
public function set filterFunction(value:Function):void
nameCompareFunction | propiedad |
nameCompareFunction:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es null.
Implementación
public function get nameCompareFunction():Function
public function set nameCompareFunction(value:Function):void
openPaths | propiedad |
openPaths:Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
An Array of nativePath
Strings for the File items
representing the open subdirectories.
This Array is empty if no subdirectories are open.
El valor predeterminado es [].
Implementación
public function get openPaths():Array
public function set openPaths(value:Array):void
selectedPath | propiedad |
selectedPath:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es null.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento directoryChanged
.
Implementación
public function get selectedPath():String
public function set selectedPath(value:String):void
Elementos de API relacionados
selectedPaths | propiedad |
selectedPaths:Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es [].
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento directoryChanged
.
Implementación
public function get selectedPaths():Array
public function set selectedPaths(value:Array):void
Elementos de API relacionados
showExtensions | propiedad |
showExtensions:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es true.
Implementación
public function get showExtensions():Boolean
public function set showExtensions(value:Boolean):void
showHidden | propiedad |
showHidden:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
El valor predeterminado es false.
Implementación
public function get showHidden():Boolean
public function set showHidden(value:Boolean):void
showIcons | propiedad |
showIcons:Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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 AIR 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.
El valor predeterminado es true.
Implementación
public function get showIcons():Boolean
public function set showIcons(value:Boolean):void
FileSystemTree | () | Información sobre |
public function FileSystemTree()
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Constructor.
clear | () | método |
public function clear():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Clears the list.
This method sets the dataProvider
to null
but leaves the directory
property unchanged.
You can call refresh
to populate the list again.
closeSubdirectory | () | método |
public function closeSubdirectory(nativePath:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Closes a subdirectory specified by a native file system path.
If the nativePath
doesn't specify
a directory being displayed within this control,
then this method does nothing.
Parámetros
nativePath:String — A String specifying the nativePath
of a File item.
|
findIndex | () | método |
public function findIndex(nativePath:String):int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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.
|
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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Searches the File instances currently displayed in this control
and returns the one with the specified nativePath
property.
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.
|
File — A File instance if one was found with the specified
nativePath , or null if none was found.
|
openSubdirectory | () | método |
public function openSubdirectory(nativePath:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Opens a subdirectory specified by a native file system path.
This method automatically opens all intervening directories required to reach the specified directory.
If the nativePath
doesn't specify
an existing file system directory, or if that
directory isn't within the directory that this control
is displaying, then this method does nothing.
Parámetros
nativePath:String — A String specifying the nativePath
of a File item.
|
refresh | () | método |
public function refresh():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Re-enumerates the current directory being displayed by this control.
When this method returns, the directory
property
contains the File instance for the same directory as before.
The dataProvider
property is temporarily
null
until the directory is re-enumerated.
After the enumeration, the dataProvider
property
contains an ArrayCollection of File instances
for the directory's contents.
directoryChange | Evento |
mx.events.FileEvent
propiedad FileEvent.type =
mx.events.FileEvent.DIRECTORY_CHANGE
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Dispatched whenever the directory
property changes
for any reason.
type
property of the event object for a
directoryChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_CHANGE |
directoryClosing | Evento |
mx.events.FileEvent
propiedad FileEvent.type =
mx.events.FileEvent.DIRECTORY_CLOSING
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Dispatched when the user closes an open directory node using the mouse of keyboard.
The FileEvent.DIRECTORY_CLOSING constant defines the value of thetype
property of the event object for a
directoryClosing
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_CLOSING |
directoryOpening | Evento |
mx.events.FileEvent
propiedad FileEvent.type =
mx.events.FileEvent.DIRECTORY_OPENING
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
Dispatched when the user opens a directory node using the mouse or keyboard.
This is a cancelable event.
If you call event.preventDefault()
,
this control continues to display the current directory
rather than changing to display the subdirectory which was
double-clicked.
type
property of the event object for a
directoryOpening
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.DIRECTORY_OPENING |
fileChoose | Evento |
mx.events.FileEvent
propiedad FileEvent.type =
mx.events.FileEvent.FILE_CHOOSE
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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 thetype
property of the event object for a
fileChoose
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | FileEvent.FILE_CHOOSE |
COMPUTER | Constante |
public static const COMPUTER:File
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | AIR 1.1 |
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).
Tue Jun 12 2018, 02:12 PM Z