node2.vwf.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Copyright 2012 United States Government, as represented by the Secretary of Defense, Under
  2. # Secretary of Defense (Personnel & Readiness).
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. # in compliance with the License. You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software distributed under the License
  10. # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  11. # or implied. See the License for the specific language governing permissions and limitations under
  12. # the License.
  13. ## The component representation of a 2D node
  14. ##
  15. ## @name node2.vwf
  16. ## @namespace
  17. ---
  18. extends: http://vwf.example.com/node.vwf
  19. properties:
  20. ## Enabled
  21. ##
  22. ## @name node2.vwf#enabled
  23. ## @property
  24. enabled: true
  25. ## Location
  26. ##
  27. ## @name node2.vwf#location
  28. ## @property
  29. location:
  30. set: |
  31. this.location = value;
  32. if ( this.locationChanged ) this.locationChanged( value );
  33. value: [ 0, 0 ]
  34. ## Size
  35. ##
  36. ## @name node2.vwf#size
  37. ## @property
  38. size:
  39. set: |
  40. this.size = value;
  41. if ( this.sizeChanged ) this.sizeChanged( value );
  42. events:
  43. resizing:
  44. moving:
  45. keyDown:
  46. keyPress:
  47. keyUp:
  48. pointerClick:
  49. pointerDown:
  50. pointerMove:
  51. pointerUp:
  52. pointerOver:
  53. pointerOut:
  54. touchHold:
  55. touchTap:
  56. touchDoubleTap:
  57. touchDrag:
  58. touchDragStart:
  59. touchDragEnd:
  60. touchDragUp:
  61. touchDragDown:
  62. touchDragLeft:
  63. touchDragRight:
  64. touchSwipe:
  65. touchSwipeUp:
  66. touchSwipeDown:
  67. touchSwipeLeft:
  68. touchSwipeRight:
  69. touchTransform:
  70. touchTransformStart:
  71. touchTransformEnd:
  72. touchRotate:
  73. touchPinch:
  74. touchPinchIn:
  75. touchPinchOut:
  76. touchStart:
  77. touchRelease: