ScaleCjVo.as 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. package com.imt.intimamedia.vo
  2. {
  3. import flash.geom.Point;
  4. [Bindable]
  5. /**
  6. * Objet échelle de l'application
  7. */
  8. public class ScaleCjVo
  9. {
  10. public function ScaleCjVo()
  11. {
  12. }
  13. private var _start : Point;
  14. private var _end : Point;
  15. private var _distance : int;
  16. private var _points : Array = new Array();
  17. private var _number : int;
  18. private var _segment : int;
  19. private var _type : String;
  20. private var _color : String;
  21. private var _regularity : Number;
  22. private var _ratio : Number;
  23. /**
  24. * Point de départ
  25. *
  26. * @default null
  27. */
  28. public function get start () : Point
  29. {
  30. return _start;
  31. }
  32. /**
  33. * @private
  34. */
  35. public function set start ( value : Point ) : void
  36. {
  37. _start = value;
  38. }
  39. /**
  40. * Point d'arrivée
  41. *
  42. * @default null
  43. */
  44. public function get end () : Point
  45. {
  46. return _end;
  47. }
  48. /**
  49. * @private
  50. */
  51. public function set end ( value : Point ) : void
  52. {
  53. _end = value;
  54. }
  55. /**
  56. * Longueur du segment
  57. *
  58. * @default 0
  59. */
  60. public function get distance () : int
  61. {
  62. return _distance;
  63. }
  64. /**
  65. * @private
  66. */
  67. public function set distance ( value : int ) : void
  68. {
  69. _distance = value;
  70. }
  71. /**
  72. * Liste des points
  73. *
  74. * @default 0
  75. */
  76. public function get points () : Array
  77. {
  78. return _points;
  79. }
  80. /**
  81. * @private
  82. */
  83. public function set points ( value : Array ) : void
  84. {
  85. _points = value;
  86. }
  87. /**
  88. * nombre de points
  89. *
  90. * @default 0
  91. */
  92. public function get number () : int
  93. {
  94. return _number;
  95. }
  96. /**
  97. * @private
  98. */
  99. public function set number ( value : int ) : void
  100. {
  101. _number = value;
  102. }
  103. /**
  104. * Distance entre deux points
  105. *
  106. * @default 0
  107. */
  108. public function get segment () : int
  109. {
  110. return _segment;
  111. }
  112. /**
  113. * @private
  114. */
  115. public function set segment ( value : int ) : void
  116. {
  117. _segment = value;
  118. }
  119. /**
  120. * Type d'écho
  121. *
  122. * @default 0
  123. */
  124. public function get type () : String
  125. {
  126. return _type;
  127. }
  128. /**
  129. * @private
  130. */
  131. public function set type ( value : String ) : void
  132. {
  133. _type = value;
  134. }
  135. /**
  136. * Couleur d'echo
  137. *
  138. * @default 0
  139. */
  140. public function get color () : String
  141. {
  142. return _color;
  143. }
  144. /**
  145. * @private
  146. */
  147. public function set color ( value : String ) : void
  148. {
  149. _color = value;
  150. }
  151. /**
  152. * Régularité des segments
  153. *
  154. * @default 0
  155. */
  156. public function get regularity () : Number
  157. {
  158. return _regularity;
  159. }
  160. /**
  161. * @private
  162. */
  163. public function set regularity ( value : Number ) : void
  164. {
  165. _regularity = value;
  166. }
  167. /**
  168. * Ratio de la taille de l'échelle
  169. *
  170. * @default 0
  171. */
  172. public function get ratio () : Number
  173. {
  174. return _ratio;
  175. }
  176. /**
  177. * @private
  178. */
  179. public function set ratio ( value : Number ) : void
  180. {
  181. _ratio = value;
  182. }
  183. }
  184. }