application.borderpane.js

来自「echo3 很炫的ajax框架技术 js 演示demo ajax j2ee 里」· JavaScript 代码 · 共 29 行

JS
29
字号
/**
 * BorderPane component: a container which renders a
 * <code>FillImageBorder</code> around its content. May contain only one
 * child. May contain a pane component as a child.
 * 
 * @sp {#FillImageBorder} border the border with which to surround the content
 * @sp {#Insets} insets the inset margin between border and content
 */
Extras.BorderPane = Core.extend(Echo.Component, {
    
    $static: {
    
        /**
         * Default border.
         * @type #FillImageBorder
         */
        DEFAULT_BORDER: { color: "#00007f", contentInsets: 20, borderInsets: 3 }
    },
    
    $load: function() {
        Echo.ComponentFactory.registerType("Extras.BorderPane", this);
    },
    
    /** @see Echo.Component#componentType */
    componentType: "Extras.BorderPane",

    /** @see Echo.Component#pane */
    pane: true
});

⌨️ 快捷键说明

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