# Copyright 2012 United States Government, as represented by the Secretary of Defense, Under # Secretary of Defense (Personnel & Readiness). # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under the License # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express # or implied. See the License for the specific language governing permissions and limitations under # the License. ## The component representation of a 2D node ## ## @name node2.vwf ## @namespace --- extends: http://vwf.example.com/node.vwf properties: ## Enabled ## ## @name node2.vwf#enabled ## @property enabled: true ## Location ## ## @name node2.vwf#location ## @property location: set: | this.location = value; if ( this.locationChanged ) this.locationChanged( value ); value: [ 0, 0 ] ## Size ## ## @name node2.vwf#size ## @property size: set: | this.size = value; if ( this.sizeChanged ) this.sizeChanged( value ); events: resizing: moving: keyDown: keyPress: keyUp: pointerClick: pointerDown: pointerMove: pointerUp: pointerOver: pointerOut: touchHold: touchTap: touchDoubleTap: touchDrag: touchDragStart: touchDragEnd: touchDragUp: touchDragDown: touchDragLeft: touchDragRight: touchSwipe: touchSwipeUp: touchSwipeDown: touchSwipeLeft: touchSwipeRight: touchTransform: touchTransformStart: touchTransformEnd: touchRotate: touchPinch: touchPinchIn: touchPinchOut: touchStart: touchRelease: