DeleteImagesEvent.as 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package com.imt.intimamedia.events.acquire
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. import com.imt.intimamedia.vo.DragAndDropVo;
  6. /**
  7. * Evénement de suppression des images
  8. */
  9. public class DeleteImagesEvent extends SuperEvent
  10. {
  11. private var _dragAndDropVo : DragAndDropVo;
  12. private var _appointment : int;
  13. public function DeleteImagesEvent( dragAndDropVo : DragAndDropVo, appointment : int, dispatcher : * = null )
  14. {
  15. super( ApplicationController.DELETE_IMAGE );
  16. this.dragAndDropVo = dragAndDropVo;
  17. this.appointment = appointment;
  18. this.dispatcher = dispatcher;
  19. }
  20. /**
  21. * Liste d'images transporté par l'événement
  22. *
  23. * @default null
  24. */
  25. public function get dragAndDropVo () : DragAndDropVo
  26. {
  27. return _dragAndDropVo;
  28. }
  29. /**
  30. * @private
  31. */
  32. public function set dragAndDropVo ( value : DragAndDropVo ) : void
  33. {
  34. _dragAndDropVo = value;
  35. }
  36. /**
  37. * ID du RDV en cours
  38. *
  39. * @default 0
  40. */
  41. public function get appointment () : int
  42. {
  43. return _appointment;
  44. }
  45. /**
  46. * @private
  47. */
  48. public function set appointment ( value : int ) : void
  49. {
  50. _appointment = value;
  51. }
  52. }
  53. }