Lines Matching refs:panel

2752         EDITOR_PANEL_ID: 'yui-editor-panel',
3298 * @config panel
3299 * @description A reference to the panel we are using for windows.
3303 this.setAttributeConfig('panel', {
3791 this.get('panel').setFooter(str);
3794 this.get('panel').setFooter(' ');
3797 this.get('panel').setFooter(str);
3917 this.get('panel').setFooter(str);
3920 this.get('panel').setFooter(' ');
4663 * @description Renders the panel used for Editor Windows to the document so we can start using it..
4667 if (!YAHOO.widget.EditorInfo.panel) {
4668 var panel = new YAHOO.widget.Panel(this.EDITOR_PANEL_ID, {
4676 YAHOO.widget.EditorInfo.panel = panel;
4678 var panel = YAHOO.widget.EditorInfo.panel;
4680 this.set('panel', panel);
4682 this.get('panel').setBody('---');
4683 this.get('panel').setHeader(' ');
4684 this.get('panel').setFooter(' ');
4686 this.get('panel').render(document.body);
4687 Dom.addClass(this.get('panel').element, 'yui-editor-panel');
4690 this.get('panel').render(document.body);
4691 Dom.addClass(this.get('panel').element, 'yui-editor-panel');
4694 this.get('panel').showEvent.subscribe(function() {
4697 return this.get('panel');
4702 * @description Opens a new "window/panel"
4716 panel = this.get('panel'),
4721 this.fireEvent('beforeOpenWindow', { type: 'beforeOpenWindow', win: win, panel: panel });
4740 Dom.setStyle(panel.element.firstChild, 'width', win.attrs.width);
4763 panel.cfg.setProperty('width', win.attrs.width);
4764 panel.setHeader(' '); //Clear the current header
4765 panel.appendToHeader(_header);
4768 panel.setBody(' '); //Clear the current body
4769 panel.setFooter(' '); //Clear the current footer
4771 panel.setFooter(win.footer);
4773 panel.appendToBody(body); //Append the new DOM node to it
4774 panel.showEvent.subscribe(function() {
4775 Event.addListener(panel.element, 'click', function(ev) {
4779 panel.hideEvent.subscribe(function() {
4787 panel.show();
4788 this.fireEvent('afterOpenWindow', { type: 'afterOpenWindow', win: win, panel: panel });
4793 * @description Realign the window with the currentElement and reposition the knob above the panel.
4802 panel = this.get('panel'),
4807 orgXY = panel.cfg.getProperty('xy'),
4881 Dom.setStyle(panel.element, 'opacity', '0');
4882 var anim = new YAHOO.util.Anim(panel.element, {
4888 panel.cfg.setProperty('xy', newXY);
4891 panel.element.style.filter = 'none';
4896 panel.cfg.setProperty('xy', newXY);
4900 var anim = new YAHOO.util.Anim(panel.element, {}, .5, YAHOO.util.Easing.easeOut);
4910 panel.cfg.setProperty('xy', newXY);
4912 //We have to animate the iframe shim at the same time as the panel or we get scrollbar bleed ..
4913 var iframeAnim = new YAHOO.util.Anim(panel.iframe, anim.attributes, .5, YAHOO.util.Easing.easeOut)
4925 panel.cfg.setProperty('xy', newXY);
4951 this.get('panel').hide();
4952 this.get('panel').cfg.setProperty('xy', [-900,-900]);
4953 this.get('panel').syncIframe(); //Needed to move the iframe with the hidden panel
5067 * @param {Overlay} panel The Overlay object that is used to create the window.
5074 * @param {Overlay} panel The Overlay object that is used to create the window.
5087 * @param {Overlay} panel The Overlay object that is used to create the window.
5094 * @param {Overlay} panel The Overlay object that is used to create the window.
5114 * @property panel
5115 * @description A reference to the currently open panel in any editor on the page.
5118 panel: null
5122 * @description Class to hold Window information between uses. We use the same panel to show the windows, so using this will allow you to configure a window before it is shown.