extraswidgetsscreen.js

来自「echo3 很炫的ajax框架技术 js 演示demo ajax j2ee 里」· JavaScript 代码 · 共 241 行 · 第 1/2 页

JS
241
字号
                                                            text: this._msg["ExtrasWidgetsScreen.Menu.ContextMenu.Desc"]                                                        }),                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.Menu.DropDownMenu.Desc"]                                                        })                                                    ]                                                })                                            ]                                        })                                    ]                                })                            ]                        }),                        new Echo.Column({                            layoutData: {                                alignment: "top"                            },                            cellSpacing: "1em",                            insets: "1em",                            children: [                                new Extras.Group({                                    title: this._msg["ExtrasWidgetsScreen.ToolTip.Title"],                                    children: [                                        new Echo.Row({                                            cellSpacing: "1em",                                            children: [                                                new Extras.ToolTipContainer({                                                    children: [                                                        new Echo.Button({                                                            styleName: "Default",                                                            insets: "5px 10px",                                                            text: this._msg["ExtrasWidgetsScreen.ToolTip.Button"]                                                        }),                                                        new Echo.Column({                                                            background: "#ffffaf",                                                            insets: "1ex",                                                            border: "1px outset #ffffaf",                                                            children: [                                                                new Echo.Button({                                                                     textPosition: "top",                                                                     alignment: "center",                                                                     icon: "image/demoicon/ChartIcon64.gif",                                                                     text: this._msg["ExtrasWidgetsScreen.ToolTip.Tip"]                                                                })                                                            ]                                                        })                                                    ]                                                }),                                                new Echo.Column({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    cellSpacing: "1em",                                                    children: [                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.ToolTip.Desc"]                                                        })                                                    ]                                                })                                            ]                                        })                                    ]                                }),                                new Extras.Group({                                    title: this._msg["ExtrasWidgetsScreen.ColorSelect.Title"],                                    children: [                                        new Echo.Row({                                            cellSpacing: "1em",                                            children: [                                                this._colorSelect = new Extras.ColorSelect({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    color: "#3f3f7f",                                                    displayValue: true,                                                    events: {                                                        property: Core.method(this, function(e) {                                                            if (e.propertyName == "color") {                                                                this._colorSelectLabel.set("foreground", e.source.get("color"));                                                            }                                                        })                                                    }                                                }),                                                new Echo.Column({                                                    layoutData: {                                                        alignment: "top"                                                    },                                                    cellSpacing: "1em",                                                    children: [                                                        new Echo.Label({                                                            text: this._msg["ExtrasWidgetsScreen.ColorSelect.Desc"]                                                        }),                                                        this._colorSelectLabel = new Echo.Label({                                                            foreground: "#3f3f7f",                                                            text: this._msg["ExtrasWidgetsScreen.ColorSelect.ChangeText"]                                                        }),                                                        new Echo.CheckBox({                                                            text: this._msg["ExtrasWidgetsScreen.ColorSelect.DisplayHex"],                                                            selected: true,                                                            events: {                                                                action: Core.method(this, function(e) {                                                                    this._colorSelect.set("displayValue", e.source.get("selected"));                                                                })                                                            }                                                        })                                                    ]                                                })                                            ]                                        })                                    ]                                })                            ]                        })                    ]                })            ]        });    }});

⌨️ 快捷键说明

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