Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 activate, UI. Window
 adapt, UI. Window
 allOptions, UI. Options
B
 blur
 bringToFront, UI. Window
C
 center, UI. Window
 checkScroll, UI. Carousel
 computeElementSize
 currentIndex, UI. Carousel
 currentLastPosition, UI. Carousel
 currentPosition, UI. Carousel
 currentSize, UI. Carousel
D
 debug, AbstractLogger
 destroy
E
 error, AbstractLogger
F
 fire
 fixPNG, CSS
 focus
G
 getAltitude, UI. Window
 getBounds, UI. Window
 getFocusedWindow, UI. WindowManager
 getPosition, UI. Window
 getShadowTheme, UI. Window
 getSize, UI. Window
 getTheme, UI. Window
 getWindow, UI. WindowManager
H
 hide
I
 info, AbstractLogger
 initialize
M
 makeElement, String
O
 observe
 optionsAccessor, UI. Options
 optionsGetter, UI. Options
 optionsSetter, UI. Options
P
 positionUnder, UI. IframeShim
R
 remove, UI. Shadow
 restore, UI. Window
 runRequest, UI. Ajax. Carousel
S
 scroll
 scrollTo, UI. Carousel
 sendToBack, UI. Window
 setAjaxContent, UI. Window
 setAltitude, UI. Window
 setBounds
 setContent, UI. Window
 setDraggable, UI. Window
 setFooter, UI. Window
 setHeader, UI. Window
 setOptions, UI. Options
 setPosition
 setResizable, UI. Window
 setSize
 setTheme
 setZIndex, UI. Shadow
 show
 stopObserving, UI. Carousel
activate: function()
Brings window to the front and sets focus on it
adapt: function()
Adapts window size to fit its content
allOptions: function()
Computes the complete default options hash made by reverse extending all superclasses default options.
blur: function()
Blurs shadow.
blur: function()
Blurs the window (without changing windows order)
bringToFront: function()
Brings window to the front (but does not set focus on it)
center: function(options)
Centers the window within its viewport
checkScroll: function(position,
updatePosition)
Check scroll position to avoid unused space at right or bottom
computeElementSize: function()
Return elements size in pixel
computeElementSize: function()
Return elements size in pixel, height or width depends on carousel orientation.
currentIndex: function()
Returns current visible index of a carousel.
currentLastPosition: function()
Returns the current position from the end of the last element.
currentPosition: function()
Returns the current position in pixel.
currentSize: function()
Returns the current size of the carousel in pixel
Logs with “debug” level
destroy: function($super)
Cleans up DOM and memory
destroy: function()
Completely removes the iframe shim from the document
destroy: function()
Destructor, removes elements from the DOM
destroy: function($super)
Destructor, closes window, cleans up DOM and memory
Logs with “error” level
fire: function(eventName,
memo)
Fires a carousel custom event automatically namespaced in “carousel:” (see Prototype custom events).
fire: function(eventName,
memo)
Fires a window custom event automatically namespaced in “window:” (see Prototype custom events).
Fix transparency of PNG background of document stylesheets.
focus: function()
Focus shadow.
focus: function()
Focuses the window (without bringing window to the front)
getAltitude: function()
Returns window altitude, an integer between 0 and the number of windows, the higher the altitude number - the higher the window position.
getBounds: function(innerSize)
Returns window bounds (in pixels)
getFocusedWindow: function()
Returns the focused window
getPosition: function()
Returns top/left position of a window (in pixels)
getShadowTheme: function()
Returns shadow theme name
getSize: function(innerSize)
Returns window width/height dimensions (in pixels)
getTheme: function()
Returns window theme name
getWindow: function(element)
Find the window containing a given element.
hide: function()
Hides iframe shim leaving its position and dimensions intact
hide: function()
Hides shadow
Logs with “info” level
initialize: function(element)
Constructor, takes a DOM element to log into as argument
initialize: function($super,
element,
options)
Constructor function, should not be called directly
initialize: function(element,
options)
Constructor function, should not be called directly
initialize: function()
Constructor
initialize: function(element,
options)
Constructor, adds shadow elements to the DOM if element is in the DOM.
initialize: function(options)
Constructor, should not be called directly, it’s called by new operator (new Window()) The window is not open and nothing has been added to the DOM yet
makeElement: function()
toElement is unfortunately already taken :/
observe: function(eventName,
handler)
Observe a carousel event with a handler function automatically bound to the carousel
observe: function(eventName,
handler)
Observe a window event with a handler function automatically bound to the window
optionsAccessor: function()
Creates default getters/setters for option names given as arguments.
optionsGetter: function()
Creates default getters for option names given as arguments.
optionsSetter: function()
Creates default setters for option names given as arguments.
positionUnder: function(element)
Positions iframe shim under the specified element Sets proper dimensions, offset, zIndex and shows it Note that the element should have explicitly specified zIndex
remove: function()
Removes shadow from the DOM
restore: function()
Restores a maximized window to its initial size
runRequest: function(options)
Request the new elements details
scroll: function($super,
deltaPixel)
Scrolls carousel from maximum deltaPixel
scroll: function(deltaPixel)
Scrolls carousel from maximum deltaPixel
scrollTo: function(index)
Scrolls carousel, so that element with specified index is the left-most.
sendToBack: function()
Sends window to the back (without changing its focus)
setAjaxContent: function(url,
options)
Sets window content using Ajax request
setAltitude: function(altitude)
Sets window altitude, fires ‘altitude:changed’ if altitude was changed
setBounds: function(bounds)
Sets element’s width, height, top and left css properties using ‘px’ as units
setBounds: function(bounds)
Sets shadow bounds in pixels
setBounds: function(bounds,
innerSize)
Sets window bounds (in pixels), fires position:changed and size:changed
setContent: function(content)
Sets window content, equivalent to this.content.update(...)
setDraggable: function(draggable)
TODO
setFooter: function(footer)
Sets window footer, equivalent to this.footer.update(...)
setHeader: function(header)
Sets window header, equivalent to this.header.update(...)
setOptions: function(options)
Extends object’s options property with the given object
setPosition: function(top,
left)
Sets top/left shadow position in pixels
setPosition: function(top,
left)
Sets top/left position of a window (in pixels)
setResizable: function(resizable)
TODO
setSize: function(width,
height)
Sets width/height shadow in pixels
setSize: function(width,
height,
innerSize)
Sets window width/height dimensions (in pixels), fires size:changed
setTheme: function(theme,
windowManagerTheme)
Sets window theme
setTheme: function(theme)
Changes window manager’s theme, all windows that don’t have a own theme will have this new theme.
setZIndex: function(zIndex)
Sets shadow z-index
show: function()
Show iframe shim leaving its position and dimensions intact
show: function()
Displays shadow
stopObserving: function(eventName,
handler)
Unregisters a carousel event, it must take the same parameters as this.observe (see Prototype stopObserving).