⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extraswidgetsscreen.js

📁 echo3 很炫的ajax框架技术 js 演示demo ajax j2ee 里面有jsp演示代码
💻 JS
📖 第 1 页 / 共 2 页
字号:
DemoApp.ExtrasWidgetsScreen = Core.extend(Echo.ContentPane, {        _msg: null,    _colorSelect: null,    _colorSelectLabel: null,    $construct: function() {        this._msg = DemoApp.getMessages(null);        Echo.ContentPane.call(this, {            children: [                new Echo.Row({                    children: [                        new Echo.Column({                            layoutData: {                                alignment: "top"                            },                            insets: "1em",                            cellSpacing: "1em",                            children: [                                new Extras.Group({                                    title: this._msg["ExtrasWidgetsScreen.CalendarSelect.Title"],                                    children: [                                        new Echo.Row({                                            cellSpacing: "1em",                                            children: [                                                new Extras.CalendarSelect({                                                    styleName: "Default",                                                    layoutData: {                                                        alignment: "top"                                                    }                                                }),                                                new Echo.Column({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    cellSpacing: "1em",                                                    children: [                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.CalendarSelect.Desc1"]                                                        }),                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.CalendarSelect.Desc2"]                                                        })                                                    ]                                                })                                            ]                                        })                                    ]                                }),                                new Extras.Group({                                    title: this._msg["ExtrasWidgetsScreen.Menu.Title"],                                    children: [                                        new Echo.Row({                                            cellSpacing: "1em",                                            children: [                                                new Echo.Column({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    insets: "1em",                                                    cellSpacing: "2em",                                                    children: [                                                        new Extras.ContextMenu({                                                            styleName: "Default",                                                            children: [                                                                new Echo.Button({                                                                    styleName: "Default",                                                                    insets: "5px 10px",                                                                    text: this._msg["ExtrasWidgetsScreen.Menu.ContextButton"]                                                                })                                                            ],                                                            events: {                                                                init: Core.method(this, function(e) {                                                                    e.source.set("model",                                                                            this.application.workspace.createMenuModel());                                                                })                                                            }                                                        }),                                                        new Echo.Column({                                                            cellSpacing: 5,                                                            children: [                                                                this._dropDownMenu = new Extras.DropDownMenu({                                                                    styleName: "Default",                                                                    selectionText: this._msg[                                                                            "ExtrasWidgetsScreen.Menu.DropDownButton"],                                                                    events: {                                                                        init: Core.method(this, function(e) {                                                                            e.source.set("model",                                                                                    this.application.workspace.createMenuModel());                                                                        })                                                                    }                                                                }),                                                                new Echo.CheckBox({                                                                    text: this._msg["ExtrasWidgetsScreen.Menu.DropDownSelection"],                                                                    events: {                                                                        action: Core.method(this, function(e) {                                                                            this._dropDownMenu.set("selectionEnabled",                                                                                    e.source.get("selected"));                                                                        })                                                                    }                                                                })                                                            ]                                                        }),                                                        new Echo.Label({                                                            font: {                                                                size: "8pt"                                                            },                                                            text: this._msg["ExtrasWidgetsScreen.Menu.Note"]                                                        })                                                    ]                                                }),                                                new Echo.Column({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    cellSpacing: "1em",                                                    children: [                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.Menu.MenuBarPane.Desc"]                                                        }),                                                        new Echo.Label({

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -