Prototype-UI Release Candidate 0 | Function Index
Brings window to the front and sets focus on it Adapts window size to fit its content Computes the complete default options hash made by reverse extending all superclasses default options. Blurs shadow. Blurs the window (without changing windows order) Brings window to the front (but does not set focus on it) Centers the window within its viewport Check scroll position to avoid unused space at right or bottom Return elements size in pixel Return elements size in pixel, height or width depends on carousel orientation. Returns current visible index of a carousel. Returns the current position from the end of the last element. Returns the current position in pixel. Returns the current size of the carousel in pixel Logs with “debug” level Cleans up DOM and memory Completely removes the iframe shim from the document Destructor, removes elements from the DOM Destructor, closes window, cleans up DOM and memory Logs with “error” level Fires a carousel custom event automatically namespaced in “carousel:” (see Prototype custom events). Fires a window custom event automatically namespaced in “window:” (see Prototype custom events). Fix transparency of PNG background of document stylesheets. Focus shadow. Focuses the window (without bringing window to the front) Returns window altitude, an integer between 0 and the number of windows, the higher the altitude number - the higher the window position. Returns window bounds (in pixels) Returns the focused window Returns top/left position of a window (in pixels) Returns shadow theme name Returns window width/height dimensions (in pixels) Returns window theme name Find the window containing a given element. Hides iframe shim leaving its position and dimensions intact Hides shadow Logs with “info” level Constructor, takes a DOM element to log into as argument Constructor function, should not be called directly Constructor function, should not be called directly Constructor Constructor, adds shadow elements to the DOM if element is in the DOM. 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 toElement is unfortunately already taken :/ Observe a carousel event with a handler function automatically bound to the carousel Observe a window event with a handler function automatically bound to the window Creates default getters/setters for option names given as arguments. Creates default getters for option names given as arguments. Creates default setters for option names given as arguments. Positions iframe shim under the specified element Sets proper dimensions, offset, zIndex and shows it Note that the element should have explicitly specified zIndex Removes shadow from the DOM Restores a maximized window to its initial size Request the new elements details Scrolls carousel from maximum deltaPixel Scrolls carousel from maximum deltaPixel Scrolls carousel, so that element with specified index is the left-most. Sends window to the back (without changing its focus) Sets window content using Ajax request Sets window altitude, fires ‘altitude:changed’ if altitude was changed Sets element’s width, height, top and left css properties using ‘px’ as units Sets shadow bounds in pixels Sets window bounds (in pixels), fires position:changed and size:changed Sets window content, equivalent to this.content.update(...) TODO Sets window footer, equivalent to this.footer.update(...) Sets window header, equivalent to this.header.update(...) Extends object’s options property with the given object Sets top/left shadow position in pixels Sets top/left position of a window (in pixels) TODO Sets width/height shadow in pixels Sets window width/height dimensions (in pixels), fires size:changed Sets window theme Changes window manager’s theme, all windows that don’t have a own theme will have this new theme. Sets shadow z-index Show iframe shim leaving its position and dimensions intact Displays shadow Unregisters a carousel event, it must take the same parameters as this.observe (see Prototype stopObserving). |