MouseEvent.hx 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package flash.events;
  2. extern class MouseEvent extends Event {
  3. @:flash.property var altKey(get,set) : Bool;
  4. @:flash.property var buttonDown(get,set) : Bool;
  5. @:flash.property var ctrlKey(get,set) : Bool;
  6. @:flash.property var delta(get,set) : Int;
  7. @:flash.property @:require(flash10) var isRelatedObjectInaccessible(get,set) : Bool;
  8. @:flash.property var localX(get,set) : Float;
  9. @:flash.property var localY(get,set) : Float;
  10. @:flash.property @:require(flash11_2) var movementX(get,set) : Float;
  11. @:flash.property @:require(flash11_2) var movementY(get,set) : Float;
  12. @:flash.property var relatedObject(get,set) : flash.display.InteractiveObject;
  13. @:flash.property var shiftKey(get,set) : Bool;
  14. @:flash.property var stageX(get,never) : Float;
  15. @:flash.property var stageY(get,never) : Float;
  16. function new(type : String, bubbles : Bool = true, cancelable : Bool = false, localX : Null<Float> = 0, localY : Null<Float> = 0, ?relatedObject : flash.display.InteractiveObject, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false, buttonDown : Bool = false, delta : Int = 0) : Void;
  17. private function get_altKey() : Bool;
  18. private function get_buttonDown() : Bool;
  19. private function get_ctrlKey() : Bool;
  20. private function get_delta() : Int;
  21. private function get_isRelatedObjectInaccessible() : Bool;
  22. private function get_localX() : Float;
  23. private function get_localY() : Float;
  24. private function get_movementX() : Float;
  25. private function get_movementY() : Float;
  26. private function get_relatedObject() : flash.display.InteractiveObject;
  27. private function get_shiftKey() : Bool;
  28. private function get_stageX() : Float;
  29. private function get_stageY() : Float;
  30. private function set_altKey(value : Bool) : Bool;
  31. private function set_buttonDown(value : Bool) : Bool;
  32. private function set_ctrlKey(value : Bool) : Bool;
  33. private function set_delta(value : Int) : Int;
  34. private function set_isRelatedObjectInaccessible(value : Bool) : Bool;
  35. private function set_localX(value : Float) : Float;
  36. private function set_localY(value : Float) : Float;
  37. private function set_movementX(value : Float) : Float;
  38. private function set_movementY(value : Float) : Float;
  39. private function set_relatedObject(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
  40. private function set_shiftKey(value : Bool) : Bool;
  41. function updateAfterEvent() : Void;
  42. static final CLICK : String;
  43. @:require(flash11_2) static final CONTEXT_MENU : String;
  44. static final DOUBLE_CLICK : String;
  45. @:require(flash11_2) static final MIDDLE_CLICK : String;
  46. @:require(flash11_2) static final MIDDLE_MOUSE_DOWN : String;
  47. @:require(flash11_2) static final MIDDLE_MOUSE_UP : String;
  48. static final MOUSE_DOWN : String;
  49. static final MOUSE_MOVE : String;
  50. static final MOUSE_OUT : String;
  51. static final MOUSE_OVER : String;
  52. static final MOUSE_UP : String;
  53. static final MOUSE_WHEEL : String;
  54. @:require(flash11_3) static final RELEASE_OUTSIDE : String;
  55. @:require(flash11_2) static final RIGHT_CLICK : String;
  56. @:require(flash11_2) static final RIGHT_MOUSE_DOWN : String;
  57. @:require(flash11_2) static final RIGHT_MOUSE_UP : String;
  58. static final ROLL_OUT : String;
  59. static final ROLL_OVER : String;
  60. }