GalleryElementVo.as 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package com.imt.intimamedia.vo
  2. {
  3. [Bindable]
  4. /**
  5. * Objet d'affichage du Carroussel
  6. */
  7. public class GalleryElementVo
  8. {
  9. public function GalleryElementVo( title : String = "", image : String = "", legend : String = "", author : String = "" )
  10. {
  11. this.title = title;
  12. this.image = image;
  13. this.legend = legend;
  14. this.author = author;
  15. }
  16. private var _title : String;
  17. private var _image : String;
  18. private var _legend : String;
  19. private var _author : String;
  20. /**
  21. * Titre de la photo
  22. *
  23. * @default ""
  24. */
  25. public function get title () : String
  26. {
  27. return _title;
  28. }
  29. /**
  30. * @private
  31. */
  32. public function set title ( value : String ) : void
  33. {
  34. _title = value;
  35. }
  36. /**
  37. * Source de la photo
  38. *
  39. * @default ""
  40. */
  41. public function get image () : String
  42. {
  43. return _image;
  44. }
  45. /**
  46. * @private
  47. */
  48. public function set image ( value : String ) : void
  49. {
  50. _image = value;
  51. }
  52. /**
  53. * Légende de la photo
  54. *
  55. * @default ""
  56. */
  57. public function get legend () : String
  58. {
  59. return _legend;
  60. }
  61. /**
  62. * @private
  63. */
  64. public function set legend ( value : String ) : void
  65. {
  66. _legend = value;
  67. }
  68. /**
  69. * Auteur de la photo
  70. *
  71. * @default ""
  72. */
  73. public function get author () : String
  74. {
  75. return _author;
  76. }
  77. /**
  78. * @private
  79. */
  80. public function set author ( value : String ) : void
  81. {
  82. _author = value;
  83. }
  84. }
  85. }