zul/src/main/resources/web/js/zul/wgt/mold/toolbarpanel.js

Summary

Maintainability
A
3 hrs
Test Coverage
/* toolbarpanel.js

    Purpose:

    Description:

    History:
        Sat Dec 24 12:58:43     2008, Created by Flyworld

Copyright (C) 2008 Potix Corporation. All Rights Reserved.

This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
*/
function toolbarpanel$mold$(out) {
    let w;
    out.push('<div ', this.domAttrs_(), '><table id="', this.uuid,
        '-cave" class="', this.$s('content'), ' ', this.$s(this.getAlign()),
        '"', /*safe*/ zUtl.cellps0, '><tbody>');
    if ('horizontal' == this.getOrient()) {
        out.push('<tr>');
        for (w = this.firstChild; w; w = w.nextSibling) {
            out.push('<td class="', this.$s('horizontal'), '">');
            w.redraw(out);
            out.push('</td>');
        }
        out.push('</tr>');
    } else {
        for (w = this.firstChild; w; w = w.nextSibling) {
            out.push('<tr><td class="', this.$s('vertical'), '">');
            w.redraw(out);
            out.push('</td></tr>');
        }
    }
    out.push('</tbody></table><div class="z-clear"></div></div>');
}