@qooxdoo/framework 7.0.0-beta.6 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1555) hide show
  1. package/CHANGELOG.md +0 -6
  2. package/Manifest.json +2 -2
  3. package/README.md +3 -1
  4. package/lib/compiler/compile-info.json +57 -55
  5. package/lib/compiler/index.js +6272 -4273
  6. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -1
  7. package/lib/resource/qx/tool/loadsass.js +16 -15
  8. package/lib/resource/qx/tool/schema/compile-1-0-0.json +13 -13
  9. package/lib/resource/qx/tool/website/build/assets/bluebird.min.js +4593 -9
  10. package/lib/resource/qx/tool/website/build/assets/buttons.js +391 -1
  11. package/lib/resource/qx/tool/website/build/assets/fontawesome-all.js +8963 -1
  12. package/lib/resource/qx/tool/website/build/assets/jquery.js +5452 -3
  13. package/lib/resource/qx/tool/website/build/diagnostics/dependson.js +31 -31
  14. package/lib/resource/qx/tool/website/build/diagnostics/requiredby.js +32 -36
  15. package/lib/resource/qx/tool/website/build/scripts/serve.js +87 -66
  16. package/lib/resource/qx/tool/website/src/assets/bluebird.min.js +4593 -9
  17. package/lib/resource/qx/tool/website/src/assets/buttons.js +391 -1
  18. package/lib/resource/qx/tool/website/src/assets/fontawesome-all.js +8963 -1
  19. package/lib/resource/qx/tool/website/src/assets/jquery.js +5452 -3
  20. package/lib/resource/qx/tool/website/src/diagnostics/dependson.js +31 -31
  21. package/lib/resource/qx/tool/website/src/diagnostics/requiredby.js +32 -36
  22. package/lib/resource/qx/tool/website/src/scripts/serve.js +87 -66
  23. package/npm-shrinkwrap.json +7293 -0
  24. package/package.json +6 -4
  25. package/source/class/q.js +4 -2
  26. package/source/class/qx/Annotation.js +48 -57
  27. package/source/class/qx/Bootstrap.js +206 -207
  28. package/source/class/qx/Class.js +602 -504
  29. package/source/class/qx/Interface.js +169 -137
  30. package/source/class/qx/Mixin.js +162 -120
  31. package/source/class/qx/Part.js +48 -77
  32. package/source/class/qx/Promise.js +5891 -4655
  33. package/source/class/qx/Theme.js +200 -134
  34. package/source/class/qx/__init__.js +8 -8
  35. package/source/class/qx/application/AbstractGui.js +20 -32
  36. package/source/class/qx/application/Basic.js +9 -18
  37. package/source/class/qx/application/IApplication.js +6 -10
  38. package/source/class/qx/application/Inline.js +4 -7
  39. package/source/class/qx/application/Mobile.js +22 -45
  40. package/source/class/qx/application/Native.js +8 -19
  41. package/source/class/qx/application/Routing.js +88 -114
  42. package/source/class/qx/application/Standalone.js +4 -9
  43. package/source/class/qx/application/__init__.js +1 -1
  44. package/source/class/qx/bom/AnimationFrame.js +26 -25
  45. package/source/class/qx/bom/Blocker.js +92 -100
  46. package/source/class/qx/bom/Cookie.js +18 -22
  47. package/source/class/qx/bom/Document.js +24 -31
  48. package/source/class/qx/bom/Element.js +65 -51
  49. package/source/class/qx/bom/Event.js +68 -78
  50. package/source/class/qx/bom/FileReader.js +110 -115
  51. package/source/class/qx/bom/Font.js +82 -122
  52. package/source/class/qx/bom/FullScreen.js +32 -41
  53. package/source/class/qx/bom/GeoLocation.js +39 -44
  54. package/source/class/qx/bom/HashHistory.js +58 -64
  55. package/source/class/qx/bom/History.js +61 -89
  56. package/source/class/qx/bom/Html.js +75 -71
  57. package/source/class/qx/bom/IdleCallback.js +20 -23
  58. package/source/class/qx/bom/Iframe.js +37 -69
  59. package/source/class/qx/bom/IframeHistory.js +83 -88
  60. package/source/class/qx/bom/Input.js +50 -66
  61. package/source/class/qx/bom/Label.js +65 -86
  62. package/source/class/qx/bom/Lifecycle.js +7 -9
  63. package/source/class/qx/bom/MediaQuery.js +324 -307
  64. package/source/class/qx/bom/NativeHistory.js +51 -46
  65. package/source/class/qx/bom/Notification.js +41 -47
  66. package/source/class/qx/bom/PageVisibility.js +19 -25
  67. package/source/class/qx/bom/Range.js +20 -30
  68. package/source/class/qx/bom/Selection.js +163 -172
  69. package/source/class/qx/bom/Selector.js +2401 -2181
  70. package/source/class/qx/bom/Shortcut.js +103 -129
  71. package/source/class/qx/bom/Storage.js +9 -8
  72. package/source/class/qx/bom/String.js +285 -290
  73. package/source/class/qx/bom/Style.js +30 -31
  74. package/source/class/qx/bom/Stylesheet.js +36 -60
  75. package/source/class/qx/bom/Template.js +730 -657
  76. package/source/class/qx/bom/Viewport.js +40 -46
  77. package/source/class/qx/bom/Vml.js +43 -28
  78. package/source/class/qx/bom/WebWorker.js +61 -50
  79. package/source/class/qx/bom/Window.js +88 -105
  80. package/source/class/qx/bom/__init__.js +11 -11
  81. package/source/class/qx/bom/client/Browser.js +45 -47
  82. package/source/class/qx/bom/client/Css.js +85 -85
  83. package/source/class/qx/bom/client/CssAnimation.js +41 -49
  84. package/source/class/qx/bom/client/CssTransform.js +21 -29
  85. package/source/class/qx/bom/client/CssTransition.js +9 -12
  86. package/source/class/qx/bom/client/Device.js +45 -45
  87. package/source/class/qx/bom/client/EcmaScript.js +153 -96
  88. package/source/class/qx/bom/client/Engine.js +38 -35
  89. package/source/class/qx/bom/client/Event.js +75 -63
  90. package/source/class/qx/bom/client/Html.js +97 -97
  91. package/source/class/qx/bom/client/Idle.js +4 -6
  92. package/source/class/qx/bom/client/Locale.js +15 -15
  93. package/source/class/qx/bom/client/OperatingSystem.js +89 -106
  94. package/source/class/qx/bom/client/Pdfjs.js +1364 -1067
  95. package/source/class/qx/bom/client/PhoneGap.js +6 -9
  96. package/source/class/qx/bom/client/Plugin.js +93 -97
  97. package/source/class/qx/bom/client/Runtime.js +14 -12
  98. package/source/class/qx/bom/client/Scroll.js +20 -16
  99. package/source/class/qx/bom/client/Stylesheet.js +44 -32
  100. package/source/class/qx/bom/client/Transport.js +38 -41
  101. package/source/class/qx/bom/client/Xml.js +39 -41
  102. package/source/class/qx/bom/client/__init__.js +4 -4
  103. package/source/class/qx/bom/element/Animation.js +15 -12
  104. package/source/class/qx/bom/element/AnimationCss.js +95 -64
  105. package/source/class/qx/bom/element/AnimationHandle.js +22 -29
  106. package/source/class/qx/bom/element/AnimationJs.js +94 -71
  107. package/source/class/qx/bom/element/Attribute.js +119 -134
  108. package/source/class/qx/bom/element/Background.js +35 -35
  109. package/source/class/qx/bom/element/BoxSizing.js +43 -44
  110. package/source/class/qx/bom/element/Class.js +50 -72
  111. package/source/class/qx/bom/element/Clip.js +36 -60
  112. package/source/class/qx/bom/element/Cursor.js +13 -20
  113. package/source/class/qx/bom/element/Dataset.js +33 -31
  114. package/source/class/qx/bom/element/Decoration.js +178 -168
  115. package/source/class/qx/bom/element/Dimension.js +78 -60
  116. package/source/class/qx/bom/element/Location.js +87 -94
  117. package/source/class/qx/bom/element/Opacity.js +42 -44
  118. package/source/class/qx/bom/element/Scroll.js +78 -88
  119. package/source/class/qx/bom/element/Style.js +61 -101
  120. package/source/class/qx/bom/element/Transform.js +38 -56
  121. package/source/class/qx/bom/element/__init__.js +4 -4
  122. package/source/class/qx/bom/media/Abstract.js +136 -143
  123. package/source/class/qx/bom/media/Audio.js +7 -12
  124. package/source/class/qx/bom/media/Video.js +15 -27
  125. package/source/class/qx/bom/request/IRequest.js +18 -21
  126. package/source/class/qx/bom/request/Jsonp.js +34 -39
  127. package/source/class/qx/bom/request/Script.js +94 -90
  128. package/source/class/qx/bom/request/SimpleXhr.js +111 -79
  129. package/source/class/qx/bom/request/Xhr.js +196 -143
  130. package/source/class/qx/bom/request/__init__.js +1 -1
  131. package/source/class/qx/bom/rest/Resource.js +269 -203
  132. package/source/class/qx/bom/storage/Memory.js +18 -29
  133. package/source/class/qx/bom/storage/UserData.js +28 -35
  134. package/source/class/qx/bom/storage/Web.js +19 -30
  135. package/source/class/qx/bom/webfonts/Manager.js +199 -130
  136. package/source/class/qx/bom/webfonts/Validator.js +84 -118
  137. package/source/class/qx/bom/webfonts/WebFont.js +24 -28
  138. package/source/class/qx/bom/webfonts/__init__.js +1 -1
  139. package/source/class/qx/core/Aspect.js +15 -22
  140. package/source/class/qx/core/Assert.js +391 -333
  141. package/source/class/qx/core/AssertionError.js +6 -15
  142. package/source/class/qx/core/BaseInit.js +25 -28
  143. package/source/class/qx/core/Environment.js +72 -86
  144. package/source/class/qx/core/GlobalError.js +12 -20
  145. package/source/class/qx/core/IDisposable.js +6 -9
  146. package/source/class/qx/core/Id.js +25 -15
  147. package/source/class/qx/core/Init.js +20 -20
  148. package/source/class/qx/core/MAssert.js +54 -97
  149. package/source/class/qx/core/MBindTo.js +10 -14
  150. package/source/class/qx/core/MEvent.js +76 -65
  151. package/source/class/qx/core/MLogging.js +9 -18
  152. package/source/class/qx/core/MObjectId.js +104 -65
  153. package/source/class/qx/core/MProperty.js +18 -34
  154. package/source/class/qx/core/Object.js +93 -122
  155. package/source/class/qx/core/ObjectRegistry.js +58 -81
  156. package/source/class/qx/core/Property.js +974 -780
  157. package/source/class/qx/core/ValidationError.js +3 -4
  158. package/source/class/qx/core/WindowError.js +13 -24
  159. package/source/class/qx/core/Wrapper.js +8 -9
  160. package/source/class/qx/data/Array.js +178 -191
  161. package/source/class/qx/data/Conversion.js +11 -18
  162. package/source/class/qx/data/IListData.js +11 -20
  163. package/source/class/qx/data/MBinding.js +31 -26
  164. package/source/class/qx/data/SingleValueBinding.js +491 -225
  165. package/source/class/qx/data/__init__.js +1 -1
  166. package/source/class/qx/data/controller/CheckedList.js +82 -54
  167. package/source/class/qx/data/controller/Form.js +81 -69
  168. package/source/class/qx/data/controller/IControllerDelegate.js +7 -12
  169. package/source/class/qx/data/controller/ISelection.js +6 -10
  170. package/source/class/qx/data/controller/List.js +151 -167
  171. package/source/class/qx/data/controller/MSelection.js +53 -72
  172. package/source/class/qx/data/controller/Object.js +106 -77
  173. package/source/class/qx/data/controller/Tree.js +164 -142
  174. package/source/class/qx/data/controller/__init__.js +1 -1
  175. package/source/class/qx/data/controller/website/List.js +34 -43
  176. package/source/class/qx/data/controller/website/__init__.js +2 -2
  177. package/source/class/qx/data/marshal/IMarshaler.js +4 -7
  178. package/source/class/qx/data/marshal/IMarshalerDelegate.js +10 -18
  179. package/source/class/qx/data/marshal/Json.js +112 -85
  180. package/source/class/qx/data/marshal/MEventBubbling.js +44 -42
  181. package/source/class/qx/data/marshal/__init__.js +1 -1
  182. package/source/class/qx/data/store/IStoreDelegate.js +6 -9
  183. package/source/class/qx/data/store/Json.js +71 -85
  184. package/source/class/qx/data/store/Jsonp.js +19 -25
  185. package/source/class/qx/data/store/Offline.js +21 -29
  186. package/source/class/qx/data/store/Rest.js +25 -23
  187. package/source/class/qx/data/store/__init__.js +1 -1
  188. package/source/class/qx/dev/Debug.js +105 -124
  189. package/source/class/qx/dev/FakeServer.js +68 -65
  190. package/source/class/qx/dev/ObjectSummary.js +33 -39
  191. package/source/class/qx/dev/Profile.js +62 -63
  192. package/source/class/qx/dev/StackTrace.js +64 -70
  193. package/source/class/qx/dev/Tokenizer.js +114 -126
  194. package/source/class/qx/dev/unit/AbstractTestSuite.js +17 -31
  195. package/source/class/qx/dev/unit/AsyncWrapper.js +22 -26
  196. package/source/class/qx/dev/unit/JsUnitTestResult.js +9 -21
  197. package/source/class/qx/dev/unit/MMeasure.js +46 -37
  198. package/source/class/qx/dev/unit/MMock.js +236 -240
  199. package/source/class/qx/dev/unit/MRequirements.js +53 -79
  200. package/source/class/qx/dev/unit/MRequirementsBasic.js +24 -19
  201. package/source/class/qx/dev/unit/MTestLoader.js +52 -57
  202. package/source/class/qx/dev/unit/MeasurementResult.js +18 -22
  203. package/source/class/qx/dev/unit/RequirementError.js +8 -17
  204. package/source/class/qx/dev/unit/Sinon.js +18826 -4613
  205. package/source/class/qx/dev/unit/TestCase.js +40 -51
  206. package/source/class/qx/dev/unit/TestClass.js +22 -23
  207. package/source/class/qx/dev/unit/TestFunction.js +28 -48
  208. package/source/class/qx/dev/unit/TestLoader.js +11 -14
  209. package/source/class/qx/dev/unit/TestLoaderBasic.js +3 -6
  210. package/source/class/qx/dev/unit/TestLoaderInline.js +8 -14
  211. package/source/class/qx/dev/unit/TestLoaderMobile.js +8 -14
  212. package/source/class/qx/dev/unit/TestLoaderNative.js +7 -13
  213. package/source/class/qx/dev/unit/TestResult.js +140 -118
  214. package/source/class/qx/dev/unit/TestSuite.js +46 -55
  215. package/source/class/qx/dom/Element.js +29 -74
  216. package/source/class/qx/dom/Hierarchy.js +60 -95
  217. package/source/class/qx/dom/Node.js +54 -81
  218. package/source/class/qx/dom/__init__.js +9 -9
  219. package/source/class/qx/event/AcceleratingTimer.js +28 -46
  220. package/source/class/qx/event/Emitter.js +54 -49
  221. package/source/class/qx/event/GlobalError.js +22 -38
  222. package/source/class/qx/event/IEventDispatcher.js +4 -9
  223. package/source/class/qx/event/IEventHandler.js +7 -13
  224. package/source/class/qx/event/Idle.js +32 -47
  225. package/source/class/qx/event/Manager.js +222 -237
  226. package/source/class/qx/event/Messaging.js +55 -48
  227. package/source/class/qx/event/Pool.js +5 -8
  228. package/source/class/qx/event/Registration.js +128 -118
  229. package/source/class/qx/event/Timer.js +50 -96
  230. package/source/class/qx/event/Utils.js +41 -28
  231. package/source/class/qx/event/dispatch/AbstractBubbling.js +133 -93
  232. package/source/class/qx/event/dispatch/Direct.js +46 -51
  233. package/source/class/qx/event/dispatch/DomBubbling.js +8 -15
  234. package/source/class/qx/event/dispatch/MouseCapture.js +74 -91
  235. package/source/class/qx/event/handler/Appear.js +40 -77
  236. package/source/class/qx/event/handler/Application.js +100 -126
  237. package/source/class/qx/event/handler/Capture.js +15 -37
  238. package/source/class/qx/event/handler/DragDrop.js +342 -228
  239. package/source/class/qx/event/handler/Element.js +45 -72
  240. package/source/class/qx/event/handler/ElementResize.js +35 -70
  241. package/source/class/qx/event/handler/Focus.js +908 -637
  242. package/source/class/qx/event/handler/Gesture.js +144 -93
  243. package/source/class/qx/event/handler/GestureCore.js +214 -163
  244. package/source/class/qx/event/handler/Iframe.js +21 -35
  245. package/source/class/qx/event/handler/Input.js +332 -209
  246. package/source/class/qx/event/handler/Keyboard.js +325 -270
  247. package/source/class/qx/event/handler/Mouse.js +212 -173
  248. package/source/class/qx/event/handler/Object.js +13 -31
  249. package/source/class/qx/event/handler/Offline.js +52 -67
  250. package/source/class/qx/event/handler/Orientation.js +56 -62
  251. package/source/class/qx/event/handler/OrientationCore.js +33 -43
  252. package/source/class/qx/event/handler/Pointer.js +84 -72
  253. package/source/class/qx/event/handler/PointerCore.js +183 -105
  254. package/source/class/qx/event/handler/Touch.js +43 -59
  255. package/source/class/qx/event/handler/TouchCore.js +159 -120
  256. package/source/class/qx/event/handler/Transition.js +91 -100
  257. package/source/class/qx/event/handler/UserAction.js +18 -42
  258. package/source/class/qx/event/handler/Video.js +12 -12
  259. package/source/class/qx/event/handler/Window.js +53 -69
  260. package/source/class/qx/event/message/Bus.js +109 -128
  261. package/source/class/qx/event/message/Message.js +14 -29
  262. package/source/class/qx/event/type/Data.js +11 -22
  263. package/source/class/qx/event/type/Dom.js +37 -52
  264. package/source/class/qx/event/type/Drag.js +37 -56
  265. package/source/class/qx/event/type/Event.js +80 -104
  266. package/source/class/qx/event/type/Focus.js +5 -8
  267. package/source/class/qx/event/type/GeoPosition.js +32 -41
  268. package/source/class/qx/event/type/KeyInput.js +9 -19
  269. package/source/class/qx/event/type/KeySequence.js +10 -21
  270. package/source/class/qx/event/type/Mouse.js +69 -72
  271. package/source/class/qx/event/type/MouseWheel.js +5 -9
  272. package/source/class/qx/event/type/Native.js +16 -27
  273. package/source/class/qx/event/type/Orientation.js +18 -30
  274. package/source/class/qx/event/type/Pinch.js +21 -27
  275. package/source/class/qx/event/type/Pointer.js +38 -41
  276. package/source/class/qx/event/type/Rest.js +7 -10
  277. package/source/class/qx/event/type/Roll.js +49 -58
  278. package/source/class/qx/event/type/Rotate.js +21 -27
  279. package/source/class/qx/event/type/Swipe.js +75 -86
  280. package/source/class/qx/event/type/Tap.js +2 -4
  281. package/source/class/qx/event/type/Touch.js +262 -286
  282. package/source/class/qx/event/type/Track.js +23 -28
  283. package/source/class/qx/event/type/dom/Custom.js +24 -20
  284. package/source/class/qx/event/type/dom/Pointer.js +86 -60
  285. package/source/class/qx/event/util/Keyboard.js +94 -106
  286. package/source/class/qx/html/Blocker.js +17 -18
  287. package/source/class/qx/html/Canvas.js +13 -29
  288. package/source/class/qx/html/Element.js +372 -497
  289. package/source/class/qx/html/Factory.js +31 -26
  290. package/source/class/qx/html/Iframe.js +35 -69
  291. package/source/class/qx/html/Image.js +43 -55
  292. package/source/class/qx/html/Input.js +44 -57
  293. package/source/class/qx/html/Jsx.js +49 -41
  294. package/source/class/qx/html/JsxRef.js +3 -5
  295. package/source/class/qx/html/Label.js +20 -32
  296. package/source/class/qx/html/Node.js +362 -422
  297. package/source/class/qx/html/Root.js +7 -16
  298. package/source/class/qx/html/Text.js +34 -27
  299. package/source/class/qx/io/ImageLoader.js +66 -90
  300. package/source/class/qx/io/PartLoader.js +17 -30
  301. package/source/class/qx/io/exception/Cancel.js +4 -5
  302. package/source/class/qx/io/exception/Exception.js +4 -5
  303. package/source/class/qx/io/exception/Protocol.js +2 -3
  304. package/source/class/qx/io/exception/Transport.js +13 -14
  305. package/source/class/qx/io/graphql/Client.js +22 -12
  306. package/source/class/qx/io/graphql/protocol/Message.js +3 -3
  307. package/source/class/qx/io/graphql/protocol/Request.js +8 -10
  308. package/source/class/qx/io/graphql/protocol/Response.js +7 -5
  309. package/source/class/qx/io/jsonrpc/Client.js +70 -38
  310. package/source/class/qx/io/jsonrpc/__init__.js +1 -1
  311. package/source/class/qx/io/jsonrpc/protocol/Batch.js +14 -8
  312. package/source/class/qx/io/jsonrpc/protocol/Error.js +11 -9
  313. package/source/class/qx/io/jsonrpc/protocol/Message.js +3 -3
  314. package/source/class/qx/io/jsonrpc/protocol/Notification.js +8 -6
  315. package/source/class/qx/io/jsonrpc/protocol/Parser.js +33 -9
  316. package/source/class/qx/io/jsonrpc/protocol/Request.js +8 -7
  317. package/source/class/qx/io/jsonrpc/protocol/Result.js +7 -6
  318. package/source/class/qx/io/part/ClosurePart.js +16 -35
  319. package/source/class/qx/io/part/Package.js +35 -63
  320. package/source/class/qx/io/part/Part.js +29 -53
  321. package/source/class/qx/io/part/__init__.js +4 -4
  322. package/source/class/qx/io/request/AbstractRequest.js +268 -201
  323. package/source/class/qx/io/request/Jsonp.js +16 -19
  324. package/source/class/qx/io/request/Xhr.js +38 -37
  325. package/source/class/qx/io/request/__init__.js +1 -1
  326. package/source/class/qx/io/request/authentication/Basic.js +7 -13
  327. package/source/class/qx/io/request/authentication/Bearer.js +7 -13
  328. package/source/class/qx/io/request/authentication/IAuthentication.js +3 -6
  329. package/source/class/qx/io/request/authentication/__init__.js +1 -1
  330. package/source/class/qx/io/rest/Resource.js +122 -90
  331. package/source/class/qx/io/transport/AbstractClient.js +31 -10
  332. package/source/class/qx/io/transport/AbstractTransport.js +7 -8
  333. package/source/class/qx/io/transport/Fetch.js +8 -5
  334. package/source/class/qx/io/transport/ITransport.js +4 -2
  335. package/source/class/qx/io/transport/PostMessage.js +1 -2
  336. package/source/class/qx/io/transport/Websocket.js +5 -5
  337. package/source/class/qx/io/transport/Xhr.js +17 -18
  338. package/source/class/qx/lang/Array.js +133 -170
  339. package/source/class/qx/lang/Function.js +101 -104
  340. package/source/class/qx/lang/Json.js +1041 -774
  341. package/source/class/qx/lang/Number.js +11 -16
  342. package/source/class/qx/lang/Object.js +129 -100
  343. package/source/class/qx/lang/String.js +86 -94
  344. package/source/class/qx/lang/Type.js +44 -65
  345. package/source/class/qx/lang/normalize/Array.js +39 -49
  346. package/source/class/qx/lang/normalize/Date.js +50 -32
  347. package/source/class/qx/lang/normalize/Error.js +4 -7
  348. package/source/class/qx/lang/normalize/Function.js +11 -19
  349. package/source/class/qx/lang/normalize/Number.js +3 -5
  350. package/source/class/qx/lang/normalize/Object.js +17 -18
  351. package/source/class/qx/lang/normalize/String.js +39 -40
  352. package/source/class/qx/locale/Date.js +175 -178
  353. package/source/class/qx/locale/Key.js +13 -11
  354. package/source/class/qx/locale/LocalizedString.js +18 -15
  355. package/source/class/qx/locale/MTranslation.js +22 -23
  356. package/source/class/qx/locale/Manager.js +62 -100
  357. package/source/class/qx/locale/Number.js +20 -12
  358. package/source/class/qx/locale/String.js +26 -15
  359. package/source/class/qx/log/Logger.js +128 -180
  360. package/source/class/qx/log/__init__.js +3 -3
  361. package/source/class/qx/log/appender/Console.js +100 -111
  362. package/source/class/qx/log/appender/Element.js +25 -39
  363. package/source/class/qx/log/appender/Formatter.js +117 -66
  364. package/source/class/qx/log/appender/Native.js +4 -10
  365. package/source/class/qx/log/appender/NodeConsole.js +20 -28
  366. package/source/class/qx/log/appender/PhoneGap.js +5 -13
  367. package/source/class/qx/log/appender/RhinoConsole.js +12 -23
  368. package/source/class/qx/log/appender/RhinoFile.js +19 -26
  369. package/source/class/qx/log/appender/RingBuffer.js +10 -19
  370. package/source/class/qx/log/appender/Util.js +11 -9
  371. package/source/class/qx/module/Animation.js +73 -63
  372. package/source/class/qx/module/Attribute.js +27 -46
  373. package/source/class/qx/module/Blocker.js +33 -41
  374. package/source/class/qx/module/Cookie.js +6 -10
  375. package/source/class/qx/module/Css.js +82 -97
  376. package/source/class/qx/module/Dataset.js +12 -24
  377. package/source/class/qx/module/Environment.js +4 -6
  378. package/source/class/qx/module/Event.js +124 -127
  379. package/source/class/qx/module/Io.js +5 -9
  380. package/source/class/qx/module/Manipulating.js +98 -117
  381. package/source/class/qx/module/MatchMedia.js +50 -24
  382. package/source/class/qx/module/Messaging.js +6 -10
  383. package/source/class/qx/module/Placeholder.js +54 -44
  384. package/source/class/qx/module/Placement.js +33 -33
  385. package/source/class/qx/module/Rest.js +3 -4
  386. package/source/class/qx/module/Storage.js +34 -48
  387. package/source/class/qx/module/Template.js +6 -9
  388. package/source/class/qx/module/TextSelection.js +13 -21
  389. package/source/class/qx/module/Transform.js +28 -45
  390. package/source/class/qx/module/Traversing.js +160 -154
  391. package/source/class/qx/module/__init__.js +1 -1
  392. package/source/class/qx/module/dev/FakeServer.js +19 -25
  393. package/source/class/qx/module/event/GestureHandler.js +25 -13
  394. package/source/class/qx/module/event/Keyboard.js +42 -31
  395. package/source/class/qx/module/event/Mouse.js +48 -46
  396. package/source/class/qx/module/event/Native.js +18 -30
  397. package/source/class/qx/module/event/Orientation.js +11 -18
  398. package/source/class/qx/module/event/OrientationHandler.js +19 -17
  399. package/source/class/qx/module/event/Pinch.js +13 -14
  400. package/source/class/qx/module/event/Pointer.js +22 -22
  401. package/source/class/qx/module/event/PointerHandler.js +14 -11
  402. package/source/class/qx/module/event/Rotate.js +13 -14
  403. package/source/class/qx/module/event/Swipe.js +18 -24
  404. package/source/class/qx/module/event/Tap.js +25 -25
  405. package/source/class/qx/module/event/Touch.js +4 -7
  406. package/source/class/qx/module/event/TouchHandler.js +16 -16
  407. package/source/class/qx/module/event/Track.js +13 -14
  408. package/source/class/qx/module/util/Array.js +30 -41
  409. package/source/class/qx/module/util/Function.js +1 -2
  410. package/source/class/qx/module/util/Object.js +8 -11
  411. package/source/class/qx/module/util/String.js +10 -18
  412. package/source/class/qx/module/util/Type.js +3 -4
  413. package/source/class/qx/test/Annotation.js +195 -89
  414. package/source/class/qx/test/Bootstrap.js +98 -124
  415. package/source/class/qx/test/Browser.js +8 -11
  416. package/source/class/qx/test/Class.js +164 -198
  417. package/source/class/qx/test/Dom.js +10 -28
  418. package/source/class/qx/test/EditDistance.js +16 -16
  419. package/source/class/qx/test/Interface.js +380 -383
  420. package/source/class/qx/test/MAppearance.js +10 -14
  421. package/source/class/qx/test/MDecoration.js +1 -3
  422. package/source/class/qx/test/Mixin.js +449 -173
  423. package/source/class/qx/test/Promise.js +422 -333
  424. package/source/class/qx/test/Theme.js +204 -179
  425. package/source/class/qx/test/Xml.js +155 -84
  426. package/source/class/qx/test/application/Routing.js +45 -44
  427. package/source/class/qx/test/bom/AnimationFrame.js +23 -21
  428. package/source/class/qx/test/bom/Attribute.js +66 -47
  429. package/source/class/qx/test/bom/Basic.js +52 -27
  430. package/source/class/qx/test/bom/Blocker.js +100 -70
  431. package/source/class/qx/test/bom/Class.js +19 -34
  432. package/source/class/qx/test/bom/Cookie.js +49 -28
  433. package/source/class/qx/test/bom/Dataset.js +12 -24
  434. package/source/class/qx/test/bom/Element.js +55 -47
  435. package/source/class/qx/test/bom/Event.js +68 -45
  436. package/source/class/qx/test/bom/FileReader.js +6 -12
  437. package/source/class/qx/test/bom/Font.js +256 -118
  438. package/source/class/qx/test/bom/GeoLocation.js +82 -64
  439. package/source/class/qx/test/bom/History.js +63 -84
  440. package/source/class/qx/test/bom/IdleCallback.js +51 -38
  441. package/source/class/qx/test/bom/Iframe.js +14 -18
  442. package/source/class/qx/test/bom/Label.js +74 -105
  443. package/source/class/qx/test/bom/Location.js +70 -99
  444. package/source/class/qx/test/bom/PageVisibility.js +13 -16
  445. package/source/class/qx/test/bom/Selector.js +16 -16
  446. package/source/class/qx/test/bom/String.js +19 -15
  447. package/source/class/qx/test/bom/Stylesheet.js +39 -48
  448. package/source/class/qx/test/bom/Template.js +49 -57
  449. package/source/class/qx/test/bom/Viewport.js +7 -11
  450. package/source/class/qx/test/bom/WebWorker.js +49 -37
  451. package/source/class/qx/test/bom/Window.js +6 -12
  452. package/source/class/qx/test/bom/client/Css.js +26 -19
  453. package/source/class/qx/test/bom/client/Device.js +29 -18
  454. package/source/class/qx/test/bom/client/OperatingSystem.js +17 -20
  455. package/source/class/qx/test/bom/client/Pdfjs.js +15 -13
  456. package/source/class/qx/test/bom/element/AnimationHandle.js +20 -17
  457. package/source/class/qx/test/bom/element/AnimationJs.js +48 -31
  458. package/source/class/qx/test/bom/element/Background.js +93 -46
  459. package/source/class/qx/test/bom/element/BoxSizing.js +66 -61
  460. package/source/class/qx/test/bom/element/Class.js +33 -58
  461. package/source/class/qx/test/bom/element/Dimension.js +58 -37
  462. package/source/class/qx/test/bom/element/Style.js +87 -83
  463. package/source/class/qx/test/bom/element/Transform.js +209 -86
  464. package/source/class/qx/test/bom/media/Audio.js +18 -14
  465. package/source/class/qx/test/bom/media/MediaTestCase.js +61 -66
  466. package/source/class/qx/test/bom/media/Video.js +39 -28
  467. package/source/class/qx/test/bom/request/Jsonp.js +60 -57
  468. package/source/class/qx/test/bom/request/Script.js +150 -138
  469. package/source/class/qx/test/bom/request/SimpleXhr.js +206 -134
  470. package/source/class/qx/test/bom/request/Xhr.js +179 -132
  471. package/source/class/qx/test/bom/request/XhrWithRemote.js +206 -160
  472. package/source/class/qx/test/bom/rest/Resource.js +345 -281
  473. package/source/class/qx/test/bom/rest/ResourceWithRemote.js +74 -57
  474. package/source/class/qx/test/bom/storage/Local.js +3 -4
  475. package/source/class/qx/test/bom/storage/Session.js +3 -4
  476. package/source/class/qx/test/bom/storage/WebStorageTestCase.js +28 -27
  477. package/source/class/qx/test/bom/webfonts/Abstract.js +8 -10
  478. package/source/class/qx/test/bom/webfonts/Manager.js +127 -80
  479. package/source/class/qx/test/bom/webfonts/Validator.js +36 -30
  480. package/source/class/qx/test/compiler/ClassFile.js +29 -11
  481. package/source/class/qx/test/compiler/jsdoc/Parser.js +122 -96
  482. package/source/class/qx/test/core/Assert.js +151 -86
  483. package/source/class/qx/test/core/Environment.js +162 -123
  484. package/source/class/qx/test/core/EventEmitterDummy.js +7 -8
  485. package/source/class/qx/test/core/InheritanceDummy.js +23 -33
  486. package/source/class/qx/test/core/MemoryManagement.js +13 -5
  487. package/source/class/qx/test/core/Object.js +106 -112
  488. package/source/class/qx/test/core/ObjectId.js +7 -6
  489. package/source/class/qx/test/core/Property.js +483 -387
  490. package/source/class/qx/test/core/PropertyHelper.js +49 -64
  491. package/source/class/qx/test/core/Target.js +9 -13
  492. package/source/class/qx/test/core/Validation.js +409 -136
  493. package/source/class/qx/test/data/DataArray.js +1059 -394
  494. package/source/class/qx/test/data/DataArrayWithChangeBubble.js +315 -172
  495. package/source/class/qx/test/data/__init__.js +4 -4
  496. package/source/class/qx/test/data/controller/Form.js +141 -99
  497. package/source/class/qx/test/data/controller/FormWithArrayAndModel.js +66 -51
  498. package/source/class/qx/test/data/controller/List.js +644 -336
  499. package/source/class/qx/test/data/controller/ListReverse.js +64 -63
  500. package/source/class/qx/test/data/controller/ListWithObjects.js +305 -149
  501. package/source/class/qx/test/data/controller/Object.js +252 -94
  502. package/source/class/qx/test/data/controller/Tree.js +1219 -383
  503. package/source/class/qx/test/data/controller/__init__.js +4 -4
  504. package/source/class/qx/test/data/marshal/Json.js +832 -447
  505. package/source/class/qx/test/data/marshal/__init__.js +4 -4
  506. package/source/class/qx/test/data/singlevalue/Array.js +383 -144
  507. package/source/class/qx/test/data/singlevalue/Deep.js +361 -175
  508. package/source/class/qx/test/data/singlevalue/Resolve.js +51 -29
  509. package/source/class/qx/test/data/singlevalue/Simple.js +530 -208
  510. package/source/class/qx/test/data/singlevalue/TextFieldDummy.js +32 -28
  511. package/source/class/qx/test/data/singlevalue/__init__.js +4 -4
  512. package/source/class/qx/test/data/store/Json.js +574 -313
  513. package/source/class/qx/test/data/store/Jsonp.js +103 -77
  514. package/source/class/qx/test/data/store/Offline.js +127 -110
  515. package/source/class/qx/test/data/store/Rest.js +58 -52
  516. package/source/class/qx/test/data/store/RestWithRemote.js +36 -30
  517. package/source/class/qx/test/data/store/__init__.js +4 -4
  518. package/source/class/qx/test/dev/Debug.js +9 -13
  519. package/source/class/qx/test/dev/StackTrace.js +51 -42
  520. package/source/class/qx/test/dev/unit/Requirements.js +36 -49
  521. package/source/class/qx/test/dev/unit/Sinon.js +85 -73
  522. package/source/class/qx/test/dev/unit/TestCase.js +12 -17
  523. package/source/class/qx/test/dom/Element.js +17 -12
  524. package/source/class/qx/test/dom/Hierarchy.js +53 -38
  525. package/source/class/qx/test/dom/Node.js +97 -43
  526. package/source/class/qx/test/event/Bubbling.js +258 -88
  527. package/source/class/qx/test/event/Emitter.js +38 -39
  528. package/source/class/qx/test/event/GlobalError.js +59 -87
  529. package/source/class/qx/test/event/GlobalEventMonitors.js +22 -25
  530. package/source/class/qx/test/event/Messaging.js +66 -49
  531. package/source/class/qx/test/event/MockBubblingHandler.js +10 -15
  532. package/source/class/qx/test/event/MockHandler.js +14 -33
  533. package/source/class/qx/test/event/Registration.js +38 -32
  534. package/source/class/qx/test/event/Timer.js +61 -39
  535. package/source/class/qx/test/event/Utils.js +164 -123
  536. package/source/class/qx/test/event/dispatch/MouseCapture.js +61 -51
  537. package/source/class/qx/test/event/dispatch/MouseEventOnDocument.js +22 -23
  538. package/source/class/qx/test/event/dispatch/TestingHandler.js +8 -10
  539. package/source/class/qx/test/event/dispatch/TestingWindow.js +9 -13
  540. package/source/class/qx/test/event/dispatch/__init__.js +4 -4
  541. package/source/class/qx/test/event/handler/Offline.js +7 -8
  542. package/source/class/qx/test/event/message/Bus.js +112 -72
  543. package/source/class/qx/test/event/message/__init__.js +4 -4
  544. package/source/class/qx/test/event/type/Dom.js +12 -11
  545. package/source/class/qx/test/event/type/Event.js +7 -16
  546. package/source/class/qx/test/event/type/Mouse.js +12 -11
  547. package/source/class/qx/test/event/type/Native.js +12 -11
  548. package/source/class/qx/test/event/type/__init__.js +4 -4
  549. package/source/class/qx/test/event/util/Keyboard.js +4 -3
  550. package/source/class/qx/test/html/Element.js +538 -239
  551. package/source/class/qx/test/html/Iframe.js +85 -73
  552. package/source/class/qx/test/html/jsx/TestJsx.js +15 -4
  553. package/source/class/qx/test/html/jsx/TestJsxBrowser.js +37 -19
  554. package/source/class/qx/test/html/jsx/TestWidget.js +26 -26
  555. package/source/class/qx/test/io/ImageLoader.js +256 -160
  556. package/source/class/qx/test/io/MAssert.js +7 -7
  557. package/source/class/qx/test/io/MRemoteTest.js +9 -11
  558. package/source/class/qx/test/io/__init__.js +4 -4
  559. package/source/class/qx/test/io/graphql/Client.js +135 -114
  560. package/source/class/qx/test/io/graphql/ClientFetch.js +4 -4
  561. package/source/class/qx/test/io/graphql/Request.js +12 -13
  562. package/source/class/qx/test/io/jsonrpc/Client.js +135 -69
  563. package/source/class/qx/test/io/jsonrpc/Protocol.js +42 -14
  564. package/source/class/qx/test/io/request/Jsonp.js +23 -20
  565. package/source/class/qx/test/io/request/JsonpWithRemote.js +25 -22
  566. package/source/class/qx/test/io/request/MRequest.js +137 -114
  567. package/source/class/qx/test/io/request/Xhr.js +367 -209
  568. package/source/class/qx/test/io/request/XhrWithRemote.js +133 -100
  569. package/source/class/qx/test/io/rest/Resource.js +325 -270
  570. package/source/class/qx/test/io/rest/ResourceWithRemote.js +75 -58
  571. package/source/class/qx/test/io/transport/PostMessage.js +5 -5
  572. package/source/class/qx/test/io/transport/Websocket.js +9 -8
  573. package/source/class/qx/test/lang/Array.js +79 -105
  574. package/source/class/qx/test/lang/Function.js +64 -53
  575. package/source/class/qx/test/lang/Json.js +51 -79
  576. package/source/class/qx/test/lang/Number.js +4 -6
  577. package/source/class/qx/test/lang/Object.js +143 -133
  578. package/source/class/qx/test/lang/String.js +151 -95
  579. package/source/class/qx/test/lang/Type.js +34 -44
  580. package/source/class/qx/test/lang/Webkit.js +8 -13
  581. package/source/class/qx/test/lang/normalize/Array.js +121 -68
  582. package/source/class/qx/test/lang/normalize/Date.js +232 -49
  583. package/source/class/qx/test/lang/normalize/Error.js +5 -8
  584. package/source/class/qx/test/lang/normalize/Function.js +7 -13
  585. package/source/class/qx/test/lang/normalize/Object.js +22 -29
  586. package/source/class/qx/test/lang/normalize/String.js +19 -28
  587. package/source/class/qx/test/locale/Date.js +91 -43
  588. package/source/class/qx/test/locale/Locale.js +52 -32
  589. package/source/class/qx/test/locale/LocalizedString.js +12 -12
  590. package/source/class/qx/test/log/DeprecationMethodOverriding.js +52 -31
  591. package/source/class/qx/test/log/Filters.js +6 -3
  592. package/source/class/qx/test/log/Formatter.js +13 -7
  593. package/source/class/qx/test/log/Logger.js +19 -29
  594. package/source/class/qx/test/log/RingBuffer.js +14 -25
  595. package/source/class/qx/test/log/__init__.js +4 -4
  596. package/source/class/qx/test/log/fixture/ClassA.js +22 -22
  597. package/source/class/qx/test/log/fixture/ClassB1.js +7 -9
  598. package/source/class/qx/test/log/fixture/ClassB2.js +5 -7
  599. package/source/class/qx/test/log/fixture/ClassC1.js +5 -7
  600. package/source/class/qx/test/log/fixture/ClassC2.js +7 -9
  601. package/source/class/qx/test/mobile/LocaleSwitch.js +29 -36
  602. package/source/class/qx/test/mobile/MobileTestCase.js +39 -49
  603. package/source/class/qx/test/mobile/basic/Atom.js +129 -53
  604. package/source/class/qx/test/mobile/basic/Image.js +41 -31
  605. package/source/class/qx/test/mobile/basic/Label.js +6 -10
  606. package/source/class/qx/test/mobile/container/Carousel.js +41 -45
  607. package/source/class/qx/test/mobile/container/Composite.js +48 -65
  608. package/source/class/qx/test/mobile/container/Drawer.js +42 -29
  609. package/source/class/qx/test/mobile/container/Navigation.js +14 -20
  610. package/source/class/qx/test/mobile/container/Scroll.js +23 -19
  611. package/source/class/qx/test/mobile/core/Widget.js +150 -86
  612. package/source/class/qx/test/mobile/dialog/Menu.js +47 -26
  613. package/source/class/qx/test/mobile/dialog/Popup.js +30 -19
  614. package/source/class/qx/test/mobile/embed/Html.js +5 -8
  615. package/source/class/qx/test/mobile/form/Button.js +15 -13
  616. package/source/class/qx/test/mobile/form/CheckBox.js +21 -17
  617. package/source/class/qx/test/mobile/form/Form.js +37 -24
  618. package/source/class/qx/test/mobile/form/Group.js +5 -9
  619. package/source/class/qx/test/mobile/form/Label.js +11 -13
  620. package/source/class/qx/test/mobile/form/NumberField.js +49 -45
  621. package/source/class/qx/test/mobile/form/RadioButton.js +30 -19
  622. package/source/class/qx/test/mobile/form/SelectBox.js +39 -25
  623. package/source/class/qx/test/mobile/form/SingleRenderer.js +31 -27
  624. package/source/class/qx/test/mobile/form/Slider.js +55 -35
  625. package/source/class/qx/test/mobile/form/TextArea.js +34 -24
  626. package/source/class/qx/test/mobile/form/TextField.js +34 -24
  627. package/source/class/qx/test/mobile/form/ToggleButton.js +10 -14
  628. package/source/class/qx/test/mobile/layout/Card.js +21 -17
  629. package/source/class/qx/test/mobile/layout/HBox.js +25 -20
  630. package/source/class/qx/test/mobile/layout/VBox.js +25 -21
  631. package/source/class/qx/test/mobile/list/List.js +114 -83
  632. package/source/class/qx/test/mobile/navigationbar/NavigationBar.js +5 -9
  633. package/source/class/qx/test/mobile/page/Manager.js +7 -13
  634. package/source/class/qx/test/mobile/page/NavigationPage.js +7 -17
  635. package/source/class/qx/test/mobile/page/Page.js +101 -68
  636. package/source/class/qx/test/mobile/tabbar/TabBar.js +11 -21
  637. package/source/class/qx/test/mobile/toolbar/Toolbar.js +16 -16
  638. package/source/class/qx/test/performance/BaseCall.js +31 -36
  639. package/source/class/qx/test/performance/Event.js +60 -53
  640. package/source/class/qx/test/performance/Object.js +16 -22
  641. package/source/class/qx/test/performance/Property.js +20 -22
  642. package/source/class/qx/test/performance/data/Marshaling.js +25 -30
  643. package/source/class/qx/test/performance/decorator/AbstractDecorator.js +22 -34
  644. package/source/class/qx/test/performance/decorator/Background.js +4 -6
  645. package/source/class/qx/test/performance/decorator/BackgroundScale.js +6 -8
  646. package/source/class/qx/test/performance/decorator/Single.js +4 -6
  647. package/source/class/qx/test/performance/element/Element.js +50 -67
  648. package/source/class/qx/test/performance/widget/AbstractWidget.js +31 -44
  649. package/source/class/qx/test/performance/widget/Button.js +5 -7
  650. package/source/class/qx/test/performance/widget/Label.js +5 -7
  651. package/source/class/qx/test/performance/widget/RichLabel.js +6 -8
  652. package/source/class/qx/test/performance/widget/Widget.js +5 -7
  653. package/source/class/qx/test/performance/widget/WidgetWithDecorator.js +7 -9
  654. package/source/class/qx/test/performance/widget/WidgetWithSingle.js +9 -11
  655. package/source/class/qx/test/renderer/Color.js +22 -49
  656. package/source/class/qx/test/testclasses/BaseClassBoth.js +11 -8
  657. package/source/class/qx/test/testclasses/BaseClassIncluded.js +5 -6
  658. package/source/class/qx/test/testclasses/BaseClassPatched.js +15 -8
  659. package/source/class/qx/test/testclasses/DerivedClassBoth.js +7 -7
  660. package/source/class/qx/test/testclasses/DerivedClassIncluded.js +7 -7
  661. package/source/class/qx/test/testclasses/DerivedClassPatched.js +7 -7
  662. package/source/class/qx/test/testclasses/MMixinOne.js +4 -4
  663. package/source/class/qx/test/testclasses/MMixinTwo.js +2 -2
  664. package/source/class/qx/test/testclasses/RootClass.js +8 -8
  665. package/source/class/qx/test/theme/__init__.js +4 -4
  666. package/source/class/qx/test/theme/manager/Color.js +52 -66
  667. package/source/class/qx/test/theme/manager/Decoration.js +177 -154
  668. package/source/class/qx/test/theme/manager/Font.js +68 -39
  669. package/source/class/qx/test/theme/manager/Icon.js +46 -43
  670. package/source/class/qx/test/theme/manager/Meta.js +121 -110
  671. package/source/class/qx/test/theme/manager/__init__.js +4 -4
  672. package/source/class/qx/test/theme/manager/mock/Appearance.js +17 -23
  673. package/source/class/qx/test/theme/manager/mock/Color.js +7 -9
  674. package/source/class/qx/test/theme/manager/mock/Decoration.js +7 -10
  675. package/source/class/qx/test/theme/manager/mock/Font.js +6 -10
  676. package/source/class/qx/test/theme/simple/Appearance.js +268 -210
  677. package/source/class/qx/test/tool/utils/Utils.js +10 -8
  678. package/source/class/qx/test/toolchain/PrivateOptimization.js +20 -13
  679. package/source/class/qx/test/toolchain/TestRunner.js +12 -12
  680. package/source/class/qx/test/toolchain/VariantOptimization.js +37 -26
  681. package/source/class/qx/test/toolchain/__init__.js +4 -4
  682. package/source/class/qx/test/type/Array.js +8 -12
  683. package/source/class/qx/test/type/BaseArray.js +58 -78
  684. package/source/class/qx/test/type/BaseString.js +27 -65
  685. package/source/class/qx/test/type/__init__.js +4 -4
  686. package/source/class/qx/test/ui/BackgroundColor.js +20 -21
  687. package/source/class/qx/test/ui/ChildrenHandling.js +136 -81
  688. package/source/class/qx/test/ui/Destroy.js +310 -248
  689. package/source/class/qx/test/ui/Focus.js +40 -87
  690. package/source/class/qx/test/ui/Insets.js +14 -18
  691. package/source/class/qx/test/ui/LayoutTestCase.js +99 -92
  692. package/source/class/qx/test/ui/LocaleSwitch.js +37 -41
  693. package/source/class/qx/test/ui/RadioItems.js +11 -22
  694. package/source/class/qx/test/ui/Widget.js +13 -17
  695. package/source/class/qx/test/ui/Window.js +26 -39
  696. package/source/class/qx/test/ui/basic/Atom.js +37 -25
  697. package/source/class/qx/test/ui/basic/Image.js +179 -138
  698. package/source/class/qx/test/ui/basic/Label.js +147 -65
  699. package/source/class/qx/test/ui/basic/__init__.js +4 -4
  700. package/source/class/qx/test/ui/command/Command.js +105 -69
  701. package/source/class/qx/test/ui/command/Group.js +24 -21
  702. package/source/class/qx/test/ui/command/GroupManager.js +7 -12
  703. package/source/class/qx/test/ui/container/Stack.js +26 -36
  704. package/source/class/qx/test/ui/core/AbstractScrollArea.js +84 -67
  705. package/source/class/qx/test/ui/core/Appearance.js +53 -54
  706. package/source/class/qx/test/ui/core/Blocker.js +80 -44
  707. package/source/class/qx/test/ui/core/DragDropScrolling.js +69 -55
  708. package/source/class/qx/test/ui/core/Placement.js +22 -34
  709. package/source/class/qx/test/ui/core/Queues.js +28 -39
  710. package/source/class/qx/test/ui/core/SizeHint.js +32 -76
  711. package/source/class/qx/test/ui/core/SizeHintX.js +8 -15
  712. package/source/class/qx/test/ui/core/SizeHintY.js +8 -15
  713. package/source/class/qx/test/ui/core/Spacer.js +11 -18
  714. package/source/class/qx/test/ui/core/Widget.js +117 -112
  715. package/source/class/qx/test/ui/core/__init__.js +4 -4
  716. package/source/class/qx/test/ui/decoration/LinearGradient.js +18 -14
  717. package/source/class/qx/test/ui/embed/Iframe.js +69 -65
  718. package/source/class/qx/test/ui/embed/__init__.js +4 -4
  719. package/source/class/qx/test/ui/form/AbstractSelectBox.js +11 -16
  720. package/source/class/qx/test/ui/form/AbstractVirtualBox.js +12 -19
  721. package/source/class/qx/test/ui/form/BooleanFormat.js +40 -25
  722. package/source/class/qx/test/ui/form/Color.js +29 -19
  723. package/source/class/qx/test/ui/form/ComboBox.js +39 -25
  724. package/source/class/qx/test/ui/form/Date.js +34 -21
  725. package/source/class/qx/test/ui/form/DateField.js +16 -19
  726. package/source/class/qx/test/ui/form/Executable.js +98 -68
  727. package/source/class/qx/test/ui/form/Field.js +65 -54
  728. package/source/class/qx/test/ui/form/Form.js +211 -123
  729. package/source/class/qx/test/ui/form/FormManager.js +72 -100
  730. package/source/class/qx/test/ui/form/FormValidator.js +549 -399
  731. package/source/class/qx/test/ui/form/Label.js +87 -65
  732. package/source/class/qx/test/ui/form/List.js +19 -19
  733. package/source/class/qx/test/ui/form/MenuButton.js +26 -20
  734. package/source/class/qx/test/ui/form/ModelProperty.js +40 -36
  735. package/source/class/qx/test/ui/form/ModelSelection.js +39 -84
  736. package/source/class/qx/test/ui/form/NumberFormat.js +30 -19
  737. package/source/class/qx/test/ui/form/Placeholder.js +147 -87
  738. package/source/class/qx/test/ui/form/RadioButtonGroup.js +31 -26
  739. package/source/class/qx/test/ui/form/RadioGroup.js +58 -54
  740. package/source/class/qx/test/ui/form/Range.js +63 -28
  741. package/source/class/qx/test/ui/form/Renderer.js +39 -33
  742. package/source/class/qx/test/ui/form/Resetter.js +21 -35
  743. package/source/class/qx/test/ui/form/Slider.js +37 -21
  744. package/source/class/qx/test/ui/form/Spinner.js +9 -5
  745. package/source/class/qx/test/ui/form/SplitButton.js +7 -11
  746. package/source/class/qx/test/ui/form/StringFormat.js +60 -30
  747. package/source/class/qx/test/ui/form/TextArea.js +59 -41
  748. package/source/class/qx/test/ui/form/TextField.js +14 -16
  749. package/source/class/qx/test/ui/form/ToggleButton.js +20 -24
  750. package/source/class/qx/test/ui/form/VirtualSelectBox.js +66 -40
  751. package/source/class/qx/test/ui/form/__init__.js +4 -4
  752. package/source/class/qx/test/ui/form/virtual/VirtualComboBox.js +58 -60
  753. package/source/class/qx/test/ui/form/virtual/VirtualDropDownList.js +120 -110
  754. package/source/class/qx/test/ui/form/virtual/VirtualSelectBox.js +43 -27
  755. package/source/class/qx/test/ui/groupbox/CheckGroupBox.js +13 -18
  756. package/source/class/qx/test/ui/indicator/ProgressBar.js +73 -48
  757. package/source/class/qx/test/ui/layout/Box.js +23 -22
  758. package/source/class/qx/test/ui/layout/Flow.js +233 -153
  759. package/source/class/qx/test/ui/layout/Grid.js +88 -101
  760. package/source/class/qx/test/ui/layout/LayoutItem.js +57 -83
  761. package/source/class/qx/test/ui/layout/LayoutRoot.js +7 -11
  762. package/source/class/qx/test/ui/layout/Util.js +30 -31
  763. package/source/class/qx/test/ui/layout/__init__.js +4 -4
  764. package/source/class/qx/test/ui/list/AbstractListTest.js +13 -21
  765. package/source/class/qx/test/ui/list/Group.js +191 -114
  766. package/source/class/qx/test/ui/list/List.js +189 -132
  767. package/source/class/qx/test/ui/list/MAssert.js +14 -9
  768. package/source/class/qx/test/ui/list/ObjectGroup.js +131 -109
  769. package/source/class/qx/test/ui/list/core/MultiSelection.js +58 -44
  770. package/source/class/qx/test/ui/list/core/SingleSelection.js +43 -43
  771. package/source/class/qx/test/ui/list/fixture/GroupMock.js +6 -9
  772. package/source/class/qx/test/ui/list/fixture/ItemMock.js +9 -13
  773. package/source/class/qx/test/ui/root/Inline.js +22 -20
  774. package/source/class/qx/test/ui/selection/AbstractMultiSelectonTest.js +188 -105
  775. package/source/class/qx/test/ui/selection/AbstractSingleSelectonTest.js +173 -125
  776. package/source/class/qx/test/ui/selection/ListMultiSelection.js +19 -21
  777. package/source/class/qx/test/ui/selection/ListSingleSelection.js +19 -21
  778. package/source/class/qx/test/ui/selection/RadioGroup.js +41 -29
  779. package/source/class/qx/test/ui/selection/SelectBox.js +11 -17
  780. package/source/class/qx/test/ui/selection/Stack.js +22 -27
  781. package/source/class/qx/test/ui/selection/TabView.js +35 -26
  782. package/source/class/qx/test/ui/selection/TreeMultiSelection.js +14 -19
  783. package/source/class/qx/test/ui/selection/TreeSingleSelection.js +20 -24
  784. package/source/class/qx/test/ui/selection/__init__.js +4 -4
  785. package/source/class/qx/test/ui/table/Dispose.js +46 -46
  786. package/source/class/qx/test/ui/table/Table.js +74 -69
  787. package/source/class/qx/test/ui/table/__init__.js +4 -4
  788. package/source/class/qx/test/ui/table/celleditor/AbstractField.js +14 -28
  789. package/source/class/qx/test/ui/table/celleditor/ComboBox.js +11 -18
  790. package/source/class/qx/test/ui/table/celleditor/PasswordField.js +6 -10
  791. package/source/class/qx/test/ui/table/celleditor/SelectBox.js +16 -32
  792. package/source/class/qx/test/ui/table/celleditor/TextField.js +6 -9
  793. package/source/class/qx/test/ui/table/celleditor/__init__.js +4 -4
  794. package/source/class/qx/test/ui/table/columnmodel/Basic.js +130 -129
  795. package/source/class/qx/test/ui/table/model/Filtered.js +51 -36
  796. package/source/class/qx/test/ui/table/model/Simple.js +43 -45
  797. package/source/class/qx/test/ui/table/selection/Model.js +70 -22
  798. package/source/class/qx/test/ui/toolbar/OverflowHandling.js +145 -123
  799. package/source/class/qx/test/ui/toolbar/ToolBar.js +20 -30
  800. package/source/class/qx/test/ui/tree/Tree.js +63 -42
  801. package/source/class/qx/test/ui/tree/TreeFolder.js +44 -46
  802. package/source/class/qx/test/ui/tree/virtual/AbstractTreeTest.js +61 -96
  803. package/source/class/qx/test/ui/tree/virtual/MultiSelection.js +68 -39
  804. package/source/class/qx/test/ui/tree/virtual/OneSelection.js +82 -42
  805. package/source/class/qx/test/ui/tree/virtual/OpenCloseController.js +80 -101
  806. package/source/class/qx/test/ui/tree/virtual/SingleSelection.js +40 -32
  807. package/source/class/qx/test/ui/tree/virtual/Sorting.js +46 -47
  808. package/source/class/qx/test/ui/tree/virtual/Tree.js +267 -191
  809. package/source/class/qx/test/ui/tree/virtual/TreeItem.js +60 -63
  810. package/source/class/qx/test/ui/tree/virtual/UtilTest.js +65 -50
  811. package/source/class/qx/test/ui/tree/virtual/WidgetProvider.js +127 -132
  812. package/source/class/qx/test/ui/virtual/Axis.js +210 -193
  813. package/source/class/qx/test/ui/virtual/Pane.js +287 -190
  814. package/source/class/qx/test/ui/virtual/PaneUpdate.js +71 -77
  815. package/source/class/qx/test/ui/virtual/PointerEventMock.js +10 -13
  816. package/source/class/qx/test/ui/virtual/Scroller.js +29 -39
  817. package/source/class/qx/test/ui/virtual/__init__.js +4 -4
  818. package/source/class/qx/test/ui/virtual/cell/WidgetCell.js +39 -40
  819. package/source/class/qx/test/ui/virtual/layer/CellSpanManager.js +157 -127
  820. package/source/class/qx/test/ui/virtual/layer/Column.js +6 -10
  821. package/source/class/qx/test/ui/virtual/layer/GridLines.js +6 -10
  822. package/source/class/qx/test/ui/virtual/layer/GridLinesHorizontal.js +6 -9
  823. package/source/class/qx/test/ui/virtual/layer/GridLinesVertical.js +6 -9
  824. package/source/class/qx/test/ui/virtual/layer/HtmlCell.js +12 -19
  825. package/source/class/qx/test/ui/virtual/layer/HtmlCellSpan.js +13 -21
  826. package/source/class/qx/test/ui/virtual/layer/LayerMock.js +31 -43
  827. package/source/class/qx/test/ui/virtual/layer/LayerSimple.js +26 -26
  828. package/source/class/qx/test/ui/virtual/layer/LayerTestCase.js +52 -50
  829. package/source/class/qx/test/ui/virtual/layer/Row.js +6 -10
  830. package/source/class/qx/test/ui/virtual/layer/WidgetCell.js +45 -52
  831. package/source/class/qx/test/ui/virtual/layer/WidgetCellSpan.js +71 -48
  832. package/source/class/qx/test/ui/virtual/layer/__init__.js +4 -4
  833. package/source/class/qx/test/ui/virtual/performance/AbstractLayerTest.js +84 -68
  834. package/source/class/qx/test/ui/virtual/performance/DomCell.js +6 -9
  835. package/source/class/qx/test/ui/virtual/performance/DomPoolCell.js +6 -9
  836. package/source/class/qx/test/ui/virtual/performance/HtmlDivCell.js +7 -11
  837. package/source/class/qx/test/ui/virtual/performance/HtmlDivRelative.js +6 -9
  838. package/source/class/qx/test/ui/virtual/performance/HtmlTableCell.js +8 -13
  839. package/source/class/qx/test/ui/virtual/performance/HtmlTableCellNaive.js +8 -13
  840. package/source/class/qx/test/ui/virtual/performance/HtmlTableCssCell.js +8 -19
  841. package/source/class/qx/test/ui/virtual/performance/WidgetCell.js +10 -15
  842. package/source/class/qx/test/ui/virtual/performance/__init__.js +4 -4
  843. package/source/class/qx/test/ui/virtual/performance/layer/DomCell.js +24 -18
  844. package/source/class/qx/test/ui/virtual/performance/layer/DomPoolCell.js +28 -26
  845. package/source/class/qx/test/ui/virtual/performance/layer/HtmlDivRelative.js +13 -17
  846. package/source/class/qx/test/ui/virtual/performance/layer/HtmlTableCell.js +29 -28
  847. package/source/class/qx/test/ui/virtual/performance/layer/HtmlTableCellNaive.js +22 -24
  848. package/source/class/qx/test/ui/virtual/performance/layer/HtmlTableCssCell.js +32 -47
  849. package/source/class/qx/test/ui/virtual/performance/layer/__init__.js +4 -4
  850. package/source/class/qx/test/ui/window/Desktop.js +21 -12
  851. package/source/class/qx/test/util/Base64.js +10 -13
  852. package/source/class/qx/test/util/ColorUtil.js +121 -54
  853. package/source/class/qx/test/util/DateFormat.js +582 -351
  854. package/source/class/qx/test/util/DateMock.js +16 -19
  855. package/source/class/qx/test/util/DeferredCall.js +12 -13
  856. package/source/class/qx/test/util/Delegate.js +28 -26
  857. package/source/class/qx/test/util/DisposeUtil.js +32 -14
  858. package/source/class/qx/test/util/DynamicScriptLoader.js +99 -64
  859. package/source/class/qx/test/util/Fsm.js +16 -18
  860. package/source/class/qx/test/util/Function.js +23 -19
  861. package/source/class/qx/test/util/LibraryManager.js +15 -22
  862. package/source/class/qx/test/util/NumberFormat.js +53 -64
  863. package/source/class/qx/test/util/PropertyUtil.js +35 -35
  864. package/source/class/qx/test/util/Request.js +26 -18
  865. package/source/class/qx/test/util/ResourceManager.js +50 -35
  866. package/source/class/qx/test/util/ResponseParser.js +45 -35
  867. package/source/class/qx/test/util/RingBuffer.js +15 -28
  868. package/source/class/qx/test/util/Serializer.js +210 -153
  869. package/source/class/qx/test/util/StringBuilder.js +7 -13
  870. package/source/class/qx/test/util/StringSplit.js +114 -69
  871. package/source/class/qx/test/util/Uri.js +74 -78
  872. package/source/class/qx/test/util/Validate.js +95 -64
  873. package/source/class/qx/test/util/placement/BestFitAxis.js +17 -26
  874. package/source/class/qx/test/util/placement/DirectAxis.js +8 -11
  875. package/source/class/qx/test/util/placement/KeepAlignAxis.js +17 -26
  876. package/source/class/qx/test/util/placement/Placement.js +607 -244
  877. package/source/class/qx/test/util/placement/__init__.js +4 -4
  878. package/source/class/qx/theme/Classic.js +9 -11
  879. package/source/class/qx/theme/Indigo.js +9 -11
  880. package/source/class/qx/theme/Modern.js +9 -11
  881. package/source/class/qx/theme/Simple.js +9 -11
  882. package/source/class/qx/theme/TangibleDark.js +1 -1
  883. package/source/class/qx/theme/TangibleLight.js +1 -1
  884. package/source/class/qx/theme/__init__.js +4 -4
  885. package/source/class/qx/theme/classic/Appearance.js +995 -1336
  886. package/source/class/qx/theme/classic/Color.js +83 -83
  887. package/source/class/qx/theme/classic/Decoration.js +318 -299
  888. package/source/class/qx/theme/classic/Font.js +38 -25
  889. package/source/class/qx/theme/icon/Oxygen.js +4 -5
  890. package/source/class/qx/theme/icon/Tango.js +4 -5
  891. package/source/class/qx/theme/indigo/Appearance.js +66 -85
  892. package/source/class/qx/theme/indigo/Color.js +65 -66
  893. package/source/class/qx/theme/indigo/Decoration.js +31 -45
  894. package/source/class/qx/theme/indigo/Font.js +20 -29
  895. package/source/class/qx/theme/manager/Appearance.js +58 -91
  896. package/source/class/qx/theme/manager/Color.js +20 -41
  897. package/source/class/qx/theme/manager/Decoration.js +72 -100
  898. package/source/class/qx/theme/manager/Font.js +51 -67
  899. package/source/class/qx/theme/manager/Icon.js +13 -27
  900. package/source/class/qx/theme/manager/Meta.js +27 -44
  901. package/source/class/qx/theme/modern/Appearance.js +1049 -1440
  902. package/source/class/qx/theme/modern/Color.js +155 -166
  903. package/source/class/qx/theme/modern/Decoration.js +471 -598
  904. package/source/class/qx/theme/modern/Font.js +59 -52
  905. package/source/class/qx/theme/simple/Appearance.js +936 -1207
  906. package/source/class/qx/theme/simple/Color.js +62 -62
  907. package/source/class/qx/theme/simple/Decoration.js +456 -678
  908. package/source/class/qx/theme/simple/Font.js +18 -25
  909. package/source/class/qx/theme/simple/Image.js +49 -52
  910. package/source/class/qx/theme/tangible/Appearance.js +1575 -1743
  911. package/source/class/qx/theme/tangible/ColorDark.js +5 -5
  912. package/source/class/qx/theme/tangible/ColorEngine.js +38 -35
  913. package/source/class/qx/theme/tangible/ColorLight.js +7 -7
  914. package/source/class/qx/theme/tangible/Decoration.js +1108 -1300
  915. package/source/class/qx/theme/tangible/Font.js +66 -70
  916. package/source/class/qx/theme/tangible/Image.js +44 -48
  917. package/source/class/qx/tool/cli/Application.js +5 -5
  918. package/source/class/qx/tool/cli/Cli.js +103 -52
  919. package/source/class/qx/tool/cli/ConfigDb.js +18 -15
  920. package/source/class/qx/tool/cli/LibraryApplication.js +1 -1
  921. package/source/class/qx/tool/cli/Watch.js +174 -102
  922. package/source/class/qx/tool/cli/api/AbstractApi.js +17 -18
  923. package/source/class/qx/tool/cli/api/CompilerApi.js +15 -8
  924. package/source/class/qx/tool/cli/api/LibraryApi.js +4 -6
  925. package/source/class/qx/tool/cli/api/Test.js +12 -9
  926. package/source/class/qx/tool/cli/commands/Add.js +12 -15
  927. package/source/class/qx/tool/cli/commands/Clean.js +10 -9
  928. package/source/class/qx/tool/cli/commands/Command.js +18 -13
  929. package/source/class/qx/tool/cli/commands/Compile.js +630 -264
  930. package/source/class/qx/tool/cli/commands/Config.js +75 -42
  931. package/source/class/qx/tool/cli/commands/Create.js +108 -59
  932. package/source/class/qx/tool/cli/commands/Deploy.js +138 -86
  933. package/source/class/qx/tool/cli/commands/Es6ify.js +118 -0
  934. package/source/class/qx/tool/cli/commands/Lint.js +75 -34
  935. package/source/class/qx/tool/cli/commands/Migrate.js +13 -7
  936. package/source/class/qx/tool/cli/commands/Package.js +67 -45
  937. package/source/class/qx/tool/cli/commands/Pkg.js +21 -18
  938. package/source/class/qx/tool/cli/commands/Run.js +57 -37
  939. package/source/class/qx/tool/cli/commands/Serve.js +62 -37
  940. package/source/class/qx/tool/cli/commands/Test.js +40 -18
  941. package/source/class/qx/tool/cli/commands/add/Class.js +66 -28
  942. package/source/class/qx/tool/cli/commands/add/Script.js +54 -27
  943. package/source/class/qx/tool/cli/commands/package/Install.js +265 -103
  944. package/source/class/qx/tool/cli/commands/package/List.js +199 -75
  945. package/source/class/qx/tool/cli/commands/package/Migrate.js +7 -3
  946. package/source/class/qx/tool/cli/commands/package/Publish.js +209 -117
  947. package/source/class/qx/tool/cli/commands/package/Remove.js +40 -17
  948. package/source/class/qx/tool/cli/commands/package/Update.js +115 -48
  949. package/source/class/qx/tool/cli/commands/package/Upgrade.js +41 -20
  950. package/source/class/qx/tool/compiler/Analyser.js +427 -222
  951. package/source/class/qx/tool/compiler/ClassFile.js +831 -401
  952. package/source/class/qx/tool/compiler/Console.js +136 -87
  953. package/source/class/qx/tool/compiler/Es6ify.js +404 -0
  954. package/source/class/qx/tool/compiler/Preprocess.js +28 -25
  955. package/source/class/qx/tool/compiler/app/Application.js +149 -72
  956. package/source/class/qx/tool/compiler/app/Cldr.js +506 -106
  957. package/source/class/qx/tool/compiler/app/Library.js +62 -27
  958. package/source/class/qx/tool/compiler/app/Part.js +10 -12
  959. package/source/class/qx/tool/compiler/app/Translation.js +189 -162
  960. package/source/class/qx/tool/compiler/app/WebFont.js +215 -161
  961. package/source/class/qx/tool/compiler/jsdoc/ChildControlParser.js +3 -3
  962. package/source/class/qx/tool/compiler/jsdoc/CommandParser.js +8 -9
  963. package/source/class/qx/tool/compiler/jsdoc/ParamParser.js +7 -6
  964. package/source/class/qx/tool/compiler/jsdoc/Parser.js +27 -18
  965. package/source/class/qx/tool/compiler/jsdoc/ReturnParser.js +3 -3
  966. package/source/class/qx/tool/compiler/jsdoc/ThrowsParser.js +4 -4
  967. package/source/class/qx/tool/compiler/makers/AbstractAppMaker.js +5 -6
  968. package/source/class/qx/tool/compiler/makers/AppMaker.js +38 -18
  969. package/source/class/qx/tool/compiler/makers/Maker.js +29 -21
  970. package/source/class/qx/tool/compiler/resources/AbstractMatcher.js +8 -8
  971. package/source/class/qx/tool/compiler/resources/Asset.js +123 -61
  972. package/source/class/qx/tool/compiler/resources/ImageLoader.js +18 -8
  973. package/source/class/qx/tool/compiler/resources/Manager.js +156 -93
  974. package/source/class/qx/tool/compiler/resources/MetaLoader.js +5 -3
  975. package/source/class/qx/tool/compiler/resources/ResourceConverter.js +8 -8
  976. package/source/class/qx/tool/compiler/resources/ResourceLoader.js +8 -9
  977. package/source/class/qx/tool/compiler/resources/ScssConverter.js +54 -18
  978. package/source/class/qx/tool/compiler/resources/ScssFile.js +157 -80
  979. package/source/class/qx/tool/compiler/resources/ScssIncludeConverter.js +3 -3
  980. package/source/class/qx/tool/compiler/targets/BuildTarget.js +23 -13
  981. package/source/class/qx/tool/compiler/targets/SourceCodeCopier.js +29 -9
  982. package/source/class/qx/tool/compiler/targets/SourceTarget.js +2 -2
  983. package/source/class/qx/tool/compiler/targets/Target.js +292 -188
  984. package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +163 -103
  985. package/source/class/qx/tool/compiler/targets/meta/AbstractJavascriptMeta.js +48 -23
  986. package/source/class/qx/tool/compiler/targets/meta/ApplicationMeta.js +75 -62
  987. package/source/class/qx/tool/compiler/targets/meta/BootJs.js +49 -29
  988. package/source/class/qx/tool/compiler/targets/meta/Javascript.js +6 -7
  989. package/source/class/qx/tool/compiler/targets/meta/Package.js +54 -51
  990. package/source/class/qx/tool/compiler/targets/meta/PackageJavascript.js +41 -21
  991. package/source/class/qx/tool/compiler/targets/meta/Part.js +9 -10
  992. package/source/class/qx/tool/compiler/targets/meta/PolyfillJs.js +10 -5
  993. package/source/class/qx/tool/compiler/targets/meta/Uglify.js +35 -23
  994. package/source/class/qx/tool/config/Abstract.js +61 -25
  995. package/source/class/qx/tool/config/Compile.js +3 -2
  996. package/source/class/qx/tool/config/Lockfile.js +3 -2
  997. package/source/class/qx/tool/config/Manifest.js +3 -2
  998. package/source/class/qx/tool/config/Registry.js +4 -3
  999. package/source/class/qx/tool/config/Utils.js +88 -37
  1000. package/source/class/qx/tool/migration/BaseMigration.js +67 -25
  1001. package/source/class/qx/tool/migration/M6_0_0.js +96 -46
  1002. package/source/class/qx/tool/migration/M7_0_0.js +12 -6
  1003. package/source/class/qx/tool/migration/Runner.js +28 -14
  1004. package/source/class/qx/tool/utils/IndexedArray.js +15 -18
  1005. package/source/class/qx/tool/utils/Json.js +35 -14
  1006. package/source/class/qx/tool/utils/LogManager.js +50 -26
  1007. package/source/class/qx/tool/utils/Logger.js +11 -12
  1008. package/source/class/qx/tool/utils/Promisify.js +45 -49
  1009. package/source/class/qx/tool/utils/Utils.js +63 -48
  1010. package/source/class/qx/tool/utils/Values.js +4 -7
  1011. package/source/class/qx/tool/utils/Website.js +82 -29
  1012. package/source/class/qx/tool/utils/files/FindFiles.js +37 -33
  1013. package/source/class/qx/tool/utils/files/Utils.js +74 -54
  1014. package/source/class/qx/tool/utils/json/Parser.js +163 -54
  1015. package/source/class/qx/tool/utils/json/Stringify.js +87 -72
  1016. package/source/class/qx/tool/utils/json/Tokenizer.js +64 -39
  1017. package/source/class/qx/tool/utils/json/Writer.js +20 -21
  1018. package/source/class/qx/type/Array.js +19 -41
  1019. package/source/class/qx/type/BaseArray.js +136 -151
  1020. package/source/class/qx/type/BaseError.js +17 -34
  1021. package/source/class/qx/type/BaseString.js +104 -121
  1022. package/source/class/qx/type/__init__.js +3 -3
  1023. package/source/class/qx/ui/basic/Atom.js +75 -109
  1024. package/source/class/qx/ui/basic/Image.js +283 -319
  1025. package/source/class/qx/ui/basic/Label.js +161 -208
  1026. package/source/class/qx/ui/command/Command.js +51 -86
  1027. package/source/class/qx/ui/command/Group.js +43 -50
  1028. package/source/class/qx/ui/command/GroupManager.js +50 -53
  1029. package/source/class/qx/ui/container/Composite.js +15 -29
  1030. package/source/class/qx/ui/container/Resizer.js +7 -11
  1031. package/source/class/qx/ui/container/Scroll.js +10 -21
  1032. package/source/class/qx/ui/container/SlideBar.js +76 -119
  1033. package/source/class/qx/ui/container/Stack.js +27 -54
  1034. package/source/class/qx/ui/control/ColorPopup.js +109 -130
  1035. package/source/class/qx/ui/control/ColorSelector.js +334 -301
  1036. package/source/class/qx/ui/control/DateChooser.js +143 -177
  1037. package/source/class/qx/ui/core/Blocker.js +91 -127
  1038. package/source/class/qx/ui/core/ColumnData.js +16 -34
  1039. package/source/class/qx/ui/core/DragDropCursor.js +17 -30
  1040. package/source/class/qx/ui/core/DragDropScrolling.js +8 -14
  1041. package/source/class/qx/ui/core/EventHandler.js +108 -132
  1042. package/source/class/qx/ui/core/FocusHandler.js +78 -127
  1043. package/source/class/qx/ui/core/IMultiSelection.js +5 -9
  1044. package/source/class/qx/ui/core/ISingleSelection.js +10 -16
  1045. package/source/class/qx/ui/core/ISingleSelectionProvider.js +4 -6
  1046. package/source/class/qx/ui/core/LayoutItem.js +190 -306
  1047. package/source/class/qx/ui/core/MBlocker.js +22 -38
  1048. package/source/class/qx/ui/core/MChildrenHandling.js +14 -29
  1049. package/source/class/qx/ui/core/MContentPadding.js +50 -69
  1050. package/source/class/qx/ui/core/MDragDropScrolling.js +82 -80
  1051. package/source/class/qx/ui/core/MExecutable.js +27 -52
  1052. package/source/class/qx/ui/core/MLayoutHandling.js +6 -14
  1053. package/source/class/qx/ui/core/MMovable.js +64 -80
  1054. package/source/class/qx/ui/core/MMultiSelectionHandling.js +68 -87
  1055. package/source/class/qx/ui/core/MNativeOverflow.js +16 -26
  1056. package/source/class/qx/ui/core/MPlacement.js +171 -170
  1057. package/source/class/qx/ui/core/MRemoteChildrenHandling.js +14 -27
  1058. package/source/class/qx/ui/core/MRemoteLayoutHandling.js +4 -7
  1059. package/source/class/qx/ui/core/MResizable.js +142 -175
  1060. package/source/class/qx/ui/core/MSingleSelectionHandling.js +40 -45
  1061. package/source/class/qx/ui/core/SingleSelectionManager.js +41 -60
  1062. package/source/class/qx/ui/core/Spacer.js +12 -22
  1063. package/source/class/qx/ui/core/Widget.js +628 -983
  1064. package/source/class/qx/ui/core/queue/Appearance.js +15 -24
  1065. package/source/class/qx/ui/core/queue/Dispose.js +7 -16
  1066. package/source/class/qx/ui/core/queue/Layout.js +44 -71
  1067. package/source/class/qx/ui/core/queue/Manager.js +140 -133
  1068. package/source/class/qx/ui/core/queue/Visibility.js +21 -39
  1069. package/source/class/qx/ui/core/queue/Widget.js +15 -26
  1070. package/source/class/qx/ui/core/scroll/AbstractScrollArea.js +124 -162
  1071. package/source/class/qx/ui/core/scroll/IScrollBar.js +13 -24
  1072. package/source/class/qx/ui/core/scroll/MRoll.js +14 -19
  1073. package/source/class/qx/ui/core/scroll/MScrollBarFactory.js +3 -6
  1074. package/source/class/qx/ui/core/scroll/MWheelHandling.js +10 -12
  1075. package/source/class/qx/ui/core/scroll/NativeScrollBar.js +101 -125
  1076. package/source/class/qx/ui/core/scroll/ScrollBar.js +86 -130
  1077. package/source/class/qx/ui/core/scroll/ScrollPane.js +95 -134
  1078. package/source/class/qx/ui/core/scroll/ScrollSlider.js +13 -19
  1079. package/source/class/qx/ui/core/scroll/__init__.js +4 -4
  1080. package/source/class/qx/ui/core/selection/Abstract.js +255 -456
  1081. package/source/class/qx/ui/core/selection/ScrollArea.js +35 -73
  1082. package/source/class/qx/ui/core/selection/Widget.js +57 -120
  1083. package/source/class/qx/ui/decoration/Abstract.js +11 -20
  1084. package/source/class/qx/ui/decoration/Decorator.js +56 -55
  1085. package/source/class/qx/ui/decoration/IDecorator.js +5 -11
  1086. package/source/class/qx/ui/decoration/MBackgroundColor.js +13 -20
  1087. package/source/class/qx/ui/decoration/MBackgroundImage.js +82 -77
  1088. package/source/class/qx/ui/decoration/MBorderImage.js +72 -94
  1089. package/source/class/qx/ui/decoration/MBorderRadius.js +35 -38
  1090. package/source/class/qx/ui/decoration/MBoxShadow.js +61 -55
  1091. package/source/class/qx/ui/decoration/MDoubleBorder.js +157 -155
  1092. package/source/class/qx/ui/decoration/MLinearBackgroundGradient.js +169 -89
  1093. package/source/class/qx/ui/decoration/MSingleBorder.js +138 -124
  1094. package/source/class/qx/ui/decoration/MTransition.js +46 -42
  1095. package/source/class/qx/ui/decoration/__init__.js +2 -2
  1096. package/source/class/qx/ui/embed/AbstractIframe.js +37 -55
  1097. package/source/class/qx/ui/embed/Canvas.js +34 -66
  1098. package/source/class/qx/ui/embed/Html.js +46 -70
  1099. package/source/class/qx/ui/embed/Iframe.js +178 -158
  1100. package/source/class/qx/ui/embed/ThemedIframe.js +91 -135
  1101. package/source/class/qx/ui/form/AbstractField.js +262 -303
  1102. package/source/class/qx/ui/form/AbstractSelectBox.js +65 -87
  1103. package/source/class/qx/ui/form/Button.js +35 -73
  1104. package/source/class/qx/ui/form/CheckBox.js +26 -48
  1105. package/source/class/qx/ui/form/CheckedList.js +41 -25
  1106. package/source/class/qx/ui/form/CheckedSelectBox.js +97 -62
  1107. package/source/class/qx/ui/form/ComboBox.js +93 -121
  1108. package/source/class/qx/ui/form/DateField.js +140 -181
  1109. package/source/class/qx/ui/form/Form.js +50 -69
  1110. package/source/class/qx/ui/form/HoverButton.js +37 -54
  1111. package/source/class/qx/ui/form/IArrayForm.js +8 -16
  1112. package/source/class/qx/ui/form/IBooleanForm.js +8 -16
  1113. package/source/class/qx/ui/form/IColorForm.js +8 -16
  1114. package/source/class/qx/ui/form/IDateForm.js +8 -16
  1115. package/source/class/qx/ui/form/IExecutable.js +7 -14
  1116. package/source/class/qx/ui/form/IField.js +7 -14
  1117. package/source/class/qx/ui/form/IForm.js +17 -32
  1118. package/source/class/qx/ui/form/IListItem.js +1 -4
  1119. package/source/class/qx/ui/form/IModel.js +7 -15
  1120. package/source/class/qx/ui/form/IModelForm.js +8 -16
  1121. package/source/class/qx/ui/form/IModelSelection.js +4 -8
  1122. package/source/class/qx/ui/form/INumberForm.js +8 -15
  1123. package/source/class/qx/ui/form/IRadioItem.js +8 -17
  1124. package/source/class/qx/ui/form/IRange.js +10 -20
  1125. package/source/class/qx/ui/form/IStringForm.js +8 -16
  1126. package/source/class/qx/ui/form/List.js +82 -122
  1127. package/source/class/qx/ui/form/ListItem.js +21 -38
  1128. package/source/class/qx/ui/form/MForm.js +35 -41
  1129. package/source/class/qx/ui/form/MModelProperty.js +9 -14
  1130. package/source/class/qx/ui/form/MModelSelection.js +30 -32
  1131. package/source/class/qx/ui/form/MenuButton.js +44 -75
  1132. package/source/class/qx/ui/form/PasswordField.js +4 -6
  1133. package/source/class/qx/ui/form/RadioButton.js +36 -72
  1134. package/source/class/qx/ui/form/RadioButtonGroup.js +67 -82
  1135. package/source/class/qx/ui/form/RadioGroup.js +92 -127
  1136. package/source/class/qx/ui/form/RepeatButton.js +57 -106
  1137. package/source/class/qx/ui/form/Resetter.js +19 -29
  1138. package/source/class/qx/ui/form/SelectBox.js +56 -104
  1139. package/source/class/qx/ui/form/Slider.js +202 -269
  1140. package/source/class/qx/ui/form/Spinner.js +173 -217
  1141. package/source/class/qx/ui/form/SplitButton.js +73 -115
  1142. package/source/class/qx/ui/form/Tag.js +7 -8
  1143. package/source/class/qx/ui/form/TextArea.js +147 -153
  1144. package/source/class/qx/ui/form/TextField.js +37 -46
  1145. package/source/class/qx/ui/form/ToggleButton.js +54 -90
  1146. package/source/class/qx/ui/form/VirtualComboBox.js +73 -113
  1147. package/source/class/qx/ui/form/VirtualSelectBox.js +264 -274
  1148. package/source/class/qx/ui/form/core/AbstractVirtualBox.js +117 -157
  1149. package/source/class/qx/ui/form/core/VirtualDropDownList.js +101 -144
  1150. package/source/class/qx/ui/form/renderer/AbstractRenderer.js +48 -55
  1151. package/source/class/qx/ui/form/renderer/Double.js +25 -34
  1152. package/source/class/qx/ui/form/renderer/IFormRenderer.js +4 -8
  1153. package/source/class/qx/ui/form/renderer/Single.js +25 -35
  1154. package/source/class/qx/ui/form/renderer/SinglePlaceholder.js +12 -11
  1155. package/source/class/qx/ui/form/renderer/__init__.js +5 -5
  1156. package/source/class/qx/ui/form/validation/AsyncValidator.js +13 -19
  1157. package/source/class/qx/ui/form/validation/Manager.js +74 -108
  1158. package/source/class/qx/ui/form/validation/__init__.js +6 -6
  1159. package/source/class/qx/ui/groupbox/CheckGroupBox.js +30 -47
  1160. package/source/class/qx/ui/groupbox/GroupBox.js +36 -75
  1161. package/source/class/qx/ui/groupbox/RadioGroupBox.js +29 -59
  1162. package/source/class/qx/ui/groupbox/__init__.js +3 -3
  1163. package/source/class/qx/ui/indicator/ProgressBar.js +29 -46
  1164. package/source/class/qx/ui/layout/Abstract.js +28 -53
  1165. package/source/class/qx/ui/layout/Atom.js +95 -111
  1166. package/source/class/qx/ui/layout/Basic.js +29 -30
  1167. package/source/class/qx/ui/layout/Canvas.js +62 -99
  1168. package/source/class/qx/ui/layout/Dock.js +266 -250
  1169. package/source/class/qx/ui/layout/Flow.js +50 -76
  1170. package/source/class/qx/ui/layout/Grid.js +268 -343
  1171. package/source/class/qx/ui/layout/Grow.js +26 -32
  1172. package/source/class/qx/ui/layout/HBox.js +137 -153
  1173. package/source/class/qx/ui/layout/LineSizeIterator.js +19 -28
  1174. package/source/class/qx/ui/layout/Util.js +91 -120
  1175. package/source/class/qx/ui/layout/VBox.js +125 -147
  1176. package/source/class/qx/ui/list/List.js +148 -262
  1177. package/source/class/qx/ui/list/core/IListDelegate.js +13 -26
  1178. package/source/class/qx/ui/list/core/MWidgetController.js +51 -78
  1179. package/source/class/qx/ui/list/provider/IListProvider.js +15 -28
  1180. package/source/class/qx/ui/list/provider/WidgetProvider.js +52 -84
  1181. package/source/class/qx/ui/menu/AbstractButton.js +118 -127
  1182. package/source/class/qx/ui/menu/Button.js +11 -25
  1183. package/source/class/qx/ui/menu/ButtonLayout.js +49 -37
  1184. package/source/class/qx/ui/menu/CheckBox.js +21 -46
  1185. package/source/class/qx/ui/menu/Layout.js +45 -51
  1186. package/source/class/qx/ui/menu/Manager.js +131 -209
  1187. package/source/class/qx/ui/menu/Menu.js +164 -259
  1188. package/source/class/qx/ui/menu/MenuSlideBar.js +13 -20
  1189. package/source/class/qx/ui/menu/RadioButton.js +29 -51
  1190. package/source/class/qx/ui/menu/Separator.js +9 -16
  1191. package/source/class/qx/ui/menubar/Button.js +23 -41
  1192. package/source/class/qx/ui/menubar/MenuBar.js +9 -13
  1193. package/source/class/qx/ui/mobile/__init__.js +5 -5
  1194. package/source/class/qx/ui/mobile/basic/Atom.js +79 -101
  1195. package/source/class/qx/ui/mobile/basic/Image.js +80 -86
  1196. package/source/class/qx/ui/mobile/basic/Label.js +38 -54
  1197. package/source/class/qx/ui/mobile/container/Carousel.js +281 -188
  1198. package/source/class/qx/ui/mobile/container/Collapsible.js +57 -77
  1199. package/source/class/qx/ui/mobile/container/Composite.js +9 -13
  1200. package/source/class/qx/ui/mobile/container/Drawer.js +167 -164
  1201. package/source/class/qx/ui/mobile/container/INavigation.js +6 -10
  1202. package/source/class/qx/ui/mobile/container/IScrollDelegate.js +4 -6
  1203. package/source/class/qx/ui/mobile/container/MIScroll.js +108 -100
  1204. package/source/class/qx/ui/mobile/container/MNativeScroll.js +118 -102
  1205. package/source/class/qx/ui/mobile/container/MScrollHandling.js +8 -7
  1206. package/source/class/qx/ui/mobile/container/Navigation.js +46 -65
  1207. package/source/class/qx/ui/mobile/container/Scroll.js +140 -151
  1208. package/source/class/qx/ui/mobile/control/Picker.js +125 -112
  1209. package/source/class/qx/ui/mobile/core/Blocker.js +62 -71
  1210. package/source/class/qx/ui/mobile/core/DomUpdatedHandler.js +24 -60
  1211. package/source/class/qx/ui/mobile/core/EventHandler.js +158 -138
  1212. package/source/class/qx/ui/mobile/core/MChildrenHandling.js +14 -30
  1213. package/source/class/qx/ui/mobile/core/MLayoutHandling.js +6 -14
  1214. package/source/class/qx/ui/mobile/core/MResize.js +16 -30
  1215. package/source/class/qx/ui/mobile/core/Root.js +90 -80
  1216. package/source/class/qx/ui/mobile/core/Widget.js +351 -479
  1217. package/source/class/qx/ui/mobile/dialog/BusyIndicator.js +31 -46
  1218. package/source/class/qx/ui/mobile/dialog/Manager.js +127 -89
  1219. package/source/class/qx/ui/mobile/dialog/Menu.js +111 -122
  1220. package/source/class/qx/ui/mobile/dialog/Popup.js +202 -194
  1221. package/source/class/qx/ui/mobile/embed/Canvas.js +12 -25
  1222. package/source/class/qx/ui/mobile/embed/Html.js +13 -27
  1223. package/source/class/qx/ui/mobile/form/Button.js +12 -18
  1224. package/source/class/qx/ui/mobile/form/CheckBox.js +20 -35
  1225. package/source/class/qx/ui/mobile/form/Form.js +31 -51
  1226. package/source/class/qx/ui/mobile/form/Group.js +18 -30
  1227. package/source/class/qx/ui/mobile/form/Input.js +30 -35
  1228. package/source/class/qx/ui/mobile/form/Label.js +76 -79
  1229. package/source/class/qx/ui/mobile/form/MState.js +20 -27
  1230. package/source/class/qx/ui/mobile/form/MText.js +27 -47
  1231. package/source/class/qx/ui/mobile/form/MValue.js +66 -94
  1232. package/source/class/qx/ui/mobile/form/NumberField.js +30 -47
  1233. package/source/class/qx/ui/mobile/form/PasswordField.js +8 -14
  1234. package/source/class/qx/ui/mobile/form/RadioButton.js +25 -46
  1235. package/source/class/qx/ui/mobile/form/RadioGroup.js +2 -4
  1236. package/source/class/qx/ui/mobile/form/Row.js +14 -29
  1237. package/source/class/qx/ui/mobile/form/SelectBox.js +77 -104
  1238. package/source/class/qx/ui/mobile/form/Slider.js +116 -144
  1239. package/source/class/qx/ui/mobile/form/TextArea.js +26 -39
  1240. package/source/class/qx/ui/mobile/form/TextField.js +18 -28
  1241. package/source/class/qx/ui/mobile/form/Title.js +11 -19
  1242. package/source/class/qx/ui/mobile/form/ToggleButton.js +35 -58
  1243. package/source/class/qx/ui/mobile/form/__init__.js +1 -1
  1244. package/source/class/qx/ui/mobile/form/renderer/AbstractRenderer.js +24 -31
  1245. package/source/class/qx/ui/mobile/form/renderer/Single.js +59 -85
  1246. package/source/class/qx/ui/mobile/form/renderer/SinglePlaceholder.js +8 -16
  1247. package/source/class/qx/ui/mobile/layout/Abstract.js +48 -85
  1248. package/source/class/qx/ui/mobile/layout/AbstractBox.js +93 -125
  1249. package/source/class/qx/ui/mobile/layout/Card.js +133 -116
  1250. package/source/class/qx/ui/mobile/layout/CardAnimation.js +95 -72
  1251. package/source/class/qx/ui/mobile/layout/HBox.js +9 -12
  1252. package/source/class/qx/ui/mobile/layout/VBox.js +9 -12
  1253. package/source/class/qx/ui/mobile/list/IListDelegate.js +5 -9
  1254. package/source/class/qx/ui/mobile/list/List.js +172 -183
  1255. package/source/class/qx/ui/mobile/list/provider/Provider.js +58 -65
  1256. package/source/class/qx/ui/mobile/list/renderer/Abstract.js +54 -82
  1257. package/source/class/qx/ui/mobile/list/renderer/Default.js +39 -55
  1258. package/source/class/qx/ui/mobile/list/renderer/group/Abstract.js +20 -33
  1259. package/source/class/qx/ui/mobile/list/renderer/group/Default.js +29 -45
  1260. package/source/class/qx/ui/mobile/navigationbar/BackButton.js +11 -15
  1261. package/source/class/qx/ui/mobile/navigationbar/Button.js +11 -15
  1262. package/source/class/qx/ui/mobile/navigationbar/NavigationBar.js +23 -29
  1263. package/source/class/qx/ui/mobile/navigationbar/Title.js +12 -20
  1264. package/source/class/qx/ui/mobile/page/Manager.js +195 -169
  1265. package/source/class/qx/ui/mobile/page/NavigationPage.js +132 -196
  1266. package/source/class/qx/ui/mobile/page/Page.js +109 -148
  1267. package/source/class/qx/ui/mobile/tabbar/TabBar.js +41 -62
  1268. package/source/class/qx/ui/mobile/tabbar/TabButton.js +19 -28
  1269. package/source/class/qx/ui/mobile/toolbar/Button.js +7 -11
  1270. package/source/class/qx/ui/mobile/toolbar/Separator.js +11 -15
  1271. package/source/class/qx/ui/mobile/toolbar/ToolBar.js +30 -39
  1272. package/source/class/qx/ui/popup/Manager.js +41 -53
  1273. package/source/class/qx/ui/popup/Popup.js +22 -47
  1274. package/source/class/qx/ui/popup/__init__.js +32 -32
  1275. package/source/class/qx/ui/progressive/Progressive.js +96 -137
  1276. package/source/class/qx/ui/progressive/State.js +12 -19
  1277. package/source/class/qx/ui/progressive/headfoot/Abstract.js +10 -15
  1278. package/source/class/qx/ui/progressive/headfoot/Null.js +4 -7
  1279. package/source/class/qx/ui/progressive/headfoot/Progress.js +67 -69
  1280. package/source/class/qx/ui/progressive/headfoot/TableHeading.js +42 -54
  1281. package/source/class/qx/ui/progressive/model/Abstract.js +8 -15
  1282. package/source/class/qx/ui/progressive/model/Default.js +17 -29
  1283. package/source/class/qx/ui/progressive/renderer/Abstract.js +6 -11
  1284. package/source/class/qx/ui/progressive/renderer/FunctionCaller.js +4 -7
  1285. package/source/class/qx/ui/progressive/renderer/table/Row.js +215 -242
  1286. package/source/class/qx/ui/progressive/renderer/table/Widths.js +32 -47
  1287. package/source/class/qx/ui/progressive/renderer/table/cell/Abstract.js +17 -24
  1288. package/source/class/qx/ui/progressive/renderer/table/cell/Boolean.js +68 -79
  1289. package/source/class/qx/ui/progressive/renderer/table/cell/Conditional.js +146 -199
  1290. package/source/class/qx/ui/progressive/renderer/table/cell/Default.js +14 -32
  1291. package/source/class/qx/ui/progressive/renderer/table/cell/Html.js +2 -3
  1292. package/source/class/qx/ui/progressive/renderer/table/cell/Icon.js +38 -53
  1293. package/source/class/qx/ui/progressive/renderer/table/cell/Image.js +20 -42
  1294. package/source/class/qx/ui/progressive/renderer/table/cell/String.js +6 -12
  1295. package/source/class/qx/ui/progressive/structure/Abstract.js +14 -26
  1296. package/source/class/qx/ui/progressive/structure/Default.js +20 -40
  1297. package/source/class/qx/ui/root/Abstract.js +73 -90
  1298. package/source/class/qx/ui/root/Application.js +57 -61
  1299. package/source/class/qx/ui/root/Inline.js +78 -64
  1300. package/source/class/qx/ui/root/Page.js +25 -46
  1301. package/source/class/qx/ui/splitpane/Blocker.js +20 -30
  1302. package/source/class/qx/ui/splitpane/HLayout.js +53 -49
  1303. package/source/class/qx/ui/splitpane/Pane.js +112 -150
  1304. package/source/class/qx/ui/splitpane/Slider.js +9 -15
  1305. package/source/class/qx/ui/splitpane/Splitter.js +27 -46
  1306. package/source/class/qx/ui/splitpane/VLayout.js +53 -49
  1307. package/source/class/qx/ui/style/Stylesheet.js +12 -19
  1308. package/source/class/qx/ui/table/ICellEditorFactory.js +4 -8
  1309. package/source/class/qx/ui/table/ICellRenderer.js +3 -7
  1310. package/source/class/qx/ui/table/IColumnMenuButton.js +6 -11
  1311. package/source/class/qx/ui/table/IColumnMenuItem.js +5 -8
  1312. package/source/class/qx/ui/table/IHeaderRenderer.js +4 -8
  1313. package/source/class/qx/ui/table/IRowRenderer.js +6 -12
  1314. package/source/class/qx/ui/table/ITableModel.js +23 -41
  1315. package/source/class/qx/ui/table/MTableContextMenu.js +25 -28
  1316. package/source/class/qx/ui/table/Table.js +556 -748
  1317. package/source/class/qx/ui/table/celleditor/AbstractField.js +16 -26
  1318. package/source/class/qx/ui/table/celleditor/CheckBox.js +15 -16
  1319. package/source/class/qx/ui/table/celleditor/ComboBox.js +24 -34
  1320. package/source/class/qx/ui/table/celleditor/Dynamic.js +25 -32
  1321. package/source/class/qx/ui/table/celleditor/PasswordField.js +4 -8
  1322. package/source/class/qx/ui/table/celleditor/SelectBox.js +29 -38
  1323. package/source/class/qx/ui/table/celleditor/TextField.js +9 -14
  1324. package/source/class/qx/ui/table/cellrenderer/Abstract.js +78 -73
  1325. package/source/class/qx/ui/table/cellrenderer/AbstractImage.js +65 -84
  1326. package/source/class/qx/ui/table/cellrenderer/Boolean.js +36 -50
  1327. package/source/class/qx/ui/table/cellrenderer/Conditional.js +74 -63
  1328. package/source/class/qx/ui/table/cellrenderer/Date.js +12 -22
  1329. package/source/class/qx/ui/table/cellrenderer/Debug.js +9 -9
  1330. package/source/class/qx/ui/table/cellrenderer/Default.js +30 -52
  1331. package/source/class/qx/ui/table/cellrenderer/Dynamic.js +13 -24
  1332. package/source/class/qx/ui/table/cellrenderer/Html.js +6 -8
  1333. package/source/class/qx/ui/table/cellrenderer/Image.js +13 -26
  1334. package/source/class/qx/ui/table/cellrenderer/Number.js +13 -24
  1335. package/source/class/qx/ui/table/cellrenderer/Password.js +8 -11
  1336. package/source/class/qx/ui/table/cellrenderer/Replace.js +27 -42
  1337. package/source/class/qx/ui/table/cellrenderer/String.js +5 -7
  1338. package/source/class/qx/ui/table/columnmenu/Button.js +19 -29
  1339. package/source/class/qx/ui/table/columnmenu/MenuItem.js +11 -19
  1340. package/source/class/qx/ui/table/columnmenu/__init__.js +4 -4
  1341. package/source/class/qx/ui/table/columnmenu/grid/__init__.js +4 -4
  1342. package/source/class/qx/ui/table/columnmenu/simple/__init__.js +4 -4
  1343. package/source/class/qx/ui/table/columnmodel/Basic.js +193 -215
  1344. package/source/class/qx/ui/table/columnmodel/Resize.js +65 -111
  1345. package/source/class/qx/ui/table/columnmodel/resizebehavior/Abstract.js +17 -24
  1346. package/source/class/qx/ui/table/columnmodel/resizebehavior/Default.js +66 -117
  1347. package/source/class/qx/ui/table/headerrenderer/Default.js +25 -46
  1348. package/source/class/qx/ui/table/headerrenderer/HeaderCell.js +36 -51
  1349. package/source/class/qx/ui/table/headerrenderer/Icon.js +11 -27
  1350. package/source/class/qx/ui/table/model/Abstract.js +52 -62
  1351. package/source/class/qx/ui/table/model/Filtered.js +121 -153
  1352. package/source/class/qx/ui/table/model/Remote.js +166 -271
  1353. package/source/class/qx/ui/table/model/Simple.js +225 -252
  1354. package/source/class/qx/ui/table/pane/CellEvent.js +25 -32
  1355. package/source/class/qx/ui/table/pane/Clipper.js +8 -12
  1356. package/source/class/qx/ui/table/pane/FocusIndicator.js +42 -48
  1357. package/source/class/qx/ui/table/pane/Header.js +45 -86
  1358. package/source/class/qx/ui/table/pane/Model.js +73 -96
  1359. package/source/class/qx/ui/table/pane/Pane.js +132 -190
  1360. package/source/class/qx/ui/table/pane/Scroller.js +542 -659
  1361. package/source/class/qx/ui/table/rowrenderer/Default.js +75 -86
  1362. package/source/class/qx/ui/table/selection/Manager.js +23 -57
  1363. package/source/class/qx/ui/table/selection/Model.js +89 -179
  1364. package/source/class/qx/ui/tabview/Page.js +48 -79
  1365. package/source/class/qx/ui/tabview/TabButton.js +45 -72
  1366. package/source/class/qx/ui/tabview/TabView.js +94 -141
  1367. package/source/class/qx/ui/toolbar/Button.js +13 -18
  1368. package/source/class/qx/ui/toolbar/CheckBox.js +13 -17
  1369. package/source/class/qx/ui/toolbar/MenuButton.js +18 -34
  1370. package/source/class/qx/ui/toolbar/Part.js +42 -64
  1371. package/source/class/qx/ui/toolbar/PartContainer.js +19 -28
  1372. package/source/class/qx/ui/toolbar/RadioButton.js +12 -19
  1373. package/source/class/qx/ui/toolbar/Separator.js +15 -25
  1374. package/source/class/qx/ui/toolbar/SplitButton.js +19 -28
  1375. package/source/class/qx/ui/toolbar/ToolBar.js +182 -232
  1376. package/source/class/qx/ui/tooltip/Manager.js +125 -123
  1377. package/source/class/qx/ui/tooltip/ToolTip.js +49 -79
  1378. package/source/class/qx/ui/tooltip/__init__.js +23 -23
  1379. package/source/class/qx/ui/tree/Tree.js +95 -148
  1380. package/source/class/qx/ui/tree/TreeFile.js +8 -15
  1381. package/source/class/qx/ui/tree/TreeFolder.js +8 -15
  1382. package/source/class/qx/ui/tree/VirtualTree.js +207 -333
  1383. package/source/class/qx/ui/tree/VirtualTreeItem.js +30 -45
  1384. package/source/class/qx/ui/tree/__init__.js +50 -50
  1385. package/source/class/qx/ui/tree/core/AbstractItem.js +98 -152
  1386. package/source/class/qx/ui/tree/core/AbstractTreeItem.js +83 -137
  1387. package/source/class/qx/ui/tree/core/FolderOpenButton.js +15 -34
  1388. package/source/class/qx/ui/tree/core/IVirtualTree.js +13 -33
  1389. package/source/class/qx/ui/tree/core/IVirtualTreeDelegate.js +9 -16
  1390. package/source/class/qx/ui/tree/core/MWidgetController.js +58 -69
  1391. package/source/class/qx/ui/tree/core/OpenCloseController.js +29 -35
  1392. package/source/class/qx/ui/tree/core/Util.js +12 -16
  1393. package/source/class/qx/ui/tree/provider/IVirtualTreeProvider.js +10 -23
  1394. package/source/class/qx/ui/tree/provider/WidgetProvider.js +39 -67
  1395. package/source/class/qx/ui/tree/selection/SelectionManager.js +27 -41
  1396. package/source/class/qx/ui/treevirtual/DefaultDataCellRenderer.js +2 -3
  1397. package/source/class/qx/ui/treevirtual/MFamily.js +26 -63
  1398. package/source/class/qx/ui/treevirtual/MNode.js +43 -103
  1399. package/source/class/qx/ui/treevirtual/MTreePrimitive.js +41 -52
  1400. package/source/class/qx/ui/treevirtual/SelectionManager.js +44 -58
  1401. package/source/class/qx/ui/treevirtual/SimpleTreeDataCellRenderer.js +172 -229
  1402. package/source/class/qx/ui/treevirtual/SimpleTreeDataModel.js +256 -367
  1403. package/source/class/qx/ui/treevirtual/SimpleTreeDataRowRenderer.js +8 -18
  1404. package/source/class/qx/ui/treevirtual/TreeVirtual.js +155 -250
  1405. package/source/class/qx/ui/treevirtual/celleditor/NodeEditor.js +10 -16
  1406. package/source/class/qx/ui/treevirtual/pane/Scroller.js +14 -11
  1407. package/source/class/qx/ui/virtual/__init__.js +4 -4
  1408. package/source/class/qx/ui/virtual/behavior/Prefetch.js +71 -86
  1409. package/source/class/qx/ui/virtual/cell/Abstract.js +18 -27
  1410. package/source/class/qx/ui/virtual/cell/AbstractImage.js +42 -51
  1411. package/source/class/qx/ui/virtual/cell/AbstractWidget.js +25 -49
  1412. package/source/class/qx/ui/virtual/cell/Boolean.js +31 -44
  1413. package/source/class/qx/ui/virtual/cell/Cell.js +143 -183
  1414. package/source/class/qx/ui/virtual/cell/CellStylesheet.js +31 -38
  1415. package/source/class/qx/ui/virtual/cell/Date.js +15 -24
  1416. package/source/class/qx/ui/virtual/cell/Html.js +9 -20
  1417. package/source/class/qx/ui/virtual/cell/ICell.js +4 -6
  1418. package/source/class/qx/ui/virtual/cell/IWidgetCell.js +7 -12
  1419. package/source/class/qx/ui/virtual/cell/IWidgetCellDelegate.js +4 -6
  1420. package/source/class/qx/ui/virtual/cell/Image.js +8 -14
  1421. package/source/class/qx/ui/virtual/cell/Number.js +14 -23
  1422. package/source/class/qx/ui/virtual/cell/String.js +11 -20
  1423. package/source/class/qx/ui/virtual/cell/WidgetCell.js +13 -16
  1424. package/source/class/qx/ui/virtual/cell/__init__.js +4 -4
  1425. package/source/class/qx/ui/virtual/core/Axis.js +75 -103
  1426. package/source/class/qx/ui/virtual/core/CellEvent.js +23 -31
  1427. package/source/class/qx/ui/virtual/core/IHtmlCellProvider.js +4 -6
  1428. package/source/class/qx/ui/virtual/core/ILayer.js +5 -15
  1429. package/source/class/qx/ui/virtual/core/IWidgetCellProvider.js +5 -7
  1430. package/source/class/qx/ui/virtual/core/Pane.js +199 -242
  1431. package/source/class/qx/ui/virtual/core/Scroller.js +25 -43
  1432. package/source/class/qx/ui/virtual/layer/Abstract.js +44 -83
  1433. package/source/class/qx/ui/virtual/layer/AbstractBackground.js +47 -68
  1434. package/source/class/qx/ui/virtual/layer/CellSpanManager.js +74 -96
  1435. package/source/class/qx/ui/virtual/layer/Column.js +26 -36
  1436. package/source/class/qx/ui/virtual/layer/GridLines.js +43 -70
  1437. package/source/class/qx/ui/virtual/layer/HtmlCell.js +34 -32
  1438. package/source/class/qx/ui/virtual/layer/HtmlCellSpan.js +54 -56
  1439. package/source/class/qx/ui/virtual/layer/Row.js +28 -36
  1440. package/source/class/qx/ui/virtual/layer/WidgetCell.js +87 -123
  1441. package/source/class/qx/ui/virtual/layer/WidgetCellSpan.js +123 -124
  1442. package/source/class/qx/ui/virtual/selection/Abstract.js +26 -54
  1443. package/source/class/qx/ui/virtual/selection/CellLines.js +11 -21
  1444. package/source/class/qx/ui/virtual/selection/CellRectangle.js +45 -73
  1445. package/source/class/qx/ui/virtual/selection/Column.js +16 -35
  1446. package/source/class/qx/ui/virtual/selection/ISelectionDelegate.js +5 -9
  1447. package/source/class/qx/ui/virtual/selection/MModel.js +84 -122
  1448. package/source/class/qx/ui/virtual/selection/Row.js +29 -61
  1449. package/source/class/qx/ui/website/Accordion.js +39 -42
  1450. package/source/class/qx/ui/website/Button.js +17 -25
  1451. package/source/class/qx/ui/website/Calendar.js +243 -172
  1452. package/source/class/qx/ui/website/Carousel.js +169 -155
  1453. package/source/class/qx/ui/website/DatePicker.js +99 -85
  1454. package/source/class/qx/ui/website/Rating.js +35 -53
  1455. package/source/class/qx/ui/website/Slider.js +174 -153
  1456. package/source/class/qx/ui/website/Table.js +482 -456
  1457. package/source/class/qx/ui/website/Tabs.js +225 -180
  1458. package/source/class/qx/ui/website/Widget.js +39 -52
  1459. package/source/class/qx/ui/window/Desktop.js +14 -12
  1460. package/source/class/qx/ui/window/IDesktop.js +8 -10
  1461. package/source/class/qx/ui/window/IWindowManager.js +7 -9
  1462. package/source/class/qx/ui/window/MDesktop.js +34 -62
  1463. package/source/class/qx/ui/window/Manager.js +31 -57
  1464. package/source/class/qx/ui/window/Window.js +250 -351
  1465. package/source/class/qx/util/AliasManager.js +23 -42
  1466. package/source/class/qx/util/Animation.js +248 -191
  1467. package/source/class/qx/util/Base64.js +144 -89
  1468. package/source/class/qx/util/ColorUtil.js +253 -287
  1469. package/source/class/qx/util/DeferredCall.js +21 -30
  1470. package/source/class/qx/util/DeferredCallManager.js +23 -44
  1471. package/source/class/qx/util/Delegate.js +4 -10
  1472. package/source/class/qx/util/DisposeUtil.js +76 -70
  1473. package/source/class/qx/util/DynamicScriptLoader.js +83 -66
  1474. package/source/class/qx/util/EditDistance.js +64 -58
  1475. package/source/class/qx/util/ExtendedColor.js +157 -163
  1476. package/source/class/qx/util/Function.js +8 -8
  1477. package/source/class/qx/util/LibraryManager.js +11 -18
  1478. package/source/class/qx/util/OOUtil.js +17 -36
  1479. package/source/class/qx/util/ObjectPool.js +19 -45
  1480. package/source/class/qx/util/Permutation.js +9 -16
  1481. package/source/class/qx/util/PropertyUtil.js +58 -70
  1482. package/source/class/qx/util/Request.js +27 -16
  1483. package/source/class/qx/util/ResourceManager.js +103 -104
  1484. package/source/class/qx/util/ResponseParser.js +14 -21
  1485. package/source/class/qx/util/RingBuffer.js +46 -48
  1486. package/source/class/qx/util/Serializer.js +103 -68
  1487. package/source/class/qx/util/StringBuilder.js +11 -22
  1488. package/source/class/qx/util/StringEscape.js +15 -29
  1489. package/source/class/qx/util/StringSplit.js +18 -21
  1490. package/source/class/qx/util/TimerManager.js +61 -70
  1491. package/source/class/qx/util/Uri.js +42 -30
  1492. package/source/class/qx/util/Uuid.js +50 -35
  1493. package/source/class/qx/util/Validate.js +88 -73
  1494. package/source/class/qx/util/ValueManager.js +17 -29
  1495. package/source/class/qx/util/Wheel.js +22 -16
  1496. package/source/class/qx/util/format/DateFormat.js +822 -759
  1497. package/source/class/qx/util/format/IFormat.js +4 -8
  1498. package/source/class/qx/util/format/NumberFormat.js +84 -91
  1499. package/source/class/qx/util/fsm/FiniteStateMachine.js +323 -382
  1500. package/source/class/qx/util/fsm/State.js +210 -249
  1501. package/source/class/qx/util/fsm/Transition.js +138 -160
  1502. package/source/class/qx/util/placement/AbstractAxis.js +12 -14
  1503. package/source/class/qx/util/placement/BestFitAxis.js +5 -8
  1504. package/source/class/qx/util/placement/DirectAxis.js +5 -7
  1505. package/source/class/qx/util/placement/KeepAlignAxis.js +8 -14
  1506. package/source/class/qx/util/placement/Placement.js +39 -56
  1507. package/source/class/qx/util/placement/__init__.js +4 -4
  1508. package/source/class/qx/xml/Document.js +21 -34
  1509. package/source/class/qx/xml/Element.js +90 -73
  1510. package/source/class/qx/xml/String.js +15 -21
  1511. package/source/class/qxWeb.js +102 -69
  1512. package/source/resource/qx/mobile/js/iscroll.js +1328 -982
  1513. package/source/resource/qx/mobile/js/iscroll.min.js +1081 -1
  1514. package/source/resource/qx/test/dynamicscriptloader/first.js +1 -1
  1515. package/source/resource/qx/test/dynamicscriptloader/second.js +1 -1
  1516. package/source/resource/qx/test/dynamicscriptloader/third.js +1 -1
  1517. package/source/resource/qx/test/script.js +1 -1
  1518. package/source/resource/qx/test/webworker.js +2 -2
  1519. package/source/resource/qx/tool/loadsass.js +16 -15
  1520. package/source/resource/qx/tool/schema/compile-1-0-0.json +13 -13
  1521. package/source/resource/qx/tool/website/build/assets/bluebird.min.js +4593 -9
  1522. package/source/resource/qx/tool/website/build/assets/buttons.js +391 -1
  1523. package/source/resource/qx/tool/website/build/assets/fontawesome-all.js +8963 -1
  1524. package/source/resource/qx/tool/website/build/assets/jquery.js +5452 -3
  1525. package/source/resource/qx/tool/website/build/diagnostics/dependson.js +31 -31
  1526. package/source/resource/qx/tool/website/build/diagnostics/requiredby.js +32 -36
  1527. package/source/resource/qx/tool/website/build/scripts/serve.js +87 -66
  1528. package/source/resource/qx/tool/website/src/assets/bluebird.min.js +4593 -9
  1529. package/source/resource/qx/tool/website/src/assets/buttons.js +391 -1
  1530. package/source/resource/qx/tool/website/src/assets/fontawesome-all.js +8963 -1
  1531. package/source/resource/qx/tool/website/src/assets/jquery.js +5452 -3
  1532. package/source/resource/qx/tool/website/src/diagnostics/dependson.js +31 -31
  1533. package/source/resource/qx/tool/website/src/diagnostics/requiredby.js +32 -36
  1534. package/source/resource/qx/tool/website/src/scripts/serve.js +87 -66
  1535. package/lib/resource/qx/static/blank.gif +0 -0
  1536. package/source/class/qx/io/remote/Exchange.js +0 -1063
  1537. package/source/class/qx/io/remote/Request.js +0 -1021
  1538. package/source/class/qx/io/remote/RequestQueue.js +0 -521
  1539. package/source/class/qx/io/remote/Response.js +0 -137
  1540. package/source/class/qx/io/remote/Rpc.js +0 -1075
  1541. package/source/class/qx/io/remote/RpcError.js +0 -198
  1542. package/source/class/qx/io/remote/__init__.js +0 -88
  1543. package/source/class/qx/io/remote/transport/Abstract.js +0 -513
  1544. package/source/class/qx/io/remote/transport/Iframe.js +0 -652
  1545. package/source/class/qx/io/remote/transport/Script.js +0 -475
  1546. package/source/class/qx/io/remote/transport/XmlHttp.js +0 -1019
  1547. package/source/class/qx/io/remote/transport/__init__.js +0 -3
  1548. package/source/class/qx/test/io/remote/AbstractRequest.js +0 -150
  1549. package/source/class/qx/test/io/remote/RequestIframe.js +0 -105
  1550. package/source/class/qx/test/io/remote/RequestXhr.js +0 -151
  1551. package/source/class/qx/test/io/remote/Rpc.js +0 -205
  1552. package/source/class/qx/test/io/remote/__init__.js +0 -4
  1553. package/source/class/qx/test/io/remote/transport/Iframe.js +0 -67
  1554. package/source/class/qx/test/io/remote/transport/XmlHttp.js +0 -133
  1555. package/source/class/qx/test/io/remote/transport/__init__.js +0 -4
