2
0

DisplayObjectContainer.hx 1.6 KB

123456789101112131415161718192021222324252627282930
  1. package flash.display;
  2. extern class DisplayObjectContainer extends InteractiveObject {
  3. @:flash.property var mouseChildren(get,set) : Bool;
  4. @:flash.property var numChildren(get,never) : Int;
  5. @:flash.property var tabChildren(get,set) : Bool;
  6. @:flash.property var textSnapshot(get,never) : flash.text.TextSnapshot;
  7. function new() : Void;
  8. function addChild(child : DisplayObject) : DisplayObject;
  9. function addChildAt(child : DisplayObject, index : Int) : DisplayObject;
  10. function areInaccessibleObjectsUnderPoint(point : flash.geom.Point) : Bool;
  11. function contains(child : DisplayObject) : Bool;
  12. function getChildAt(index : Int) : DisplayObject;
  13. function getChildByName(name : String) : DisplayObject;
  14. function getChildIndex(child : DisplayObject) : Int;
  15. function getObjectsUnderPoint(point : flash.geom.Point) : Array<DisplayObject>;
  16. private function get_mouseChildren() : Bool;
  17. private function get_numChildren() : Int;
  18. private function get_tabChildren() : Bool;
  19. private function get_textSnapshot() : flash.text.TextSnapshot;
  20. function removeChild(child : DisplayObject) : DisplayObject;
  21. function removeChildAt(index : Int) : DisplayObject;
  22. @:require(flash11) function removeChildren(beginIndex : Int = 0, endIndex : Int = 2147483647) : Void;
  23. function setChildIndex(child : DisplayObject, index : Int) : Void;
  24. private function set_mouseChildren(value : Bool) : Bool;
  25. private function set_tabChildren(value : Bool) : Bool;
  26. @:require(flash11_8) function stopAllMovieClips() : Void;
  27. function swapChildren(child1 : DisplayObject, child2 : DisplayObject) : Void;
  28. function swapChildrenAt(index1 : Int, index2 : Int) : Void;
  29. }