| Pacchetto | mx.core |
| Interfaccia | public interface IDeferredContentOwner extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
| Implementatori | SkinnableContainer |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Elementi API correlati
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
Le opzioni di accessibilità correnti di questo oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | alpha : Number
Indica il valore della trasparenza alfa dell'oggetto specificato. | IFlexDisplayObject | |
![]() | baselinePosition : Number [sola lettura]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | |
![]() | blendMode : String
Un valore della classe BlendMode che specifica il metodo di fusione da utilizzare. | IFlexDisplayObject | |
![]() | cacheAsBitmap : Boolean
Se è impostata su true, nella cache dei runtime Flash viene memorizzata una rappresentazione bitmap interna dell'oggetto di visualizzazione. | IFlexDisplayObject | |
| creationPolicy : String
Content creation policy for this component. | IDeferredContentOwner | ||
| deferredContentCreated : Boolean [sola lettura]
A flag that indicates whether the deferred content has been created. | IDeferredContentOwner | ||
![]() | document : Object
A reference to the document object associated with this component. | IUIComponent | |
![]() | enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | |
![]() | explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | explicitMaxHeight : Number [sola lettura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | explicitMaxWidth : Number [sola lettura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | explicitMinHeight : Number [sola lettura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | explicitMinWidth : Number [sola lettura]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | filters : Array
Un array indicizzato che contiene ogni oggetto filtro attualmente associato all'oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | |
![]() | height : Number
Indica l'altezza dell'oggetto di visualizzazione espressa in pixel. | IFlexDisplayObject | |
![]() | includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | |
![]() | isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | |
![]() | loaderInfo : LoaderInfo [sola lettura]
Restituisce un oggetto LoaderInfo contenente informazioni sul caricamento del file al quale questo oggetto di visualizzazione appartiene. | IFlexDisplayObject | |
![]() | mask : DisplayObject
L'oggetto di visualizzazione chiamante viene mascherato dall'oggetto mask specificato. | IFlexDisplayObject | |
![]() | maxHeight : Number [sola lettura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | maxWidth : Number [sola lettura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | measuredHeight : Number [sola lettura]
The measured height of this object. | IFlexDisplayObject | |
![]() | measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | |
![]() | measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | |
![]() | measuredWidth : Number [sola lettura]
The measured width of this object. | IFlexDisplayObject | |
![]() | minHeight : Number [sola lettura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | minWidth : Number [sola lettura]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | |
![]() | mouseX : Number [sola lettura]
Indica la coordinata x del mouse o la posizione del dispositivo di input dell'utente, espressa in pixel. | IFlexDisplayObject | |
![]() | mouseY : Number [sola lettura]
Indica la coordinata y del mouse o la posizione del dispositivo di input dell'utente, espressa in pixel. | IFlexDisplayObject | |
![]() | name : String
Indica il nome dell'istanza dell'oggetto DisplayObject. | IFlexDisplayObject | |
![]() | opaqueBackground : Object
Specifica se l'oggetto di visualizzazione è opaco con un determinato colore di sfondo. | IFlexDisplayObject | |
![]() | owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | |
![]() | parent : DisplayObjectContainer [sola lettura]
Indica l'oggetto DisplayObjectContainer che contiene questo oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | |
![]() | percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | |
![]() | root : DisplayObject [sola lettura]
Nel caso di un oggetto di visualizzazione all'interno di un file SWF caricato, la proprietà principale è l'oggetto di visualizzazione più in alto nella porzione della struttura dell'elenco di visualizzazione rappresentata da quel file SWF. | IFlexDisplayObject | |
![]() | rotation : Number
Indica la rotazione dell'istanza DisplayObject, espressa in gradi, rispetto alla posizione originale. | IFlexDisplayObject | |
![]() | scale9Grid : Rectangle
La griglia di modifica in scala attualmente attiva. | IFlexDisplayObject | |
![]() | scaleX : Number
Indica la scala orizzontale (percentuale) dell'oggetto applicata dal punto di registrazione. | IFlexDisplayObject | |
![]() | scaleY : Number
Indica la scala verticale (percentuale) di un oggetto applicata dal punto di registrazione dell'oggetto. | IFlexDisplayObject | |
![]() | scrollRect : Rectangle
I limiti del rettangolo di scorrimento dell'oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | stage : Stage [sola lettura]
Lo stage dell'oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | |
![]() | transform : flash.geom:Transform
Un oggetto con proprietà relative alla matrice, alla trasformazione del colore e ai limiti di pixel di un oggetto di visualizzazione. | IFlexDisplayObject | |
![]() | tweeningProperties : Array
Used by EffectManager. | IUIComponent | |
![]() | visible : Boolean
Determina se l'oggetto di visualizzazione è visibile o meno. | IFlexDisplayObject | |
![]() | width : Number
Indica la larghezza dell'oggetto di visualizzazione espressa in pixel. | IFlexDisplayObject | |
![]() | x : Number
Indica la coordinata x dell'istanza DisplayObject relativa alle coordinate locali del DisplayObjectContainer principale. | IFlexDisplayObject | |
![]() | y : Number
Indica la coordinata y dell'istanza DisplayObject relativa alle coordinate locali del DisplayObjectContainer principale. | IFlexDisplayObject | |
| Metodo | Definito da | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | IEventDispatcher | |
Create the content for this component. | IDeferredContentOwner | ||
![]() |
Invia un evento nel flusso di eventi. | IEventDispatcher | |
![]() |
Restituisce un rettangolo che definisce l'area dell'oggetto di visualizzazione relativa al sistema di coordinate dell'oggetto targetCoordinateSpace. | IFlexDisplayObject | |
![]() |
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | |
![]() |
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | |
![]() |
Restituisce un rettangolo che definisce i bordi dell'oggetto di visualizzazione in base al sistema di coordinate definito dal parametro targetCoordinateSpace, esclusi gli eventuali tratti presenti sulle forme. | IFlexDisplayObject | |
![]() |
Converte le coordinate dello stage (globali) in quelle (locali) dell'oggetto di visualizzazione per l'oggetto Point. | IFlexDisplayObject | |
![]() |
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | IEventDispatcher | |
![]() |
Valuta il riquadro di delimitazione dell'oggetto di visualizzazione per verificare se si sovrappone o si interseca con il riquadro di delimitazione dell'oggetto di visualizzazione obj. | IFlexDisplayObject | |
![]() |
Valuta l'oggetto di visualizzazione per stabilire se si sovrappone o si interseca con il punto specificato dai parametri x e y. | IFlexDisplayObject | |
![]() |
Initialize the object. | IUIComponent | |
![]() |
Converte le coordinate dell'oggetto di visualizzazione (locali) in quelle dello stage (globali) per l'oggetto Point. | IFlexDisplayObject | |
![]() |
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | |
![]() |
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | |
![]() |
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | |
![]() |
Rimuove un listener dall'oggetto EventDispatcher. | IEventDispatcher | |
![]() |
Sets the actual size of this object. | IFlexDisplayObject | |
![]() |
Called when the visible property changes. | IUIComponent | |
![]() |
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | IEventDispatcher | |
| Evento | Riepilogo | Definito da | ||
|---|---|---|---|---|
| Dispatched after the content for this component has been created. | IDeferredContentOwner | |||
creationPolicy | proprietà |
creationPolicy:String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Content creation policy for this component.
Possible values are:
auto- Automatically create the content immediately before it is needed.all- Create the content as soon as the parent component is created. This option should only be used as a last resort because it increases startup time and memory usage.none- Content must be created manually by calling thecreateDeferredContent()method.
If no creationPolicy is specified for a container, that container inherits the value of
its parent's creationPolicy property.
Il valore predefinito è "auto".
Implementazione
public function get creationPolicy():String public function set creationPolicy(value:String):voiddeferredContentCreated | proprietà |
createDeferredContent | () | metodo |
public function createDeferredContent():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Create the content for this component. If the value of the creationPolicy property
is auto or all, this the Flex framework calls this method. If the value of the
creationPolicy property is none, you must explicitly call this method
to create the content for the component.
contentCreationComplete | Evento |
mx.events.FlexEventproprietà FlexEvent.type =
mx.events.FlexEvent.CONTENT_CREATION_COMPLETE| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Dispatched after the content for this component has been created. With deferred instantiation, the content for a component can be created long after the component is created.
TheFlexEvent.CONTENT_CREATION_COMPLETE constant defines the value of the
type property of the event object for a contentCreationComplete 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. |
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. |
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate