SearchCitiesEvent.as 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.imt.intimamedia.events.user
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. /**
  6. * Evénement de recherche des villes pour un code postal
  7. */
  8. public class SearchCitiesEvent extends SuperEvent
  9. {
  10. private var _zipCode : String;
  11. private var _country : String;
  12. public function SearchCitiesEvent( zipCode : String, country : String )
  13. {
  14. super( ApplicationController.USER_REGISTER_FIND_CITIES );
  15. this.zipCode = zipCode;
  16. this.country = country;
  17. }
  18. /**
  19. * Code postal transporté par l'événement
  20. *
  21. * @default null
  22. */
  23. public function get zipCode () : String
  24. {
  25. return _zipCode;
  26. }
  27. /**
  28. * @private
  29. */
  30. public function set zipCode ( value : String ) : void
  31. {
  32. _zipCode = value;
  33. }
  34. /**
  35. * Pays transporté par l'événement
  36. *
  37. * @default null
  38. */
  39. public function get country () : String
  40. {
  41. return _country;
  42. }
  43. /**
  44. * @private
  45. */
  46. public function set country ( value : String ) : void
  47. {
  48. _country = value;
  49. }
  50. }
  51. }