Coverage Report - org.as3coreaddendum.display.IDisplayObject
 
Classes in this File Line Coverage Branch Coverage Complexity
IDisplayObject
0%
0/1
N/A
0
 
 1  
 /*
 2  
  * Licensed under the MIT License
 3  
  * 
 4  
  * Copyright 2010 (c) Flávio Silva, http://flsilva.com
 5  
  *
 6  
  * Permission is hereby granted, free of charge, to any person
 7  
  * obtaining a copy of this software and associated documentation
 8  
  * files (the "Software"), to deal in the Software without
 9  
  * restriction, including without limitation the rights to use,
 10  
  * copy, modify, merge, publish, distribute, sublicense, and/or sell
 11  
  * copies of the Software, and to permit persons to whom the
 12  
  * Software is furnished to do so, subject to the following
 13  
  * conditions:
 14  
  *
 15  
  * The above copyright notice and this permission notice shall be
 16  
  * included in all copies or substantial portions of the Software.
 17  
  *
 18  
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 19  
  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 20  
  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 21  
  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 22  
  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 23  
  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 24  
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 25  
  * OTHER DEALINGS IN THE SOFTWARE.
 26  
  * 
 27  
  * http://www.opensource.org/licenses/mit-license.php
 28  
  */
 29  
 
 30  0
 package org.as3coreaddendum.display
 31  
 {
 32  
         import flash.accessibility.AccessibilityProperties;
 33  
         import flash.display.DisplayObject;
 34  
         import flash.display.DisplayObjectContainer;
 35  
         import flash.display.LoaderInfo;
 36  
         import flash.display.Shader;
 37  
         import flash.display.Stage;
 38  
         import flash.events.IEventDispatcher;
 39  
         import flash.geom.Point;
 40  
         import flash.geom.Rectangle;
 41  
         import flash.geom.Transform;
 42  
         import flash.geom.Vector3D;
 43  
         
 44  
         /**
 45  
          * When working on an architecture of interfaces for user-interface components, this interface may be desirable.
 46  
          * <p>This interface simulates a native <code>DisplayObject</code> interface, specifying all methods and properties of the <code>DisplayObject</code> class for pure Flash Player 10.</p>
 47  
          * <p>For more information see the ActionScript 3.0 Language Reference.</p>
 48  
          * 
 49  
          * @author Flávio Silva
 50  
          */
 51  
         public interface IDisplayObject extends IEventDispatcher
 52  
         {
 53  
                 
 54  
                 function get accessibilityProperties(): AccessibilityProperties;
 55  
                 function set accessibilityProperties(value:AccessibilityProperties): void;
 56  
                 
 57  
                 function get alpha(): Number;
 58  
                 function set alpha(value:Number): void;
 59  
                 
 60  
                 function get blendMode(): String;
 61  
                 function set blendMode(value:String): void;
 62  
                 
 63  
                 function set blendShader(value:Shader): void;
 64  
                 
 65  
                 function get filters(): Array;
 66  
                 function set filters(value:Array): void;
 67  
                 
 68  
                 function get height(): Number;
 69  
                 function set height(value:Number): void;
 70  
                 
 71  
                 function get loaderInfo(): LoaderInfo;
 72  
                 
 73  
                 function get mask(): DisplayObject;
 74  
                 function set mask(value:DisplayObject): void;
 75  
                 
 76  
                 function get mouseX(): Number;
 77  
                 
 78  
                 function get mouseY(): Number;
 79  
                 
 80  
                 function get name(): String;
 81  
                 function set name(value:String): void;
 82  
                 
 83  
                 function get opaqueBackground(): Object;
 84  
                 function set opaqueBackground(value:Object): void;
 85  
                 
 86  
                 function get parent(): DisplayObjectContainer;
 87  
                 
 88  
                 function get root(): DisplayObject;
 89  
                 
 90  
                 function get rotation(): Number;
 91  
                 function set rotation(value:Number): void;
 92  
                 
 93  
                 function get rotationX(): Number;
 94  
                 function set rotationX(value:Number): void;
 95  
                 
 96  
                 function get rotationY(): Number;
 97  
                 function set rotationY(value:Number): void;
 98  
                 
 99  
                 function get rotationZ(): Number;
 100  
                 function set rotationZ(value:Number): void;
 101  
                 
 102  
                 function get scale9Grid(): Rectangle;
 103  
                 function set scale9Grid(value:Rectangle): void;
 104  
                 
 105  
                 function get scaleX(): Number;
 106  
                 function set scaleX(value:Number): void;
 107  
                 
 108  
                 function get scaleY(): Number;
 109  
                 function set scaleY(value:Number): void;
 110  
                 
 111  
                 function get scaleZ(): Number;
 112  
                 function set scaleZ(value:Number): void;
 113  
                 
 114  
                 function get scrollRect(): Rectangle;
 115  
                 function set scrollRect(value:Rectangle): void;
 116  
                 
 117  
                 function get stage(): Stage;
 118  
                 
 119  
                 function get transform(): Transform;
 120  
                 function set transform(value:Transform): void;
 121  
                 
 122  
                 function get visible(): Boolean;
 123  
                 function set visible(value:Boolean): void;
 124  
                 
 125  
                 function get width(): Number;
 126  
                 function set width(value:Number): void;
 127  
                 
 128  
                 function get x(): Number;
 129  
                 function set x(value:Number): void;
 130  
                 
 131  
                 function get y(): Number;
 132  
                 function set y(value:Number): void;
 133  
                 
 134  
                 function get z(): Number;
 135  
                 function set z(value:Number): void;
 136  
                 
 137  
                 function getBounds(targetCoordinateSpace:DisplayObject): Rectangle;
 138  
                 
 139  
                 function getRect(targetCoordinateSpace:DisplayObject): Rectangle;
 140  
                 
 141  
                 function globalToLocal(point:Point): Point;
 142  
                 
 143  
                 function globalToLocal3D(point:Point): Vector3D;
 144  
                 
 145  
                 function hitTestObject(obj:DisplayObject): Boolean;
 146  
                 
 147  
                 function hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false): Boolean;
 148  
                 
 149  
                 function local3DToGlobal(point3d:Vector3D): Point;
 150  
                 
 151  
                 function localToGlobal(point:Point): Point;
 152  
         }
 153  
 
 154  
 }