function PaletteWindow(theme) {
        theme = theme || Theme.DEFAULT;
        let thiz = this;
        thiz._theme = theme;
        thiz._window = new PopupWindow_(CONTEXT);
        thiz._layout = new ScrollView(theme);
        thiz._palette = new Palette();
        thiz._window.setBackgroundDrawable(new ColorDrawable_(theme.getWindow(Theme.BACKGROUND_COLOR)));
        thiz._window.setContentView(thiz._layout.show());
        thiz._window.setWidth(DP * 340);
        thiz._window.setHeight(DP * 340);
        thiz._layout.addView(thiz._palette.show());
    }
/**
     * Class representing a palette window.
     * @since 2016-09-09
     * @class
     * @memberOf me.astro.widget
     * @param {me.astro.design.Theme} [theme=me.astro.design.Theme.DEFAULT] Theme of window
     */
Class representing a palette window.
Class representing a palette window .
function PaletteWindow(theme) {
        theme = theme || Theme.DEFAULT;
        let thiz = this;
        thiz._theme = theme;
        thiz._window = new PopupWindow_(CONTEXT);
        thiz._layout = new ScrollView(theme);
        thiz._palette = new Palette();
        thiz._window.setBackgroundDrawable(new ColorDrawable_(theme.getWindow(Theme.BACKGROUND_COLOR)));
        thiz._window.setContentView(thiz._layout.show());
        thiz._window.setWidth(DP * 340);
        thiz._window.setHeight(DP * 340);
        thiz._layout.addView(thiz._palette.show());
    }
function PaletteWindow ( theme ) { theme = theme || Theme . DEFAULT ; let thiz = this ; thiz . _theme = theme ; thiz . _window = new PopupWindow_ ( CONTEXT ) ; thiz . _layout = new ScrollView ( theme ) ; thiz . _palette = new Palette ( ) ; thiz . _window . setBackgroundDrawable ( new ColorDrawable_ ( theme . getWindow ( Theme . BACKGROUND_COLOR ) ) ) ; thiz . _window . setContentView ( thiz . _layout . show ( ) ) ; thiz . _window . setWidth ( DP * 340 ) ; thiz . _window . setHeight ( DP * 340 ) ; thiz . _layout . addView ( thiz . _palette . show ( ) ) ; }
Class representing a palette window.
Class representing a palette window .