Pacchetto | org.osmf.layout |
Classe | public class LayoutRendererBase |
Ereditarietà | LayoutRendererBase EventDispatcher Object |
Sottoclassi | LayoutRenderer |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Proprietà | Definito da | ||
---|---|---|---|
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
container : org.osmf.layout:ILayoutTarget
Defines the container against which the renderer will calculate the size
and position values of its targets. | LayoutRendererBase | ||
measuredHeight : Number [sola lettura]
Defines the height that the layout renderer measured on its last rendering pass. | LayoutRendererBase | ||
measuredWidth : Number [sola lettura]
Defines the width that the layout renderer measured on its last rendering pass. | LayoutRendererBase | ||
parent : LayoutRendererBase [sola lettura]
Defines the renderer that this renderer is a child of. | LayoutRendererBase |
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. | EventDispatcher | ||
Method for adding a target to the layout renderer's list of objects
that it calculates the size and position for. | LayoutRendererBase | ||
Invia un evento nel flusso di eventi. | EventDispatcher | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Method for querying if a layout target is currently a target of this
layout renderer. | LayoutRendererBase | ||
Method that will mark the renderer's last rendering pass invalid. | LayoutRendererBase | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Rimuove un listener dall'oggetto EventDispatcher. | EventDispatcher | ||
Method for removing a target from the layout render's list of objects
that it will render. | LayoutRendererBase | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Method ordering the direct recalculation of the position and size
of all of the renderer's assigned targets. | LayoutRendererBase | ||
Restituisce il valore di base dell'oggetto specificato. | Object | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher |
container | proprietà |
container:org.osmf.layout:ILayoutTarget
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Defines the container against which the renderer will calculate the size and position values of its targets. The renderer additionally manages targets being added and removed as children of the set container's display list.
Implementazione
public function get container():org.osmf.layout:ILayoutTarget
public function set container(value:org.osmf.layout:ILayoutTarget):void
measuredHeight | proprietà |
measuredWidth | proprietà |
parent | proprietà |
parent:LayoutRendererBase
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Defines the renderer that this renderer is a child of.
Implementazione
public function get parent():LayoutRendererBase
addTarget | () | metodo |
public final function addTarget(target:org.osmf.layout:ILayoutTarget):org.osmf.layout:ILayoutTarget
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Method for adding a target to the layout renderer's list of objects that it calculates the size and position for. Adding a target will result the associated display object to be placed on the display list of the renderer's container.
Parametri
target:org.osmf.layout:ILayoutTarget — The target to add.
|
org.osmf.layout:ILayoutTarget |
Genera
IllegalOperationError — when the specified target is null, or
already a target of the renderer.
|
hasTarget | () | metodo |
public final function hasTarget(target:org.osmf.layout:ILayoutTarget):Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Method for querying if a layout target is currently a target of this layout renderer.
Parametri
target:org.osmf.layout:ILayoutTarget |
Boolean — True if the specified target is a target of this renderer.
|
invalidate | () | metodo |
public final function invalidate():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Method that will mark the renderer's last rendering pass invalid. At the descretion of the implementing instance, the renderer may either directly re-render, or do so at a later time.
removeTarget | () | metodo |
public final function removeTarget(target:org.osmf.layout:ILayoutTarget):org.osmf.layout:ILayoutTarget
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Method for removing a target from the layout render's list of objects that it will render. See addTarget for more information.
Parametri
target:org.osmf.layout:ILayoutTarget — The target to remove.
|
org.osmf.layout:ILayoutTarget |
Genera
Error — when the specified target is null, or
not a target of the renderer.
|
validateNow | () | metodo |
public final function validateNow():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Method ordering the direct recalculation of the position and size of all of the renderer's assigned targets. The implementing class may still skip recalculation if the renderer has not been invalidated since the last rendering pass.
Tue Jun 12 2018, 02:44 PM Z