@@ -22,74 +22,70 @@
22
22
  * @ignore(qx.test.TreeNode)
23
23
  */
24
24
 
25
- qx.Class.define("qx.test.data.controller.Tree",
26
- {
27
- extend : qx.dev.unit.TestCase,
28
- include : qx.dev.unit.MMock,
25
+ qx.Class.define("qx.test.data.controller.Tree", {
26
+ extend: qx.dev.unit.TestCase,
27
+ include: qx.dev.unit.MMock,
29
28
 
30
- construct : function() {
31
- this.base(arguments);
29
+ construct() {
30
+ super();
32
31
 
33
32
  // define a test class
34
- qx.Class.define("qx.test.TreeNode",
35
- {
36
- extend : qx.core.Object,
33
+ qx.Class.define("qx.test.TreeNode", {
34
+ extend: qx.core.Object,
37
35
 
38
- construct : function() {
39
- this.base(arguments);
36
+ construct() {
37
+ super();
40
38
 
41
39
  this.setChildren(new qx.data.Array());
42
40
  this.setAltChildren(new qx.data.Array());
43
41
  },
44
42
 
45
- properties :
46
- {
47
- children : {
48
- check : "qx.data.Array",
49
- event : "changeChild",
50
- nullable : true
43
+ properties: {
44
+ children: {
45
+ check: "qx.data.Array",
46
+ event: "changeChild",
47
+ nullable: true
51
48
  },
52
49
 
53
- altChildren : {
54
- check : "qx.data.Array",
55
- event : "changeChild",
56
- nullable : true
50
+ altChildren: {
51
+ check: "qx.data.Array",
52
+ event: "changeChild",
53
+ nullable: true
57
54
  },
58
55
 
59
- name : {
60
- check : "String",
61
- init : "root",
62
- event : "changeName"
56
+ name: {
57
+ check: "String",
58
+ init: "root",
59
+ event: "changeName"
63
60
  },
64
61
 
65
- name2 : {
66
- check : "String",
67
- init : "root2",
68
- event : "changeName"
62
+ name2: {
63
+ check: "String",
64
+ init: "root2",
65
+ event: "changeName"
69
66
  },
70
67
 
71
- icon : {
72
- check : "String",
68
+ icon: {
69
+ check: "String",
73
70
  event: "changeIcon",
74
71
  nullable: true
75
72
  },
76
73
 
77
- icon2 : {
78
- check : "String",
74
+ icon2: {
75
+ check: "String",
79
76
  event: "changeIcon2",
80
77
  nullable: true
81
78
  },
82
79
 
83
- color : {
84
- check : "String",
85
- event : "changeColor",
80
+ color: {
81
+ check: "String",
82
+ event: "changeColor",
86
83
  init: "green",
87
84
  nullable: true
88
85
  }
89
86
  },
90
87
 
91
- destruct : function()
92
- {
88
+ destruct() {
93
89
  if (this.getChildren()) {
94
90
  this.getChildren().setAutoDisposeItems(true);
95
91
  this.getChildren().dispose();
@@ -102,10 +98,7 @@ qx.Class.define("qx.test.data.controller.Tree",
102
98
  });
103
99
  },
104
100
 
105
-
106
- members :
107
- {
108
-
101
+ members: {
109
102
  __tree: null,
110
103
  __model: null,
111
104
  __controller: null,
@@ -114,8 +107,7 @@ qx.Class.define("qx.test.data.controller.Tree",
114
107
  __b: null,
115
108
  __c: null,
116
109
 
117
- setUp : function()
118
- {
110
+ setUp() {
119
111
  // prevent the icon load error with this stub
120
112
  this.stub(qx.io.ImageLoader, "load");
121
113
 
@@ -138,11 +130,11 @@ qx.Class.define("qx.test.data.controller.Tree",
138
130
 
139
131
  this.__b = new qx.test.TreeNode();
140
132
  this.__b.set({
141
- name: "b",
142
- name2: "b2",
143
- icon: "icon b",
144
- icon2: "icon b2",
145
- color: "blue"
133
+ name: "b",
134
+ name2: "b2",
135
+ icon: "icon b",
136
+ icon2: "icon b2",
137
+ color: "blue"
146
138
  });
147
139
 
148
140
  this.__c = new qx.test.TreeNode();
@@ -158,13 +150,17 @@ qx.Class.define("qx.test.data.controller.Tree",
158
150
  this.__model.getAltChildren().push(this.__c, this.__b, this.__a);
159
151
 
160
152
  // create the controller
161
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
153
+ this.__controller = new qx.data.controller.Tree(
154
+ this.__model,
155
+ this.__tree,
156
+ "children",
157
+ "name"
158
+ );
159
+
162
160
  this.__controller.setIconPath("icon");
163
161
  },
164
162
 
165
-
166
- tearDown : function()
167
- {
163
+ tearDown() {
168
164
  this.__controller.dispose();
169
165
  this.__model.dispose();
170
166
  this.__tree.dispose();
@@ -173,8 +169,7 @@ qx.Class.define("qx.test.data.controller.Tree",
173
169
  this.getSandbox().restore();
174
170
  },
175
171
 
176
-
177
- testRemoveBindingsRecursive: function(){
172
+ testRemoveBindingsRecursive() {
178
173
  // reform the model tree
179
174
  this.__model.getChildren().remove(this.__c);
180
175
  this.__a.getChildren().push(this.__c);
@@ -190,127 +185,274 @@ qx.Class.define("qx.test.data.controller.Tree",
190
185
  this.assertEquals("c", cFolder.getLabel());
191
186
 
192
187
  // destroy is async --> wait for it!
193
- this.wait(100, function() {
194
- this.assertTrue(cFolder.isDisposed());
195
- }, this);
188
+ this.wait(
189
+ 100,
190
+ function () {
191
+ this.assertTrue(cFolder.isDisposed());
192
+ },
193
+ this
194
+ );
196
195
  },
197
196
 
198
-
199
- testModelChange: function(){
197
+ testModelChange() {
200
198
  // set model to null
201
199
  this.__controller.setModel(null);
202
200
 
203
201
  // set the same model again (forces the tree to redraw)
204
202
  this.__controller.setModel(this.__model);
205
203
 
206
- var d = new qx.test.TreeNode();
204
+ var d = new qx.test.TreeNode();
207
205
  d.setName("d");
208
206
 
209
207
  var model = this.__model;
210
208
  // add the new model
211
- this.wait(100, function() {
209
+ this.wait(100, function () {
212
210
  model.getChildren().push(d);
213
211
  });
214
212
 
215
213
  // d will be disposed by the model
216
214
  },
217
215
 
218
-
219
- testFolderCreation: function() {
216
+ testFolderCreation() {
220
217
  // Test if the tree nodes exist
221
218
  this.assertNotNull(this.__tree.getRoot(), "Root node does not exist");
222
- this.assertNotNull(this.__tree.getRoot().getChildren()[0], "First node does not exist");
223
- this.assertNotNull(this.__tree.getRoot().getChildren()[1], "Second node does not exist");
224
- this.assertNotNull(this.__tree.getRoot().getChildren()[2], "Third node does not exist");
219
+ this.assertNotNull(
220
+ this.__tree.getRoot().getChildren()[0],
221
+ "First node does not exist"
222
+ );
223
+
224
+ this.assertNotNull(
225
+ this.__tree.getRoot().getChildren()[1],
226
+ "Second node does not exist"
227
+ );
228
+
229
+ this.assertNotNull(
230
+ this.__tree.getRoot().getChildren()[2],
231
+ "Third node does not exist"
232
+ );
225
233
  },
226
234
 
227
-
228
- testFolderLabelInitial: function() {
235
+ testFolderLabelInitial() {
229
236
  // check the initial Labels
230
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
231
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
232
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
233
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
237
+ this.assertEquals(
238
+ "root",
239
+ this.__tree.getRoot().getLabel(),
240
+ "Root node has a wrong name"
241
+ );
242
+
243
+ this.assertEquals(
244
+ "a",
245
+ this.__tree.getRoot().getChildren()[0].getLabel(),
246
+ "First node has a wrong name"
247
+ );
248
+
249
+ this.assertEquals(
250
+ "b",
251
+ this.__tree.getRoot().getChildren()[1].getLabel(),
252
+ "Second node has a wrong name"
253
+ );
254
+
255
+ this.assertEquals(
256
+ "c",
257
+ this.__tree.getRoot().getChildren()[2].getLabel(),
258
+ "Third node has a wrong name"
259
+ );
234
260
  },
235
261
 
236
-
237
- testFolderLabelChangeName: function() {
262
+ testFolderLabelChangeName() {
238
263
  // change the names
239
264
  this.__model.setName("ROOT");
240
265
  this.__a.setName("A");
241
266
  this.__b.setName("B");
242
267
  this.__c.setName("C");
243
268
  // check the initial Labels
244
- this.assertEquals("ROOT", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
245
- this.assertEquals("A", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
246
- this.assertEquals("B", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
247
- this.assertEquals("C", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
269
+ this.assertEquals(
270
+ "ROOT",
271
+ this.__tree.getRoot().getLabel(),
272
+ "Root node has a wrong name"
273
+ );
274
+
275
+ this.assertEquals(
276
+ "A",
277
+ this.__tree.getRoot().getChildren()[0].getLabel(),
278
+ "First node has a wrong name"
279
+ );
280
+
281
+ this.assertEquals(
282
+ "B",
283
+ this.__tree.getRoot().getChildren()[1].getLabel(),
284
+ "Second node has a wrong name"
285
+ );
286
+
287
+ this.assertEquals(
288
+ "C",
289
+ this.__tree.getRoot().getChildren()[2].getLabel(),
290
+ "Third node has a wrong name"
291
+ );
248
292
  },
249
293
 
250
-
251
- testFolderLabelPropertyChange: function() {
294
+ testFolderLabelPropertyChange() {
252
295
  // change the label path
253
296
  this.__controller.setLabelPath("name2");
254
297
  // check the initial Labels
255
- this.assertEquals("root2", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
256
- this.assertEquals("a2", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
257
- this.assertEquals("b2", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
258
- this.assertEquals("c2", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
298
+ this.assertEquals(
299
+ "root2",
300
+ this.__tree.getRoot().getLabel(),
301
+ "Root node has a wrong name"
302
+ );
303
+
304
+ this.assertEquals(
305
+ "a2",
306
+ this.__tree.getRoot().getChildren()[0].getLabel(),
307
+ "First node has a wrong name"
308
+ );
309
+
310
+ this.assertEquals(
311
+ "b2",
312
+ this.__tree.getRoot().getChildren()[1].getLabel(),
313
+ "Second node has a wrong name"
314
+ );
315
+
316
+ this.assertEquals(
317
+ "c2",
318
+ this.__tree.getRoot().getChildren()[2].getLabel(),
319
+ "Third node has a wrong name"
320
+ );
259
321
  },
260
322
 
261
-
262
- testChildPush: function() {
323
+ testChildPush() {
263
324
  var d = new qx.test.TreeNode();
264
325
  d.setName("d");
265
326
  var children = this.__model.getChildren();
266
327
  children.push(d);
267
328
 
268
329
  // Test if the tree nodes exist
269
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
270
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
271
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
272
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
273
- this.assertEquals("d", this.__tree.getRoot().getChildren()[3].getLabel(), "New node has a wrong name");
330
+ this.assertEquals(
331
+ "root",
332
+ this.__tree.getRoot().getLabel(),
333
+ "Root node has a wrong name"
334
+ );
335
+
336
+ this.assertEquals(
337
+ "a",
338
+ this.__tree.getRoot().getChildren()[0].getLabel(),
339
+ "First node has a wrong name"
340
+ );
341
+
342
+ this.assertEquals(
343
+ "b",
344
+ this.__tree.getRoot().getChildren()[1].getLabel(),
345
+ "Second node has a wrong name"
346
+ );
347
+
348
+ this.assertEquals(
349
+ "c",
350
+ this.__tree.getRoot().getChildren()[2].getLabel(),
351
+ "Third node has a wrong name"
352
+ );
353
+
354
+ this.assertEquals(
355
+ "d",
356
+ this.__tree.getRoot().getChildren()[3].getLabel(),
357
+ "New node has a wrong name"
358
+ );
274
359
  },
275
360
 
276
-
277
- testChildPop: function() {
361
+ testChildPop() {
278
362
  var children = this.__model.getChildren();
279
363
  children.pop();
280
364
 
281
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
282
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
283
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
284
- this.assertUndefined(this.__tree.getRoot().getChildren()[2], "There is still a third node!");
365
+ this.assertEquals(
366
+ "root",
367
+ this.__tree.getRoot().getLabel(),
368
+ "Root node has a wrong name"
369
+ );
370
+
371
+ this.assertEquals(
372
+ "a",
373
+ this.__tree.getRoot().getChildren()[0].getLabel(),
374
+ "First node has a wrong name"
375
+ );
376
+
377
+ this.assertEquals(
378
+ "b",
379
+ this.__tree.getRoot().getChildren()[1].getLabel(),
380
+ "Second node has a wrong name"
381
+ );
382
+
383
+ this.assertUndefined(
384
+ this.__tree.getRoot().getChildren()[2],
385
+ "There is still a third node!"
386
+ );
285
387
  },
286
388
 
287
- testChildShift: function() {
389
+ testChildShift() {
288
390
  var children = this.__model.getChildren();
289
391
  children.shift();
290
392
 
291
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
292
- this.assertEquals("b", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
293
- this.assertEquals("c", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
294
- this.assertUndefined(this.__tree.getRoot().getChildren()[2], "There is still a third node!");
393
+ this.assertEquals(
394
+ "root",
395
+ this.__tree.getRoot().getLabel(),
396
+ "Root node has a wrong name"
397
+ );
398
+
399
+ this.assertEquals(
400
+ "b",
401
+ this.__tree.getRoot().getChildren()[0].getLabel(),
402
+ "First node has a wrong name"
403
+ );
404
+
405
+ this.assertEquals(
406
+ "c",
407
+ this.__tree.getRoot().getChildren()[1].getLabel(),
408
+ "Second node has a wrong name"
409
+ );
410
+
411
+ this.assertUndefined(
412
+ this.__tree.getRoot().getChildren()[2],
413
+ "There is still a third node!"
414
+ );
295
415
  },
296
416
 
297
-
298
- testChildUnshift: function() {
417
+ testChildUnshift() {
299
418
  var d = new qx.test.TreeNode();
300
419
  d.setName("d");
301
420
  var children = this.__model.getChildren();
302
421
  children.unshift(d);
303
422
 
304
423
  // Test if the tree nodes exist
305
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
306
- this.assertEquals("d", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
307
- this.assertEquals("a", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
308
- this.assertEquals("b", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
309
- this.assertEquals("c", this.__tree.getRoot().getChildren()[3].getLabel(), "Fourth node has a wrong name");
424
+ this.assertEquals(
425
+ "root",
426
+ this.__tree.getRoot().getLabel(),
427
+ "Root node has a wrong name"
428
+ );
429
+
430
+ this.assertEquals(
431
+ "d",
432
+ this.__tree.getRoot().getChildren()[0].getLabel(),
433
+ "First node has a wrong name"
434
+ );
435
+
436
+ this.assertEquals(
437
+ "a",
438
+ this.__tree.getRoot().getChildren()[1].getLabel(),
439
+ "Second node has a wrong name"
440
+ );
441
+
442
+ this.assertEquals(
443
+ "b",
444
+ this.__tree.getRoot().getChildren()[2].getLabel(),
445
+ "Third node has a wrong name"
446
+ );
447
+
448
+ this.assertEquals(
449
+ "c",
450
+ this.__tree.getRoot().getChildren()[3].getLabel(),
451
+ "Fourth node has a wrong name"
452
+ );
310
453
  },
311
454
 
312
-
313
- testTreeDeep: function() {
455
+ testTreeDeep() {
314
456
  // remove all children
315
457
  this.__model.getChildren().pop();
316
458
  this.__model.getChildren().pop();
@@ -329,14 +471,37 @@ qx.Class.define("qx.test.data.controller.Tree",
329
471
  this.__b.getChildren().push(this.__c);
330
472
 
331
473
  // test for the model
332
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
333
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
334
- this.assertEquals("b", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(), "Second node has a wrong name");
335
- this.assertEquals("c", this.__tree.getRoot().getChildren()[0].getChildren()[0].getChildren()[0].getLabel(), "Third node has a wrong name");
474
+ this.assertEquals(
475
+ "root",
476
+ this.__tree.getRoot().getLabel(),
477
+ "Root node has a wrong name"
478
+ );
479
+
480
+ this.assertEquals(
481
+ "a",
482
+ this.__tree.getRoot().getChildren()[0].getLabel(),
483
+ "First node has a wrong name"
484
+ );
485
+
486
+ this.assertEquals(
487
+ "b",
488
+ this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(),
489
+ "Second node has a wrong name"
490
+ );
491
+
492
+ this.assertEquals(
493
+ "c",
494
+ this.__tree
495
+ .getRoot()
496
+ .getChildren()[0]
497
+ .getChildren()[0]
498
+ .getChildren()[0]
499
+ .getLabel(),
500
+ "Third node has a wrong name"
501
+ );
336
502
  },
337
503
 
338
-
339
- testBig: function() {
504
+ testBig() {
340
505
  // build up the model instances
341
506
  var aa = new qx.test.TreeNode();
342
507
  aa.setName("aa");
@@ -364,42 +529,116 @@ qx.Class.define("qx.test.data.controller.Tree",
364
529
 
365
530
  // check the initial Labels
366
531
  // root layer
367
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
532
+ this.assertEquals(
533
+ "root",
534
+ this.__tree.getRoot().getLabel(),
535
+ "Root node has a wrong name"
536
+ );
537
+
368
538
  // first layer
369
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "a node has a wrong name");
370
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "b node has a wrong name");
371
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "c node has a wrong name");
539
+ this.assertEquals(
540
+ "a",
541
+ this.__tree.getRoot().getChildren()[0].getLabel(),
542
+ "a node has a wrong name"
543
+ );
544
+
545
+ this.assertEquals(
546
+ "b",
547
+ this.__tree.getRoot().getChildren()[1].getLabel(),
548
+ "b node has a wrong name"
549
+ );
550
+
551
+ this.assertEquals(
552
+ "c",
553
+ this.__tree.getRoot().getChildren()[2].getLabel(),
554
+ "c node has a wrong name"
555
+ );
556
+
372
557
  // second layer
373
- this.assertEquals("aa", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(), "aa node has a wrong name");
374
- this.assertEquals("AA", this.__tree.getRoot().getChildren()[0].getChildren()[1].getLabel(), "AA node has a wrong name");
375
- this.assertEquals("bb", this.__tree.getRoot().getChildren()[1].getChildren()[0].getLabel(), "bb node has a wrong name");
376
- this.assertEquals("cc", this.__tree.getRoot().getChildren()[2].getChildren()[0].getLabel(), "cc node has a wrong name");
558
+ this.assertEquals(
559
+ "aa",
560
+ this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(),
561
+ "aa node has a wrong name"
562
+ );
563
+
564
+ this.assertEquals(
565
+ "AA",
566
+ this.__tree.getRoot().getChildren()[0].getChildren()[1].getLabel(),
567
+ "AA node has a wrong name"
568
+ );
569
+
570
+ this.assertEquals(
571
+ "bb",
572
+ this.__tree.getRoot().getChildren()[1].getChildren()[0].getLabel(),
573
+ "bb node has a wrong name"
574
+ );
575
+
576
+ this.assertEquals(
577
+ "cc",
578
+ this.__tree.getRoot().getChildren()[2].getChildren()[0].getLabel(),
579
+ "cc node has a wrong name"
580
+ );
581
+
377
582
  // third layer
378
- this.assertEquals("bbb", this.__tree.getRoot().getChildren()[1].getChildren()[0].getChildren()[0].getLabel(), "bbb node has a wrong name");
583
+ this.assertEquals(
584
+ "bbb",
585
+ this.__tree
586
+ .getRoot()
587
+ .getChildren()[1]
588
+ .getChildren()[0]
589
+ .getChildren()[0]
590
+ .getLabel(),
591
+ "bbb node has a wrong name"
592
+ );
379
593
  },
380
594
 
381
-
382
- testChildReverse: function() {
595
+ testChildReverse() {
383
596
  // reverse the children
384
597
  this.__model.getChildren().reverse();
385
598
  // check the labels
386
- this.assertEquals("a", this.__tree.getRoot().getChildren()[2].getLabel(), "First node has a wrong name");
387
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
388
- this.assertEquals("c", this.__tree.getRoot().getChildren()[0].getLabel(), "Third node has a wrong name");
599
+ this.assertEquals(
600
+ "a",
601
+ this.__tree.getRoot().getChildren()[2].getLabel(),
602
+ "First node has a wrong name"
603
+ );
604
+
605
+ this.assertEquals(
606
+ "b",
607
+ this.__tree.getRoot().getChildren()[1].getLabel(),
608
+ "Second node has a wrong name"
609
+ );
610
+
611
+ this.assertEquals(
612
+ "c",
613
+ this.__tree.getRoot().getChildren()[0].getLabel(),
614
+ "Third node has a wrong name"
615
+ );
389
616
  },
390
617
 
391
-
392
- testChangeChildPath: function() {
618
+ testChangeChildPath() {
393
619
  // change the child path
394
620
  this.__controller.setChildPath("altChildren");
395
621
  // check the labels
396
- this.assertEquals("c", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
397
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
398
- this.assertEquals("a", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
622
+ this.assertEquals(
623
+ "c",
624
+ this.__tree.getRoot().getChildren()[0].getLabel(),
625
+ "First node has a wrong name"
626
+ );
627
+
628
+ this.assertEquals(
629
+ "b",
630
+ this.__tree.getRoot().getChildren()[1].getLabel(),
631
+ "Second node has a wrong name"
632
+ );
633
+
634
+ this.assertEquals(
635
+ "a",
636
+ this.__tree.getRoot().getChildren()[2].getLabel(),
637
+ "Third node has a wrong name"
638
+ );
399
639
  },
400
640
 
401
-
402
- testChangeTarget: function() {
641
+ testChangeTarget() {
403
642
  // create a new tree
404
643
  var tree = new qx.ui.tree.Tree();
405
644
 
@@ -407,17 +646,30 @@ qx.Class.define("qx.test.data.controller.Tree",
407
646
  this.__controller.setTarget(tree);
408
647
 
409
648
  // check the new folders
410
- this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
411
- this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
412
- this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
649
+ this.assertEquals(
650
+ "a",
651
+ tree.getRoot().getChildren()[0].getLabel(),
652
+ "First node has a wrong name"
653
+ );
654
+
655
+ this.assertEquals(
656
+ "b",
657
+ tree.getRoot().getChildren()[1].getLabel(),
658
+ "Second node has a wrong name"
659
+ );
660
+
661
+ this.assertEquals(
662
+ "c",
663
+ tree.getRoot().getChildren()[2].getLabel(),
664
+ "Third node has a wrong name"
665
+ );
413
666
 
414
667
  // check if the old tree is empty
415
668
  this.assertNull(this.__tree.getRoot(), "Former tree is not empty.");
416
669
  tree.dispose();
417
670
  },
418
671
 
419
-
420
- testChangeModel: function() {
672
+ testChangeModel() {
421
673
  // create a new model
422
674
  // this.__model
423
675
  // / \
@@ -433,34 +685,79 @@ qx.Class.define("qx.test.data.controller.Tree",
433
685
  this.__controller.setModel(model);
434
686
 
435
687
  // check the folders
436
- this.assertEquals("A", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
437
- this.assertEquals("B", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
688
+ this.assertEquals(
689
+ "A",
690
+ this.__tree.getRoot().getChildren()[0].getLabel(),
691
+ "First node has a wrong name"
692
+ );
693
+
694
+ this.assertEquals(
695
+ "B",
696
+ this.__tree.getRoot().getChildren()[1].getLabel(),
697
+ "Second node has a wrong name"
698
+ );
438
699
 
439
700
  this.__controller.setModel(null);
440
701
  model.dispose();
441
702
  },
442
703
 
443
-
444
- testIconPath: function() {
445
- this.assertEquals(null, this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
446
- this.assertEquals("icon a", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
447
- this.assertEquals("icon b", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
448
- this.assertEquals("icon c", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
704
+ testIconPath() {
705
+ this.assertEquals(
706
+ null,
707
+ this.__tree.getRoot().getIcon(),
708
+ "Root node has a wrong icon"
709
+ );
710
+
711
+ this.assertEquals(
712
+ "icon a",
713
+ this.__tree.getRoot().getChildren()[0].getIcon(),
714
+ "First node has a wrong icon"
715
+ );
716
+
717
+ this.assertEquals(
718
+ "icon b",
719
+ this.__tree.getRoot().getChildren()[1].getIcon(),
720
+ "Second node has a wrong icon"
721
+ );
722
+
723
+ this.assertEquals(
724
+ "icon c",
725
+ this.__tree.getRoot().getChildren()[2].getIcon(),
726
+ "Third node has a wrong icon"
727
+ );
449
728
  },
450
729
 
451
-
452
- testIconPathChange: function() {
730
+ testIconPathChange() {
453
731
  // change the icon path
454
732
  this.__controller.setIconPath("icon2");
455
733
 
456
734
  // test the binding
457
- this.assertEquals(null, this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
458
- this.assertEquals("icon a2", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
459
- this.assertEquals("icon b2", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
460
- this.assertEquals("icon c2", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
735
+ this.assertEquals(
736
+ null,
737
+ this.__tree.getRoot().getIcon(),
738
+ "Root node has a wrong icon"
739
+ );
740
+
741
+ this.assertEquals(
742
+ "icon a2",
743
+ this.__tree.getRoot().getChildren()[0].getIcon(),
744
+ "First node has a wrong icon"
745
+ );
746
+
747
+ this.assertEquals(
748
+ "icon b2",
749
+ this.__tree.getRoot().getChildren()[1].getIcon(),
750
+ "Second node has a wrong icon"
751
+ );
752
+
753
+ this.assertEquals(
754
+ "icon c2",
755
+ this.__tree.getRoot().getChildren()[2].getIcon(),
756
+ "Third node has a wrong icon"
757
+ );
461
758
  },
462
759
 
463
- testIconChange: function() {
760
+ testIconChange() {
464
761
  // change the icon values
465
762
  this.__model.setIcon("AFFE");
466
763
  this.__a.setIcon("ICON A");
@@ -468,34 +765,68 @@ qx.Class.define("qx.test.data.controller.Tree",
468
765
  this.__c.setIcon("ICON C");
469
766
 
470
767
  // test the new icon values
471
- this.assertEquals("AFFE", this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
472
- this.assertEquals("ICON A", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
473
- this.assertEquals("ICON B", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
474
- this.assertEquals("ICON C", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
768
+ this.assertEquals(
769
+ "AFFE",
770
+ this.__tree.getRoot().getIcon(),
771
+ "Root node has a wrong icon"
772
+ );
773
+
774
+ this.assertEquals(
775
+ "ICON A",
776
+ this.__tree.getRoot().getChildren()[0].getIcon(),
777
+ "First node has a wrong icon"
778
+ );
779
+
780
+ this.assertEquals(
781
+ "ICON B",
782
+ this.__tree.getRoot().getChildren()[1].getIcon(),
783
+ "Second node has a wrong icon"
784
+ );
785
+
786
+ this.assertEquals(
787
+ "ICON C",
788
+ this.__tree.getRoot().getChildren()[2].getIcon(),
789
+ "Third node has a wrong icon"
790
+ );
475
791
  },
476
792
 
477
-
478
- testSelection: function() {
793
+ testSelection() {
479
794
  // open the tree so that the selection can be done
480
795
  this.__tree.getRoot().setOpen(true);
481
796
  // select the first object
482
797
  this.__tree.addToSelection(this.__tree.getRoot().getChildren()[0]);
483
798
  // test the selection
484
- this.assertEquals(this.__a, this.__controller.getSelection().getItem(0), "Selection does not work.");
799
+ this.assertEquals(
800
+ this.__a,
801
+ this.__controller.getSelection().getItem(0),
802
+ "Selection does not work."
803
+ );
485
804
 
486
805
  // test for the length
487
- this.assertEquals(1, this.__controller.getSelection().length, "Selection length is wrong.");
806
+ this.assertEquals(
807
+ 1,
808
+ this.__controller.getSelection().length,
809
+ "Selection length is wrong."
810
+ );
488
811
 
489
812
  // select the second object
490
813
  this.__tree.addToSelection(this.__tree.getRoot().getChildren()[1]);
491
814
  // test the selection
492
- this.assertEquals(this.__b, this.__controller.getSelection().getItem(0), "Selection does not work.");
815
+ this.assertEquals(
816
+ this.__b,
817
+ this.__controller.getSelection().getItem(0),
818
+ "Selection does not work."
819
+ );
820
+
493
821
  // test for the length
494
- this.assertEquals(1, this.__controller.getSelection().length, "Selection length is wrong.");
822
+ this.assertEquals(
823
+ 1,
824
+ this.__controller.getSelection().length,
825
+ "Selection length is wrong."
826
+ );
495
827
  },
496
828
 
497
-
498
- testSelectionBackMultiple: function() {
829
+ testSelectionBackMultiple() {
499
830
  // open the tree so that the selection can be done
500
831
  this.__tree.getRoot().setOpen(true);
501
832
  // select the second and third object
@@ -506,12 +837,20 @@ qx.Class.define("qx.test.data.controller.Tree",
506
837
  this.__controller.getSelection().push(this.__b);
507
838
 
508
839
  // test the selection
509
- this.assertEquals(this.__a, this.__controller.getSelection().getItem(0), "Add to selection does not work.");
510
- this.assertEquals(this.__b, this.__controller.getSelection().getItem(1), "Add to selection does not work.");
840
+ this.assertEquals(
841
+ this.__a,
842
+ this.__controller.getSelection().getItem(0),
843
+ "Add to selection does not work."
844
+ );
845
+
846
+ this.assertEquals(
847
+ this.__b,
848
+ this.__controller.getSelection().getItem(1),
849
+ "Add to selection does not work."
850
+ );
511
851
  },
512
852
 
513
-
514
- testSelectionAfterDelete: function() {
853
+ testSelectionAfterDelete() {
515
854
  // open the tree so that the selection can be done
516
855
  this.__tree.getRoot().setOpen(true);
517
856
 
@@ -522,7 +861,11 @@ qx.Class.define("qx.test.data.controller.Tree",
522
861
  temp.setAutoDisposeItems(true);
523
862
  temp.dispose();
524
863
  // check if the selection is empty
525
- this.assertEquals(0, this.__controller.getSelection().length, "Remove from selection does not work!");
864
+ this.assertEquals(
865
+ 0,
866
+ this.__controller.getSelection().length,
867
+ "Remove from selection does not work!"
868
+ );
526
869
 
527
870
  // add b to the selection
528
871
  this.__controller.getSelection().push(this.__b);
@@ -532,47 +875,81 @@ qx.Class.define("qx.test.data.controller.Tree",
532
875
  temp.dispose();
533
876
 
534
877
  // check if the selected item in the list is "b"
535
- this.assertTrue(this.__controller.getSelection().contains(this.__b), "Selection array wrong!");
536
- this.assertEquals("b", this.__tree.getSelection()[0].getLabel(), "Remove from selection does not work!");
878
+ this.assertTrue(
879
+ this.__controller.getSelection().contains(this.__b),
880
+ "Selection array wrong!"
881
+ );
882
+
883
+ this.assertEquals(
884
+ "b",
885
+ this.__tree.getSelection()[0].getLabel(),
886
+ "Remove from selection does not work!"
887
+ );
537
888
  },
538
889
 
539
-
540
- testSelectInvisible: function() {
890
+ testSelectInvisible() {
541
891
  // add c to the selection
542
892
  this.__controller.getSelection().push(this.__c);
543
893
 
544
894
  // check if the selection worked
545
- this.assertEquals(1, this.__controller.getSelection().length, "Adding of an non visible element should not work.");
895
+ this.assertEquals(
896
+ 1,
897
+ this.__controller.getSelection().length,
898
+ "Adding of an non visible element should not work."
899
+ );
546
900
  },
547
901
 
548
-
549
- testLabelOptions: function() {
902
+ testLabelOptions() {
550
903
  // create the options
551
904
  var options = {
552
- converter: function(data, model) {
905
+ converter(data, model) {
553
906
  return data + model.getName2();
554
907
  }
555
908
  };
556
909
 
557
910
  // create the controller
558
911
  this.__controller.dispose();
559
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
912
+ this.__controller = new qx.data.controller.Tree(
913
+ this.__model,
914
+ this.__tree,
915
+ "children",
916
+ "name"
917
+ );
918
+
560
919
  this.__controller.setLabelOptions(options);
561
920
 
562
921
  // test the converter
563
- this.assertEquals("rootroot2", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
564
- this.assertEquals("aa2", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
565
- this.assertEquals("bb2", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
566
- this.assertEquals("cc2", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
922
+ this.assertEquals(
923
+ "rootroot2",
924
+ this.__tree.getRoot().getLabel(),
925
+ "Root node has a wrong name"
926
+ );
927
+
928
+ this.assertEquals(
929
+ "aa2",
930
+ this.__tree.getRoot().getChildren()[0].getLabel(),
931
+ "First node has a wrong name"
932
+ );
933
+
934
+ this.assertEquals(
935
+ "bb2",
936
+ this.__tree.getRoot().getChildren()[1].getLabel(),
937
+ "Second node has a wrong name"
938
+ );
939
+
940
+ this.assertEquals(
941
+ "cc2",
942
+ this.__tree.getRoot().getChildren()[2].getLabel(),
943
+ "Third node has a wrong name"
944
+ );
567
945
  },
568
946
 
569
-
570
- testIconOptions: function() {
947
+ testIconOptions() {
571
948
  // create the options
572
949
  var options = {
573
- converter: function(data, model) {
950
+ converter(data, model) {
574
951
  if (data != null) {
575
- return data + model.getName();
952
+ return data + model.getName();
576
953
  }
577
954
  return null;
578
955
  }
@@ -581,36 +958,57 @@ qx.Class.define("qx.test.data.controller.Tree",
581
958
  // create the controller
582
959
  this.__controller.dispose();
583
960
 
584
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
961
+ this.__controller = new qx.data.controller.Tree(
962
+ this.__model,
963
+ this.__tree,
964
+ "children",
965
+ "name"
966
+ );
967
+
585
968
  this.__controller.setIconPath("icon");
586
969
  this.__controller.setIconOptions(options);
587
970
 
588
971
  // test the converter
589
- this.assertNull(this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
590
- this.assertEquals("icon aa", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
591
- this.assertEquals("icon bb", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
592
- this.assertEquals("icon cc", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
972
+ this.assertNull(
973
+ this.__tree.getRoot().getIcon(),
974
+ "Root node has a wrong icon"
975
+ );
976
+
977
+ this.assertEquals(
978
+ "icon aa",
979
+ this.__tree.getRoot().getChildren()[0].getIcon(),
980
+ "First node has a wrong icon"
981
+ );
982
+
983
+ this.assertEquals(
984
+ "icon bb",
985
+ this.__tree.getRoot().getChildren()[1].getIcon(),
986
+ "Second node has a wrong icon"
987
+ );
988
+
989
+ this.assertEquals(
990
+ "icon cc",
991
+ this.__tree.getRoot().getChildren()[2].getIcon(),
992
+ "Third node has a wrong icon"
993
+ );
593
994
  },
594
995
 
595
-
596
- testItemWithoutChildren: function() {
996
+ testItemWithoutChildren() {
597
997
  // create new Object
598
- qx.Class.define("qx.test.TreeEndNode",
599
- {
600
- extend : qx.core.Object,
601
-
602
- properties :
603
- {
604
- name : {
605
- check : "String",
606
- init : "root",
607
- event : "changeName"
998
+ qx.Class.define("qx.test.TreeEndNode", {
999
+ extend: qx.core.Object,
1000
+
1001
+ properties: {
1002
+ name: {
1003
+ check: "String",
1004
+ init: "root",
1005
+ event: "changeName"
608
1006
  },
609
1007
 
610
- icon : {
611
- check : "String",
612
- event : "changeIcon",
613
- nullable : true
1008
+ icon: {
1009
+ check: "String",
1010
+ event: "changeIcon",
1011
+ nullable: true
614
1012
  }
615
1013
  }
616
1014
  });
@@ -619,103 +1017,264 @@ qx.Class.define("qx.test.data.controller.Tree",
619
1017
  endNode.setName("ENDE");
620
1018
  this.__model.getChildren().push(endNode);
621
1019
 
622
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
623
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
624
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
625
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
626
- this.assertEquals("ENDE", this.__tree.getRoot().getChildren()[3].getLabel(), "Fourth node has a wrong name");
1020
+ this.assertEquals(
1021
+ "root",
1022
+ this.__tree.getRoot().getLabel(),
1023
+ "Root node has a wrong name"
1024
+ );
1025
+
1026
+ this.assertEquals(
1027
+ "a",
1028
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1029
+ "First node has a wrong name"
1030
+ );
1031
+
1032
+ this.assertEquals(
1033
+ "b",
1034
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1035
+ "Second node has a wrong name"
1036
+ );
1037
+
1038
+ this.assertEquals(
1039
+ "c",
1040
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1041
+ "Third node has a wrong name"
1042
+ );
1043
+
1044
+ this.assertEquals(
1045
+ "ENDE",
1046
+ this.__tree.getRoot().getChildren()[3].getLabel(),
1047
+ "Fourth node has a wrong name"
1048
+ );
627
1049
  },
628
1050
 
629
-
630
- testSetLateModel: function() {
1051
+ testSetLateModel() {
631
1052
  this.__controller.dispose();
632
1053
  // create the controller
633
- this.__controller = new qx.data.controller.Tree(null, this.__tree, "children", "name");
1054
+ this.__controller = new qx.data.controller.Tree(
1055
+ null,
1056
+ this.__tree,
1057
+ "children",
1058
+ "name"
1059
+ );
634
1060
 
635
1061
  this.__controller.setModel(this.__model);
636
1062
 
637
1063
  // check the initial Labels
638
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
639
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
640
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
641
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1064
+ this.assertEquals(
1065
+ "root",
1066
+ this.__tree.getRoot().getLabel(),
1067
+ "Root node has a wrong name"
1068
+ );
1069
+
1070
+ this.assertEquals(
1071
+ "a",
1072
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1073
+ "First node has a wrong name"
1074
+ );
1075
+
1076
+ this.assertEquals(
1077
+ "b",
1078
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1079
+ "Second node has a wrong name"
1080
+ );
1081
+
1082
+ this.assertEquals(
1083
+ "c",
1084
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1085
+ "Third node has a wrong name"
1086
+ );
642
1087
  },
643
1088
 
644
-
645
- testSetLateTarget: function() {
1089
+ testSetLateTarget() {
646
1090
  this.__controller.dispose();
647
1091
  // create the controller
648
- this.__controller = new qx.data.controller.Tree(this.__model, null, "children", "name");
1092
+ this.__controller = new qx.data.controller.Tree(
1093
+ this.__model,
1094
+ null,
1095
+ "children",
1096
+ "name"
1097
+ );
649
1098
 
650
1099
  this.__controller.setTarget(this.__tree);
651
1100
 
652
1101
  // check the initial Labels
653
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
654
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
655
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
656
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1102
+ this.assertEquals(
1103
+ "root",
1104
+ this.__tree.getRoot().getLabel(),
1105
+ "Root node has a wrong name"
1106
+ );
1107
+
1108
+ this.assertEquals(
1109
+ "a",
1110
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1111
+ "First node has a wrong name"
1112
+ );
1113
+
1114
+ this.assertEquals(
1115
+ "b",
1116
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1117
+ "Second node has a wrong name"
1118
+ );
1119
+
1120
+ this.assertEquals(
1121
+ "c",
1122
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1123
+ "Third node has a wrong name"
1124
+ );
657
1125
  },
658
1126
 
659
-
660
- testSetLateTargetAndModel: function() {
1127
+ testSetLateTargetAndModel() {
661
1128
  this.__controller.dispose();
662
- this.__controller = new qx.data.controller.Tree(null, null, "children", "name");
1129
+ this.__controller = new qx.data.controller.Tree(
1130
+ null,
1131
+ null,
1132
+ "children",
1133
+ "name"
1134
+ );
663
1135
 
664
1136
  this.__controller.setTarget(this.__tree);
665
1137
  this.__controller.setModel(this.__model);
666
1138
 
667
1139
  // check the initial Labels
668
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
669
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
670
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
671
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1140
+ this.assertEquals(
1141
+ "root",
1142
+ this.__tree.getRoot().getLabel(),
1143
+ "Root node has a wrong name"
1144
+ );
1145
+
1146
+ this.assertEquals(
1147
+ "a",
1148
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1149
+ "First node has a wrong name"
1150
+ );
1151
+
1152
+ this.assertEquals(
1153
+ "b",
1154
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1155
+ "Second node has a wrong name"
1156
+ );
1157
+
1158
+ this.assertEquals(
1159
+ "c",
1160
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1161
+ "Third node has a wrong name"
1162
+ );
672
1163
 
673
1164
  // redo the test and set the modeln and target in different order
674
1165
  this.__controller.dispose();
675
- this.__controller = new qx.data.controller.Tree(null, null, "children", "name");
1166
+ this.__controller = new qx.data.controller.Tree(
1167
+ null,
1168
+ null,
1169
+ "children",
1170
+ "name"
1171
+ );
676
1172
 
677
1173
  this.__controller.setModel(this.__model);
678
1174
  this.__controller.setTarget(this.__tree);
679
1175
 
680
1176
  // check the initial Labels
681
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
682
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
683
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
684
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1177
+ this.assertEquals(
1178
+ "root",
1179
+ this.__tree.getRoot().getLabel(),
1180
+ "Root node has a wrong name"
1181
+ );
1182
+
1183
+ this.assertEquals(
1184
+ "a",
1185
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1186
+ "First node has a wrong name"
1187
+ );
1188
+
1189
+ this.assertEquals(
1190
+ "b",
1191
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1192
+ "Second node has a wrong name"
1193
+ );
1194
+
1195
+ this.assertEquals(
1196
+ "c",
1197
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1198
+ "Third node has a wrong name"
1199
+ );
685
1200
  },
686
1201
 
687
-
688
- testSetLateChildPath: function() {
1202
+ testSetLateChildPath() {
689
1203
  this.__controller.dispose();
690
1204
 
691
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, null, "name");
1205
+ this.__controller = new qx.data.controller.Tree(
1206
+ this.__model,
1207
+ this.__tree,
1208
+ null,
1209
+ "name"
1210
+ );
692
1211
 
693
1212
  this.__controller.setChildPath("children");
694
1213
 
695
1214
  // check the initial Labels
696
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
697
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
698
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
699
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1215
+ this.assertEquals(
1216
+ "root",
1217
+ this.__tree.getRoot().getLabel(),
1218
+ "Root node has a wrong name"
1219
+ );
1220
+
1221
+ this.assertEquals(
1222
+ "a",
1223
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1224
+ "First node has a wrong name"
1225
+ );
1226
+
1227
+ this.assertEquals(
1228
+ "b",
1229
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1230
+ "Second node has a wrong name"
1231
+ );
1232
+
1233
+ this.assertEquals(
1234
+ "c",
1235
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1236
+ "Third node has a wrong name"
1237
+ );
700
1238
  },
701
1239
 
702
-
703
- testSetLateLabelPath: function() {
1240
+ testSetLateLabelPath() {
704
1241
  this.__controller.dispose();
705
1242
 
706
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children");
1243
+ this.__controller = new qx.data.controller.Tree(
1244
+ this.__model,
1245
+ this.__tree,
1246
+ "children"
1247
+ );
707
1248
 
708
1249
  this.__controller.setLabelPath("name");
709
1250
 
710
1251
  // check the initial Labels
711
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
712
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
713
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
714
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1252
+ this.assertEquals(
1253
+ "root",
1254
+ this.__tree.getRoot().getLabel(),
1255
+ "Root node has a wrong name"
1256
+ );
1257
+
1258
+ this.assertEquals(
1259
+ "a",
1260
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1261
+ "First node has a wrong name"
1262
+ );
1263
+
1264
+ this.assertEquals(
1265
+ "b",
1266
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1267
+ "Second node has a wrong name"
1268
+ );
1269
+
1270
+ this.assertEquals(
1271
+ "c",
1272
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1273
+ "Third node has a wrong name"
1274
+ );
715
1275
  },
716
1276
 
717
-
718
- testSetLateAll: function() {
1277
+ testSetLateAll() {
719
1278
  this.__controller.dispose();
720
1279
 
721
1280
  this.__controller = new qx.data.controller.Tree();
@@ -727,42 +1286,78 @@ qx.Class.define("qx.test.data.controller.Tree",
727
1286
  this.__controller.setTarget(this.__tree);
728
1287
 
729
1288
  // check the initial Labels
730
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
731
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
732
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
733
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1289
+ this.assertEquals(
1290
+ "root",
1291
+ this.__tree.getRoot().getLabel(),
1292
+ "Root node has a wrong name"
1293
+ );
1294
+
1295
+ this.assertEquals(
1296
+ "a",
1297
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1298
+ "First node has a wrong name"
1299
+ );
1300
+
1301
+ this.assertEquals(
1302
+ "b",
1303
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1304
+ "Second node has a wrong name"
1305
+ );
1306
+
1307
+ this.assertEquals(
1308
+ "c",
1309
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1310
+ "Third node has a wrong name"
1311
+ );
734
1312
  },
735
1313
 
736
-
737
- testDelegateConfigure: function() {
1314
+ testDelegateConfigure() {
738
1315
  // create the delegate
739
1316
  var delegate = new qx.core.Object();
740
- delegate.configureItem = function(item) {
1317
+ delegate.configureItem = function (item) {
741
1318
  item.setUserData("a", true);
742
1319
  };
743
1320
 
744
1321
  this.__controller.setDelegate(delegate);
745
1322
 
746
1323
  // check the initial Labels
747
- this.assertTrue(this.__tree.getRoot().getUserData("a"), "Delegation not working.");
748
- this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("a"), "Delegation not working.");
749
- this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("a"), "Delegation not working.");
750
- this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("a"), "Delegation not working.");
1324
+ this.assertTrue(
1325
+ this.__tree.getRoot().getUserData("a"),
1326
+ "Delegation not working."
1327
+ );
1328
+
1329
+ this.assertTrue(
1330
+ this.__tree.getRoot().getChildren()[0].getUserData("a"),
1331
+ "Delegation not working."
1332
+ );
1333
+
1334
+ this.assertTrue(
1335
+ this.__tree.getRoot().getChildren()[1].getUserData("a"),
1336
+ "Delegation not working."
1337
+ );
1338
+
1339
+ this.assertTrue(
1340
+ this.__tree.getRoot().getChildren()[2].getUserData("a"),
1341
+ "Delegation not working."
1342
+ );
751
1343
 
752
1344
  this.__controller.setDelegate(null);
753
1345
  delegate.dispose();
754
1346
  },
755
1347
 
756
-
757
- testDelegateConfigureLate : function()
758
- {
1348
+ testDelegateConfigureLate() {
759
1349
  // clear up the setup
760
1350
  this.__controller.dispose();
761
1351
 
762
- var controller = new qx.data.controller.Tree(null, this.__tree, "children", "name");
1352
+ var controller = new qx.data.controller.Tree(
1353
+ null,
1354
+ this.__tree,
1355
+ "children",
1356
+ "name"
1357
+ );
763
1358
 
764
1359
  var delegate = {
765
- configureItem: function(item) {
1360
+ configureItem(item) {
766
1361
  item.setUserData("a", true);
767
1362
  }
768
1363
  };
@@ -771,45 +1366,93 @@ qx.Class.define("qx.test.data.controller.Tree",
771
1366
  controller.setModel(this.__model);
772
1367
 
773
1368
  // check the initial Labels
774
- this.assertTrue(this.__tree.getRoot().getUserData("a"), "Delegation not working.");
775
- this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("a"), "Delegation not working.");
776
- this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("a"), "Delegation not working.");
777
- this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("a"), "Delegation not working.");
1369
+ this.assertTrue(
1370
+ this.__tree.getRoot().getUserData("a"),
1371
+ "Delegation not working."
1372
+ );
1373
+
1374
+ this.assertTrue(
1375
+ this.__tree.getRoot().getChildren()[0].getUserData("a"),
1376
+ "Delegation not working."
1377
+ );
1378
+
1379
+ this.assertTrue(
1380
+ this.__tree.getRoot().getChildren()[1].getUserData("a"),
1381
+ "Delegation not working."
1382
+ );
1383
+
1384
+ this.assertTrue(
1385
+ this.__tree.getRoot().getChildren()[2].getUserData("a"),
1386
+ "Delegation not working."
1387
+ );
778
1388
 
779
1389
  controller.dispose();
780
1390
  },
781
1391
 
782
-
783
- testDelegateCreateLate: function () {
1392
+ testDelegateCreateLate() {
784
1393
  var delegate = {
785
- createItem : function() {
1394
+ createItem() {
786
1395
  var folder = new qx.ui.tree.TreeFolder();
787
1396
  folder.setUserData("my", true);
788
1397
  return folder;
789
1398
  }
790
1399
  };
1400
+
791
1401
  this.__controller.setDelegate(delegate);
792
1402
 
793
1403
  // check the initial Labels
794
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
795
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
796
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
797
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1404
+ this.assertEquals(
1405
+ "root",
1406
+ this.__tree.getRoot().getLabel(),
1407
+ "Root node has a wrong name"
1408
+ );
1409
+
1410
+ this.assertEquals(
1411
+ "a",
1412
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1413
+ "First node has a wrong name"
1414
+ );
1415
+
1416
+ this.assertEquals(
1417
+ "b",
1418
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1419
+ "Second node has a wrong name"
1420
+ );
1421
+
1422
+ this.assertEquals(
1423
+ "c",
1424
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1425
+ "Third node has a wrong name"
1426
+ );
798
1427
 
799
1428
  // check if the folders are the self created folders
800
- this.assertTrue(this.__tree.getRoot().getUserData("my"), "Default folders found.");
801
- this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("my"), "Default folders found.");
802
- this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("my"), "Default folders found.");
803
- this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("my"), "Default folders found.");
1429
+ this.assertTrue(
1430
+ this.__tree.getRoot().getUserData("my"),
1431
+ "Default folders found."
1432
+ );
1433
+
1434
+ this.assertTrue(
1435
+ this.__tree.getRoot().getChildren()[0].getUserData("my"),
1436
+ "Default folders found."
1437
+ );
1438
+
1439
+ this.assertTrue(
1440
+ this.__tree.getRoot().getChildren()[1].getUserData("my"),
1441
+ "Default folders found."
1442
+ );
1443
+
1444
+ this.assertTrue(
1445
+ this.__tree.getRoot().getChildren()[2].getUserData("my"),
1446
+ "Default folders found."
1447
+ );
804
1448
  },
805
1449
 
806
-
807
- testDelegateCreateFirst: function () {
1450
+ testDelegateCreateFirst() {
808
1451
  this.__controller.dispose();
809
1452
 
810
1453
  this.__controller = new qx.data.controller.Tree();
811
1454
  var delegate = {
812
- createItem : function() {
1455
+ createItem() {
813
1456
  var folder = new qx.ui.tree.TreeFolder();
814
1457
  folder.setUserData("my", true);
815
1458
  return folder;
@@ -823,57 +1466,131 @@ qx.Class.define("qx.test.data.controller.Tree",
823
1466
  this.__controller.setModel(this.__model);
824
1467
  this.__controller.setTarget(tree);
825
1468
 
826
-
827
1469
  // check the initial Labels
828
- this.assertEquals("root", tree.getRoot().getLabel(), "Root node has a wrong name");
829
- this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
830
- this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
831
- this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1470
+ this.assertEquals(
1471
+ "root",
1472
+ tree.getRoot().getLabel(),
1473
+ "Root node has a wrong name"
1474
+ );
1475
+
1476
+ this.assertEquals(
1477
+ "a",
1478
+ tree.getRoot().getChildren()[0].getLabel(),
1479
+ "First node has a wrong name"
1480
+ );
1481
+
1482
+ this.assertEquals(
1483
+ "b",
1484
+ tree.getRoot().getChildren()[1].getLabel(),
1485
+ "Second node has a wrong name"
1486
+ );
1487
+
1488
+ this.assertEquals(
1489
+ "c",
1490
+ tree.getRoot().getChildren()[2].getLabel(),
1491
+ "Third node has a wrong name"
1492
+ );
832
1493
 
833
1494
  // check if the folders are the self created folders
834
- this.assertTrue(tree.getRoot().getUserData("my"), "Default folders found.");
835
- this.assertTrue(tree.getRoot().getChildren()[0].getUserData("my"), "Default folders found.");
836
- this.assertTrue(tree.getRoot().getChildren()[1].getUserData("my"), "Default folders found.");
837
- this.assertTrue(tree.getRoot().getChildren()[2].getUserData("my"), "Default folders found.");
1495
+ this.assertTrue(
1496
+ tree.getRoot().getUserData("my"),
1497
+ "Default folders found."
1498
+ );
1499
+
1500
+ this.assertTrue(
1501
+ tree.getRoot().getChildren()[0].getUserData("my"),
1502
+ "Default folders found."
1503
+ );
1504
+
1505
+ this.assertTrue(
1506
+ tree.getRoot().getChildren()[1].getUserData("my"),
1507
+ "Default folders found."
1508
+ );
1509
+
1510
+ this.assertTrue(
1511
+ tree.getRoot().getChildren()[2].getUserData("my"),
1512
+ "Default folders found."
1513
+ );
838
1514
 
839
1515
  tree.destroy();
840
1516
  },
841
1517
 
842
-
843
- testDelegateBindLate: function () {
1518
+ testDelegateBindLate() {
844
1519
  var delegate = {
845
- bindItem : function(controller, item, id) {
1520
+ bindItem(controller, item, id) {
846
1521
  controller.bindDefaultProperties(item, id);
847
1522
  controller.bindProperty("color", "textColor", null, item, id);
848
1523
  }
849
1524
  };
1525
+
850
1526
  this.__controller.setDelegate(delegate);
851
1527
 
852
1528
  // check the initial Labels
853
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
854
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
855
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
856
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1529
+ this.assertEquals(
1530
+ "root",
1531
+ this.__tree.getRoot().getLabel(),
1532
+ "Root node has a wrong name"
1533
+ );
1534
+
1535
+ this.assertEquals(
1536
+ "a",
1537
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1538
+ "First node has a wrong name"
1539
+ );
1540
+
1541
+ this.assertEquals(
1542
+ "b",
1543
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1544
+ "Second node has a wrong name"
1545
+ );
1546
+
1547
+ this.assertEquals(
1548
+ "c",
1549
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1550
+ "Third node has a wrong name"
1551
+ );
857
1552
 
858
1553
  // check the names
859
- this.assertEquals("green", this.__tree.getRoot().getTextColor(), "Root node has a wrong name");
860
- this.assertEquals("red", this.__tree.getRoot().getChildren()[0].getTextColor(), "First node has a wrong name");
861
- this.assertEquals("blue", this.__tree.getRoot().getChildren()[1].getTextColor(), "Second node has a wrong name");
862
- this.assertEquals("white", this.__tree.getRoot().getChildren()[2].getTextColor(), "Third node has a wrong name");
1554
+ this.assertEquals(
1555
+ "green",
1556
+ this.__tree.getRoot().getTextColor(),
1557
+ "Root node has a wrong name"
1558
+ );
1559
+
1560
+ this.assertEquals(
1561
+ "red",
1562
+ this.__tree.getRoot().getChildren()[0].getTextColor(),
1563
+ "First node has a wrong name"
1564
+ );
1565
+
1566
+ this.assertEquals(
1567
+ "blue",
1568
+ this.__tree.getRoot().getChildren()[1].getTextColor(),
1569
+ "Second node has a wrong name"
1570
+ );
1571
+
1572
+ this.assertEquals(
1573
+ "white",
1574
+ this.__tree.getRoot().getChildren()[2].getTextColor(),
1575
+ "Third node has a wrong name"
1576
+ );
863
1577
 
864
1578
  this.__model.setColor("black");
865
- this.assertEquals("black", this.__tree.getRoot().getTextColor(), "Root node has a wrong name");
1579
+ this.assertEquals(
1580
+ "black",
1581
+ this.__tree.getRoot().getTextColor(),
1582
+ "Root node has a wrong name"
1583
+ );
866
1584
  },
867
1585
 
868
-
869
-
870
- testDelegateBindFirst: function () {
1586
+ testDelegateBindFirst() {
871
1587
  var delegate = {
872
- bindItem : function(controller, item, id) {
1588
+ bindItem(controller, item, id) {
873
1589
  controller.bindDefaultProperties(item, id);
874
1590
  controller.bindProperty("color", "textColor", null, item, id);
875
1591
  }
876
1592
  };
1593
+
877
1594
  var tree = new qx.ui.tree.Tree();
878
1595
  this.__controller.setDelegate(delegate);
879
1596
  this.__controller.setChildPath("children");
@@ -882,48 +1599,124 @@ qx.Class.define("qx.test.data.controller.Tree",
882
1599
  this.__controller.setTarget(tree);
883
1600
 
884
1601
  // check the initial Labels
885
- this.assertEquals("root", tree.getRoot().getLabel(), "Root node has a wrong name");
886
- this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
887
- this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
888
- this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1602
+ this.assertEquals(
1603
+ "root",
1604
+ tree.getRoot().getLabel(),
1605
+ "Root node has a wrong name"
1606
+ );
1607
+
1608
+ this.assertEquals(
1609
+ "a",
1610
+ tree.getRoot().getChildren()[0].getLabel(),
1611
+ "First node has a wrong name"
1612
+ );
1613
+
1614
+ this.assertEquals(
1615
+ "b",
1616
+ tree.getRoot().getChildren()[1].getLabel(),
1617
+ "Second node has a wrong name"
1618
+ );
1619
+
1620
+ this.assertEquals(
1621
+ "c",
1622
+ tree.getRoot().getChildren()[2].getLabel(),
1623
+ "Third node has a wrong name"
1624
+ );
889
1625
 
890
1626
  // check the names
891
- this.assertEquals("green", tree.getRoot().getTextColor(), "Root node has a wrong name");
892
- this.assertEquals("red", tree.getRoot().getChildren()[0].getTextColor(), "First node has a wrong name");
893
- this.assertEquals("blue", tree.getRoot().getChildren()[1].getTextColor(), "Second node has a wrong name");
894
- this.assertEquals("white", tree.getRoot().getChildren()[2].getTextColor(), "Third node has a wrong name");
1627
+ this.assertEquals(
1628
+ "green",
1629
+ tree.getRoot().getTextColor(),
1630
+ "Root node has a wrong name"
1631
+ );
1632
+
1633
+ this.assertEquals(
1634
+ "red",
1635
+ tree.getRoot().getChildren()[0].getTextColor(),
1636
+ "First node has a wrong name"
1637
+ );
1638
+
1639
+ this.assertEquals(
1640
+ "blue",
1641
+ tree.getRoot().getChildren()[1].getTextColor(),
1642
+ "Second node has a wrong name"
1643
+ );
1644
+
1645
+ this.assertEquals(
1646
+ "white",
1647
+ tree.getRoot().getChildren()[2].getTextColor(),
1648
+ "Third node has a wrong name"
1649
+ );
895
1650
 
896
1651
  this.__model.setColor("black");
897
- this.assertEquals("black", tree.getRoot().getTextColor(), "Root node has a wrong name");
1652
+ this.assertEquals(
1653
+ "black",
1654
+ tree.getRoot().getTextColor(),
1655
+ "Root node has a wrong name"
1656
+ );
898
1657
 
899
1658
  tree.dispose();
900
1659
  },
901
1660
 
902
-
903
- testDelegateBindPropertyReverse: function () {
1661
+ testDelegateBindPropertyReverse() {
904
1662
  var delegate = {
905
- bindItem : function(controller, item, id) {
1663
+ bindItem(controller, item, id) {
906
1664
  controller.bindProperty("name", "appearance", null, item, id);
907
1665
  controller.bindPropertyReverse("name", "appearance", null, item, id);
908
- controller.bindPropertyReverse("color", "backgroundColor", null, item, id);
1666
+ controller.bindPropertyReverse(
1667
+ "color",
1668
+ "backgroundColor",
1669
+ null,
1670
+ item,
1671
+ id
1672
+ );
909
1673
  }
910
1674
  };
1675
+
911
1676
  this.__controller.setDelegate(delegate);
912
1677
 
913
1678
  // check the initial Labels
914
- this.assertEquals("root", this.__tree.getRoot().getAppearance(), "Root node has a wrong name");
915
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getAppearance(), "First node has a wrong name");
916
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getAppearance(), "Second node has a wrong name");
917
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getAppearance(), "Third node has a wrong name");
1679
+ this.assertEquals(
1680
+ "root",
1681
+ this.__tree.getRoot().getAppearance(),
1682
+ "Root node has a wrong name"
1683
+ );
1684
+
1685
+ this.assertEquals(
1686
+ "a",
1687
+ this.__tree.getRoot().getChildren()[0].getAppearance(),
1688
+ "First node has a wrong name"
1689
+ );
1690
+
1691
+ this.assertEquals(
1692
+ "b",
1693
+ this.__tree.getRoot().getChildren()[1].getAppearance(),
1694
+ "Second node has a wrong name"
1695
+ );
1696
+
1697
+ this.assertEquals(
1698
+ "c",
1699
+ this.__tree.getRoot().getChildren()[2].getAppearance(),
1700
+ "Third node has a wrong name"
1701
+ );
918
1702
 
919
1703
  // check the reverse binding
920
1704
  this.__tree.getRoot().setAppearance("ROOT");
921
- this.assertEquals("ROOT", this.__model.getName(), "Reverse binding not ok!");
1705
+ this.assertEquals(
1706
+ "ROOT",
1707
+ this.__model.getName(),
1708
+ "Reverse binding not ok!"
1709
+ );
1710
+
922
1711
  this.__tree.getRoot().getChildren()[0].setBackgroundColor("#123456");
923
- this.assertEquals("#123456", this.__a.getColor(), "Reverse binding not ok!");
1712
+ this.assertEquals(
1713
+ "#123456",
1714
+ this.__a.getColor(),
1715
+ "Reverse binding not ok!"
1716
+ );
924
1717
 
925
1718
  // invoke a removing and setting of the bindings with the new bindItem
926
- delegate.bindItem = function(controller, item, id) {
1719
+ delegate.bindItem = function (controller, item, id) {
927
1720
  controller.bindProperty("name", "appearance", null, item, id);
928
1721
  };
929
1722
  this.__controller.setDelegate(null);
@@ -935,13 +1728,12 @@ qx.Class.define("qx.test.data.controller.Tree",
935
1728
  this.assertEquals("#123456", this.__a.getColor(), "Removing not ok");
936
1729
  },
937
1730
 
938
-
939
- testDelegateAddItem: function() {
1731
+ testDelegateAddItem() {
940
1732
  var a = new qx.test.TreeNode();
941
1733
  a.setName("new");
942
1734
  // set a delegate
943
1735
  this.__controller.setDelegate({
944
- createItem : function() {
1736
+ createItem() {
945
1737
  return new qx.ui.tree.TreeFolder();
946
1738
  }
947
1739
  });
@@ -952,14 +1744,12 @@ qx.Class.define("qx.test.data.controller.Tree",
952
1744
  this.__model.getChildren().push(a);
953
1745
  },
954
1746
 
955
-
956
- testResetModel: function() {
1747
+ testResetModel() {
957
1748
  this.__controller.resetModel();
958
1749
  this.assertNull(this.__tree.getRoot(), "Tree is not empty.");
959
1750
  },
960
1751
 
961
-
962
- testChangeChildrenArray : function() {
1752
+ testChangeChildrenArray() {
963
1753
  // create the new children array
964
1754
  var children = new qx.data.Array();
965
1755
  var a = new qx.test.TreeNode();
@@ -979,19 +1769,31 @@ qx.Class.define("qx.test.data.controller.Tree",
979
1769
  oldChildren.dispose();
980
1770
 
981
1771
  // Test if the tree nodes exist
982
- this.assertNotUndefined(this.__tree.getRoot(), "Root node does not exist");
983
- this.assertNotUndefined(this.__tree.getRoot().getChildren()[0], "First node does not exist");
984
- this.assertNotUndefined(this.__tree.getRoot().getChildren()[0].getChildren()[0], "New node does not exist");
1772
+ this.assertNotUndefined(
1773
+ this.__tree.getRoot(),
1774
+ "Root node does not exist"
1775
+ );
1776
+
1777
+ this.assertNotUndefined(
1778
+ this.__tree.getRoot().getChildren()[0],
1779
+ "First node does not exist"
1780
+ );
1781
+
1782
+ this.assertNotUndefined(
1783
+ this.__tree.getRoot().getChildren()[0].getChildren()[0],
1784
+ "New node does not exist"
1785
+ );
985
1786
 
986
1787
  // test if its the proper node
987
- this.assertEquals("new", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel());
1788
+ this.assertEquals(
1789
+ "new",
1790
+ this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel()
1791
+ );
988
1792
  },
989
1793
 
990
-
991
- testInheritedChildren : function()
992
- {
1794
+ testInheritedChildren() {
993
1795
  qx.Class.define("qx.test.MyTreeNode", {
994
- extend : qx.test.TreeNode
1796
+ extend: qx.test.TreeNode
995
1797
  });
996
1798
 
997
1799
  // init (copy of setUp)
@@ -1019,11 +1821,11 @@ qx.Class.define("qx.test.data.controller.Tree",
1019
1821
 
1020
1822
  this.__b = new qx.test.MyTreeNode();
1021
1823
  this.__b.set({
1022
- name: "b",
1023
- name2: "b2",
1024
- icon: "icon b",
1025
- icon2: "icon b2",
1026
- color: "blue"
1824
+ name: "b",
1825
+ name2: "b2",
1826
+ icon: "icon b",
1827
+ icon2: "icon b2",
1828
+ color: "blue"
1027
1829
  });
1028
1830
 
1029
1831
  this.__c = new qx.test.MyTreeNode();
@@ -1040,23 +1842,44 @@ qx.Class.define("qx.test.data.controller.Tree",
1040
1842
 
1041
1843
  // create the controller
1042
1844
  this.__controller.dispose();
1043
- this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
1845
+ this.__controller = new qx.data.controller.Tree(
1846
+ this.__model,
1847
+ this.__tree,
1848
+ "children",
1849
+ "name"
1850
+ );
1044
1851
 
1045
1852
  // check the initial Labels
1046
- this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1047
- this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1048
- this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1049
- this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1853
+ this.assertEquals(
1854
+ "root",
1855
+ this.__tree.getRoot().getLabel(),
1856
+ "Root node has a wrong name"
1857
+ );
1858
+
1859
+ this.assertEquals(
1860
+ "a",
1861
+ this.__tree.getRoot().getChildren()[0].getLabel(),
1862
+ "First node has a wrong name"
1863
+ );
1864
+
1865
+ this.assertEquals(
1866
+ "b",
1867
+ this.__tree.getRoot().getChildren()[1].getLabel(),
1868
+ "Second node has a wrong name"
1869
+ );
1870
+
1871
+ this.assertEquals(
1872
+ "c",
1873
+ this.__tree.getRoot().getChildren()[2].getLabel(),
1874
+ "Third node has a wrong name"
1875
+ );
1050
1876
  },
1051
1877
 
1052
-
1053
- testRemoveEvents : function()
1054
- {
1878
+ testRemoveEvents() {
1055
1879
  // BUG #3566
1056
1880
 
1057
1881
  var nodes = [];
1058
- for (var i = 0; i < 50; ++i)
1059
- {
1882
+ for (var i = 0; i < 50; ++i) {
1060
1883
  nodes[i] = new qx.test.TreeNode();
1061
1884
  if (i != 0) {
1062
1885
  nodes[parseInt(Math.random() * i, 10)].getChildren().push(nodes[i]);
@@ -1064,7 +1887,12 @@ qx.Class.define("qx.test.data.controller.Tree",
1064
1887
  }
1065
1888
 
1066
1889
  var tree = new qx.ui.tree.Tree();
1067
- var controller = new qx.data.controller.Tree(nodes[0], tree, "children", "name");
1890
+ var controller = new qx.data.controller.Tree(
1891
+ nodes[0],
1892
+ tree,
1893
+ "children",
1894
+ "name"
1895
+ );
1068
1896
 
1069
1897
  for (var i = 0; i < nodes.length; ++i) {
1070
1898
  nodes[i].getChildren().removeAll(); // THIS THROWS AN EXCEPTION ON 2ND ELEMENT...
@@ -1078,32 +1906,40 @@ qx.Class.define("qx.test.data.controller.Tree",
1078
1906
  }
1079
1907
  },
1080
1908
 
1081
-
1082
- testBindItemDouble: function(){
1909
+ testBindItemDouble() {
1083
1910
  var delegate = {
1084
- bindItem : function(controller, item, id) {
1911
+ bindItem(controller, item, id) {
1085
1912
  controller.bindProperty("color", "textColor", null, item, id);
1086
1913
  controller.bindProperty("color", "textColor", null, item, id);
1087
1914
  }
1088
1915
  };
1916
+
1089
1917
  var self = this;
1090
- this.assertException(function() {
1091
- self.__controller.setDelegate(delegate);
1092
- }, Error, /textColor/.g);
1918
+ this.assertException(
1919
+ function () {
1920
+ self.__controller.setDelegate(delegate);
1921
+ },
1922
+ Error,
1923
+ /textColor/.g
1924
+ );
1093
1925
  },
1094
1926
 
1095
-
1096
- testBindItemDoubleReverse: function(){
1927
+ testBindItemDoubleReverse() {
1097
1928
  var delegate = {
1098
- bindItem : function(controller, item, id) {
1929
+ bindItem(controller, item, id) {
1099
1930
  controller.bindPropertyReverse("color", "textColor", null, item, id);
1100
1931
  controller.bindPropertyReverse("color", "textColor", null, item, id);
1101
1932
  }
1102
1933
  };
1934
+
1103
1935
  var self = this;
1104
- this.assertException(function() {
1105
- self.__controller.setDelegate(delegate);
1106
- }, Error, /textColor/.g);
1936
+ this.assertException(
1937
+ function () {
1938
+ self.__controller.setDelegate(delegate);
1939
+ },
1940
+ Error,
1941
+ /textColor/.g
1942
+ );
1107
1943
  }
1108
1944
  }
1109
1945
  });