Lines Matching refs:bg
521 var bg = node.getAttribute('background');
523 if (bg != null && bg.length > 0)
525 this.graph.background = bg;
835 if (this.bg == null)
837 this.bg = editorUi.createDiv('background');
838 this.bg.style.position = 'absolute';
839 this.bg.style.background = Dialog.backdropColor;
840 this.bg.style.height = dh + 'px';
841 this.bg.style.right = '0px';
842 this.bg.style.zIndex = this.zIndex - 2;
844 mxUtils.setOpacity(this.bg, this.bgOpacity);
848 this.bg.style.left = origin.x + 'px';
849 this.bg.style.top = origin.y + 'px';
855 this.bg.style.height = mxUtils.getDocumentSize().height + 'px';
862 document.body.appendChild(this.bg);
911 mxEvent.addGestureListeners(this.bg, mxUtils.bind(this, function(evt)
940 this.bg.style.height = dh + 'px';
944 this.bg.style.height = mxUtils.getDocumentSize().height + 'px';
1041 if (this.bg != null && this.bg.parentNode != null)
1043 this.bg.parentNode.removeChild(this.bg);
1428 var bg = graph.background;
1430 if (bg == null || bg == '' || bg == mxConstants.NONE)
1432 bg = '#ffffff';
1435 preview.backgroundColor = bg;