widget-position/js/Widget-Position.js:24
Widget extension, which can be used to add positioning support to the base Widget class, through the Base.build method.
_afterXYChange
e
Defined in
widget-position/js/Widget-Position.js:245
Default attribute change listener for the xy attribute, responsible for updating the UI, in response to attribute changes.
e
EventFacade
The event facade for the attribute change
_bindUIPosition
Defined in
widget-position/js/Widget-Position.js:146
Binds event listeners responsible for updating the UI state in response to Widget position related state changes.
This method in invoked after bindUI is invoked for the Widget class using YUI's aop infrastructure.
_getX
Defined in
widget-position/js/Widget-Position.js:221
Default getter for the X attribute. The value is retrieved from the XY attribute, which is the sole store for the XY state.
The X page co-ordinate value
_getY
Defined in
widget-position/js/Widget-Position.js:233
Default getter for the Y attribute. The value is retrieved from the XY attribute, which is the sole store for the XY state.
The Y page co-ordinate value
_renderUIPosition
Defined in
widget-position/js/Widget-Position.js:116
Creates/Initializes the DOM to support xy page positioning.
This method in invoked after renderUI is invoked for the Widget class using YUI's aop infrastructure.
_setX
val
Defined in
widget-position/js/Widget-Position.js:197
Default setter for the X attribute. The setter passes the X value through to the XY attribute, which is the sole store for the XY state.
val
Number
The X page co-ordinate value
_setY
val
Defined in
widget-position/js/Widget-Position.js:209
Default setter for the Y attribute. The setter passes the Y value through to the XY attribute, which is the sole store for the XY state.
val
Number
The Y page co-ordinate value
_syncUIPosition
Defined in
widget-position/js/Widget-Position.js:129
Synchronizes the UI to match the Widgets xy page position state.
This method in invoked after syncUI is invoked for the Widget class using YUI's aop infrastructure.
_uiSetXY
val
Defined in
widget-position/js/Widget-Position.js:259
Updates the UI to reflect the XY page co-ordinates passed in.
val
String
The XY page co-ordinates value to be reflected in the UI
_validateXY
val
Defined in
widget-position/js/Widget-Position.js:185
Default validator for the XY attribute
val
Array
The XY page co-ordinate value which is being set.
true if valid, false if not.
move
x
[y]
Defined in
widget-position/js/Widget-Position.js:160
Moves the Widget to the specified page xy co-ordinate position.
syncXY
Defined in
widget-position/js/Widget-Position.js:175
Synchronizes the Panel's "xy", "x", and "y" properties with the Widget's position in the DOM.
ATTRS
Defined in
widget-position/js/Widget-Position.js:34
Static property used to define the default attribute configuration introduced by WidgetPosition.
POSITIONED_CLASS_NAME
Defined in
widget-position/js/Widget-Position.js:95
Default class used to mark the boundingBox of a positioned widget.
Default: "yui-widget-positioned"
x
Defined in
widget-position/js/Widget-Position.js:44
Page X co-ordinate for the widget. This attribute acts as a facade for the xy attribute. Changes in position can be monitored by listening for xyChange events.
Default: 0
xChange
Fires when the value for the configuration attribute x
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
xy
Defined in
widget-position/js/Widget-Position.js:80
Page XY co-ordinate pair for the widget.
Default: [0,0]
xyChange
Fires when the value for the configuration attribute xy
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
y
Defined in
widget-position/js/Widget-Position.js:62
Page Y co-ordinate for the widget. This attribute acts as a facade for the xy attribute. Changes in position can be monitored by listening for xyChange events.
Default: 0
yChange
Fires when the value for the configuration attribute y
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade