Widget-Position.js revision f7d92e8be534f4df53336784ce256933d6375ac6
/**
* @module widget-position
*/
POSITION = "position",
XY_COORD = "xy",
POSITIONED = "positioned",
BOUNDING_BOX = "boundingBox",
RENDERUI = "renderUI",
BINDUI = "bindUI",
SYNCUI = "syncUI",
PositionChange = "positionChange",
XYChange = "xyChange";
/**
* @class WidgetPosition
*/
// WIDGET METHOD OVERLAP
}
x: {
},
get: function() {
return this._getX();
}
},
y: {
},
get: function() {
return this._getY();
}
},
xy: {
return this._validateXY(val);
}
},
position: {
value:"absolute"
}
};
_renderUIPosition : function() {
},
_syncUIPosition : function() {
},
_bindUIPosition :function() {
},
/**
* Moves the Overlay to the specified position page x, y co-ordinate position.
*
* @method move
*
* @param {Number} x The new x position
* @param {Number} y The new y position
* <p>Or</p>
* @param {Array} x, y values passed as an array (x = index 0, y = index 1), to support
* simple pass through of Y.Node.getXY_COORD results
*/
move: function () {
},
/**
* Synchronizes the Panel's "xy", "x", and "y" properties with the
* Widget's position in the DOM.
*
* @method syncXY
*/
syncXY : function () {
},
_validateXY : function(val) {
},
},
},
_getX : function() {
},
_getY : function() {
},
_onPositionChange : function(e) {
this._uiSetPosition(e.newVal);
},
_onXYChange : function(e) {
}
},
_uiSetPosition : function(val) {
},
}
};
Y.WidgetPosition = Position;