📄 windowpanescreen.js
字号:
}) ] }), new Echo.Column({ children: [ this._resizeMaximumEnableButton = new Echo.RadioButton({ group: resizeMaximumGroup, text: this._msg["WindowPaneScreen.ConfigurationResizeMaximumEnable"], events: { action: Core.method(this, this._processConfigResizeMaximum) } }), new Echo.RadioButton({ group: resizeMaximumGroup, selected: true, text: this._msg["WindowPaneScreen.ConfigurationResizeMaximumDisable"], events: { action: Core.method(this, this._processConfigResizeMaximum) } }) ] }) ] }), new Echo.Column({ layoutData: { title: this._msg["WindowPaneScreen.ConfigurationControlsTab"] }, cellSpacing: "1em", children: [ new Echo.Column({ children: [ this._closeEnableButton = new Echo.RadioButton({ group: closeGroup, text: this._msg["WindowPaneScreen.ConfigurationCloseEnable"], selected: true, events: { action: Core.method(this, this._processConfigCloseEnable) } }), new Echo.RadioButton({ group: closeGroup, text: this._msg["WindowPaneScreen.ConfigurationCloseDisable"], events: { action: Core.method(this, this._processConfigCloseEnable) } }) ] }), new Echo.Column({ children: [ this._maximizeEnableButton = new Echo.RadioButton({ group: maximizeGroup, text: this._msg["WindowPaneScreen.ConfigurationMaximizeEnable"], selected: true, events: { action: Core.method(this, this._processConfigMaximizeEnable) } }), new Echo.RadioButton({ group: maximizeGroup, text: this._msg["WindowPaneScreen.ConfigurationMaximizeDisable"], events: { action: Core.method(this, this._processConfigMaximizeEnable) } }) ] }), new Echo.Column({ children: [ this._minimizeEnableButton = new Echo.RadioButton({ group: minimizeGroup, text: this._msg["WindowPaneScreen.ConfigurationMinimizeEnable"], events: { action: Core.method(this, this._processConfigMinimizeEnable) } }), new Echo.RadioButton({ group: minimizeGroup, text: this._msg["WindowPaneScreen.ConfigurationMinimizeDisable"], selected: true, events: { action: Core.method(this, this._processConfigMinimizeEnable) } }) ] }) ] }) ] }) ] }), new Echo.WindowPane({ styleName: "GlassBlue", title: this._msg["WindowPaneScreen.TranslucentTitle"], width: "30em", height: "23em", closable: false, positionX: "95%", positionY: "55%", background: "#f5e6c2", insets: "1em 2em", children: [ new Echo.Column({ cellSpacing: 8, children: [ new Echo.Label({ text: this._msg["WindowPaneScreen.TranslucentText1"] }), new Echo.Label({ text: this._msg["WindowPaneScreen.TranslucentText2"] }) ] }) ] }), new Echo.WindowPane({ styleName: "TransGreen", title: this._msg["WindowPaneScreen.ModalTitle"], closable: false, positionX: "52%", positionY: "95%", height: "22em", insets: "1em 2em", children: [ new Echo.Column({ cellSpacing: 8, children: [ new Echo.Label({ text: this._msg["WindowPaneScreen.ModalText1"] }) ] }) ] }) ] }); }, _processConfigCloseEnable: function(e) { this._configWindow.set("closable", !!this._closeEnableButton.get("selected")); }, _processConfigMaximizeEnable: function(e) { this._configWindow.set("maximizeEnabled", !!this._maximizeEnableButton.get("selected")); }, _processConfigMinimizeEnable: function(e) { this._configWindow.set("minimizeEnabled", !!this._minimizeEnableButton.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 + -