Lines Matching refs:panel

2725         EDITOR_PANEL_ID: 'yui-editor-panel',
3271 * @config panel
3272 * @description A reference to the panel we are using for windows.
3276 this.setAttributeConfig('panel', {
3763 this.get('panel').setFooter(str);
3766 this.get('panel').setFooter(' ');
3769 this.get('panel').setFooter(str);
3887 this.get('panel').setFooter(str);
3890 this.get('panel').setFooter(' ');
4622 * @description Renders the panel used for Editor Windows to the document so we can start using it..
4626 if (!YAHOO.widget.EditorInfo.panel) {
4627 var panel = new YAHOO.widget.Panel(this.EDITOR_PANEL_ID, {
4635 YAHOO.widget.EditorInfo.panel = panel;
4637 var panel = YAHOO.widget.EditorInfo.panel;
4639 this.set('panel', panel);
4641 this.get('panel').setBody('---');
4642 this.get('panel').setHeader(' ');
4643 this.get('panel').setFooter(' ');
4645 this.get('panel').render(document.body);
4646 Dom.addClass(this.get('panel').element, 'yui-editor-panel');
4649 this.get('panel').render(document.body);
4650 Dom.addClass(this.get('panel').element, 'yui-editor-panel');
4653 this.get('panel').showEvent.subscribe(function() {
4656 return this.get('panel');
4661 * @description Opens a new "window/panel"
4675 panel = this.get('panel'),
4680 this.fireEvent('beforeOpenWindow', { type: 'beforeOpenWindow', win: win, panel: panel });
4699 Dom.setStyle(panel.element.firstChild, 'width', win.attrs.width);
4722 panel.cfg.setProperty('width', win.attrs.width);
4723 panel.setHeader(' '); //Clear the current header
4724 panel.appendToHeader(_header);
4727 panel.setBody(' '); //Clear the current body
4728 panel.setFooter(' '); //Clear the current footer
4730 panel.setFooter(win.footer);
4732 panel.appendToBody(body); //Append the new DOM node to it
4733 panel.showEvent.subscribe(function() {
4734 Event.addListener(panel.element, 'click', function(ev) {
4738 panel.hideEvent.subscribe(function() {
4746 panel.show();
4747 this.fireEvent('afterOpenWindow', { type: 'afterOpenWindow', win: win, panel: panel });
4752 * @description Realign the window with the currentElement and reposition the knob above the panel.
4761 panel = this.get('panel'),
4766 orgXY = panel.cfg.getProperty('xy'),
4840 Dom.setStyle(panel.element, 'opacity', '0');
4841 var anim = new YAHOO.util.Anim(panel.element, {
4847 panel.cfg.setProperty('xy', newXY);
4850 panel.element.style.filter = 'none';
4855 panel.cfg.setProperty('xy', newXY);
4859 var anim = new YAHOO.util.Anim(panel.element, {}, .5, YAHOO.util.Easing.easeOut);
4869 panel.cfg.setProperty('xy', newXY);
4871 //We have to animate the iframe shim at the same time as the panel or we get scrollbar bleed ..
4872 var iframeAnim = new YAHOO.util.Anim(panel.iframe, anim.attributes, .5, YAHOO.util.Easing.easeOut)
4884 panel.cfg.setProperty('xy', newXY);
4910 this.get('panel').hide();
4911 this.get('panel').cfg.setProperty('xy', [-900,-900]);
4912 this.get('panel').syncIframe(); //Needed to move the iframe with the hidden panel
5026 * @param {Overlay} panel The Overlay object that is used to create the window.
5033 * @param {Overlay} panel The Overlay object that is used to create the window.
5046 * @param {Overlay} panel The Overlay object that is used to create the window.
5053 * @param {Overlay} panel The Overlay object that is used to create the window.
5073 * @property panel
5074 * @description A reference to the currently open panel in any editor on the page.
5077 panel: null
5081 * @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.