📄 windowpanescreen.js
字号:
action: Core.method(this, this._processConfigResizeEnable) } }), new EchoApp.RadioButton({ group: resizeGroup, text: this._msg["WindowPaneScreen.ConfigurationResizeDisable"], events: { action: Core.method(this, this._processConfigResizeEnable) } }) ] }), new EchoApp.Column({ children: [ this._resizeMinimumEnableButton = new EchoApp.RadioButton({ group: resizeMinimumGroup, text: this._msg["WindowPaneScreen.ConfigurationResizeMinimumEnable"], events: { action: Core.method(this, this._processConfigResizeMinimum) } }), new EchoApp.RadioButton({ group: resizeMinimumGroup, selected: true, text: this._msg["WindowPaneScreen.ConfigurationResizeMinimumDisable"], events: { action: Core.method(this, this._processConfigResizeMinimum) } }) ] }), new EchoApp.Column({ children: [ this._resizeMaximumEnableButton = new EchoApp.RadioButton({ group: resizeMaximumGroup, text: this._msg["WindowPaneScreen.ConfigurationResizeMaximumEnable"], events: { action: Core.method(this, this._processConfigResizeMaximum) } }), new EchoApp.RadioButton({ group: resizeMaximumGroup, selected: true, text: this._msg["WindowPaneScreen.ConfigurationResizeMaximumDisable"], events: { action: Core.method(this, this._processConfigResizeMaximum) } }) ] }) ] }), new EchoApp.Column({ layoutData: { title: this._msg["WindowPaneScreen.ConfigurationCloseTab"] }, children: [ this._closeEnableButton = new EchoApp.RadioButton({ group: closeGroup, text: this._msg["WindowPaneScreen.ConfigurationCloseEnable"], events: { action: Core.method(this, this._processConfigCloseEnable) } }), new EchoApp.RadioButton({ group: closeGroup, selected: true, text: this._msg["WindowPaneScreen.ConfigurationCloseDisable"], events: { action: Core.method(this, this._processConfigCloseEnable) } }) ] }) ] }) ] }), new EchoApp.WindowPane({ styleName: "GlassBlue", title: this._msg["WindowPaneScreen.TranslucentTitle"], width: 400, height: 300, closable: false, positionX: 20, positionY: 315, background: "#f5e6c2", insets: "10px 25px", children: [ new EchoApp.Column({ cellSpacing: 8, children: [ new EchoApp.Label({ text: this._msg["WindowPaneScreen.TranslucentText1"] }), new EchoApp.Label({ text: this._msg["WindowPaneScreen.TranslucentText2"] }) ] }) ] }), new EchoApp.WindowPane({ styleName: "Default", title: this._msg["WindowPaneScreen.ModalTitle"], closable: false, positionX: 350, positionY: 450, height: 300, insets: "10px 25px", children: [ new EchoApp.Column({ cellSpacing: 8, children: [ new EchoApp.Label({ text: this._msg["WindowPaneScreen.ModalText1"] }), new EchoApp.Label({ text: this._msg["WindowPaneScreen.ModalText2"] }) ] }) ] }) ] }); }, _processConfigCloseEnable: function(e) { this._configWindow.set("closable", !!this._closeEnableButton.get("selected")); }, _processConfigMoveEnable: function(e) { this._configWindow.set("movable", !!this._moveEnableButton.get("selected")); }, _processConfigResizeEnable: function(e) { this._configWindow.set("resizable", !!this._resizeEnableButton.get("selected")); }, _processConfigResizeMinimum: function(e) { var on = !!this._resizeMinimumEnableButton.get("selected"); this._configWindow.set("minimumWidth", on ? 300 : null); this._configWindow.set("minimumHeight", on ? 200 : null); }, _processConfigResizeMaximum: function(e) { var on = !!this._resizeMaximumEnableButton.get("selected"); this._configWindow.set("maximumWidth", on ? 640 : null); this._configWindow.set("maximumHeight", on ? 480 : null); }, _processSetColor: function(e) { this._colorContent.set("background", this._colorSelect.get("color")); }});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -