# Yahoo! UI Library

### overlay 3.0.0b1

Yahoo! UI Library > overlay > Overlay
Search:
Filters
Show Private Show Protected Show Deprecated

## Class Overlay - extends Widget - uses WidgetPosition , WidgetStack , WidgetPositionExt , WidgetStdMod

A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support). It also provides alignment and centering support and uses a standard module format for it's content, with header, body and footer section support.

### Constructor

Overlay `( object )`

Parameters:
  `object <Object>` The user configuration for the instance.

#### Properties inherited from Widget:

`_strings, BOUNDING_TEMPLATE, CONTENT_TEMPLATE, DEF_UNIT, WRAP_STYLES`

#### Properties inherited from WidgetPositionExt:

``

#### Properties inherited from Attribute:

``

#### Properties inherited from WidgetStack:

``

#### Properties inherited from Base:

`name`

#### Properties inherited from WidgetStdMod:

``

#### Properties inherited from WidgetPosition:

``

#### Methods inherited from Plugin.Host:

`_destroyPlugins, _initPlugins, _plug, _unplug, hasPlugin, plug, unplug`

#### Methods inherited from Widget:

`_afterDisabledChange, _afterFocusedChange, _afterHeightChange, _afterVisibleChange, _afterWidthChange, _bindDOMListeners, _bindUI, _defRenderFn, _getHtmlParser, _getStrings, _moveStyles, _onDocMouseDown, _onFocus, _parseHTML, _renderBox, _renderBoxClassNames, _renderUI, _setBoundingBox, _setBox, _setContentBox, _setStrings, _syncUI, _uiSetDisabled, _uiSetFocused, _uiSetHeight, _uiSetTabIndex, _uiSetVisible, _uiSetWidth, bindUI, blur, destructor, disabled, enable, focus, getClassName, getDefaultLocale, getString, getStrings, hide, initializer, render, renderer, renderUI, show, syncUI, toString`

#### Methods inherited from WidgetStack:

`_addShimResizeHandlers, _afterShimChange, _afterZIndexChange, _bindUIStack, _destroyShim, _detachStackHandles, _getShimTemplate, _renderShim, _renderShimDeferred, _renderUIStack, _setZIndex, _syncUIStack, _uiSetShim, _uiSetZIndex, sizeShim`

#### Methods inherited from Attribute:

`_addAttrs, _addLazyAttr, _defAttrChangeFn, _fireAttrChange, _getAttrInitVal, _isLazyAttr, _set, _setAttr, _setAttrVal, _splitAttrVals, addAttr, addAttrs, attrAdded, get, getAttrs, modifyAttr, removeAttr, reset, set, setAttrs`

#### Methods inherited from WidgetPositionExt:

`_afterAlignChange, _bindUIStack, _doAlign, _setAlignCenter, _syncUIPosExtras, _uiSetAlign, align, centered`

#### Methods inherited from EventTarget:

`_getType, _parseType, addTarget, after, before, bubble, detach, detachAll, fire, getEvent, on, publish, removeTarget, subscribe, unsubscribe, unsubscribeAll`

#### Methods inherited from Base:

`_aggregateAttrs, _defDestroyFn, _defInitFn, _destroyHierarchy, _filterAttrCfs, _getAttrCfgs, _getClasses, _initHierarchy, _initHierarchyData, destroy, init, toString`

#### Methods inherited from WidgetStdMod:

`_addNodeHTML, _addNodeRef, _afterBodyChange, _afterFillHeightChange, _afterFooterChange, _afterHeaderChange, _bindUIStdMod, _fillHeight, _findStdModSection, _getPreciseHeight, _getStdModContent, _getStdModTemplate, _insertStdModSection, _parseStdModHTML, _renderStdMod, _renderUIStdMod, _syncUIStdMod, _uiSetFillHeight, _uiSetStdMod, _validateFillHeight, fillHeight, getStdModNode, setStdModContent`

#### Methods inherited from WidgetPosition:

`_afterXYChange, _bindUIPosition, _getX, _getY, _renderUIPosition, _setX, _setY, _syncUIPosition, _uiSetXY, _validateXY, move, syncXY`

#### Events inherited from Widget:

`boundingBoxChange, contentBoxChange, disabledChange, focusedChange, heightChange, localeChange, moveStylesChange, renderedChange, stringsChange, tabIndexChange, visibleChange, widget:contentUpdate, widget:render, widthChange,`

#### Events inherited from WidgetPositionExt:

`alignChange, centeredChange,`

#### Events inherited from WidgetStack:

`shimChange, zIndexChange,`

#### Events inherited from Base:

`destroy, destroyedChange, init, initializedChange,`

#### Events inherited from WidgetStdMod:

`bodyContentChange, fillHeightChange, footerContentChange, headerContentChange,`

#### Events inherited from WidgetPosition:

`xChange, xyChange, yChange,`

#### Configuration attributes inherited from Widget:

`boundingBox, contentBox, disabled, focused, height, locale, moveStyles, rendered, strings, tabIndex, visible, width,`

#### Configuration attributes inherited from WidgetPositionExt:

`align, centered,`

#### Configuration attributes inherited from WidgetStack:

`shim, zIndex,`

#### Configuration attributes inherited from Base:

`destroyed, initialized,`

#### Configuration attributes inherited from WidgetStdMod:

`bodyContent, fillHeight, footerContent, headerContent,`

#### Configuration attributes inherited from WidgetPosition:

`x, xy, y,`

Copyright © 2009 Yahoo! Inc. All rights reserved.