Paket | org.osmf.layout |
Klass | public class LayoutRendererBase |
Arv | LayoutRendererBase EventDispatcher Object |
Underklasser | LayoutRenderer |
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | 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 [skrivskyddad]
Defines the height that the layout renderer measured on its last rendering pass. | LayoutRendererBase | ||
measuredWidth : Number [skrivskyddad]
Defines the width that the layout renderer measured on its last rendering pass. | LayoutRendererBase | ||
parent : LayoutRendererBase [skrivskyddad]
Defines the renderer that this renderer is a child of. | LayoutRendererBase |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Method for adding a target to the layout renderer's list of objects
that it calculates the size and position for. | LayoutRendererBase | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | 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 | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Method for removing a target from the layout render's list of objects
that it will render. | LayoutRendererBase | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Method ordering the direct recalculation of the position and size
of all of the renderer's assigned targets. | LayoutRendererBase | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
container | egenskap |
container:org.osmf.layout:ILayoutTarget
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | 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.
Implementering
public function get container():org.osmf.layout:ILayoutTarget
public function set container(value:org.osmf.layout:ILayoutTarget):void
measuredHeight | egenskap |
measuredWidth | egenskap |
parent | egenskap |
parent:LayoutRendererBase
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Defines the renderer that this renderer is a child of.
Implementering
public function get parent():LayoutRendererBase
addTarget | () | metod |
public final function addTarget(target:org.osmf.layout:ILayoutTarget):org.osmf.layout:ILayoutTarget
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | 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.
Parametrar
target:org.osmf.layout:ILayoutTarget — The target to add.
|
org.osmf.layout:ILayoutTarget |
Utlöser
IllegalOperationError — when the specified target is null, or
already a target of the renderer.
|
hasTarget | () | metod |
public final function hasTarget(target:org.osmf.layout:ILayoutTarget):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Method for querying if a layout target is currently a target of this layout renderer.
Parametrar
target:org.osmf.layout:ILayoutTarget |
Boolean — True if the specified target is a target of this renderer.
|
invalidate | () | metod |
public final function invalidate():void
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | 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 | () | metod |
public final function removeTarget(target:org.osmf.layout:ILayoutTarget):org.osmf.layout:ILayoutTarget
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | 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.
Parametrar
target:org.osmf.layout:ILayoutTarget — The target to remove.
|
org.osmf.layout:ILayoutTarget |
Utlöser
Error — when the specified target is null, or
not a target of the renderer.
|
validateNow | () | metod |
public final function validateNow():void
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | 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, 01:40 PM Z