function VerticalWindow(theme) {
        theme = theme || Theme.DEFAULT;
        let thiz = this;
        thiz._theme = theme;
        thiz._height = DP * 156;
        thiz._width = DP * 52;
        thiz._layouts = [];
        thiz._window = new PopupWindow_(CONTEXT);
        thiz._windowLayout = new FrameLayout_(CONTEXT);
        thiz._sensor = new SensorButton(Shape.CIRCLE, theme)
            .setEffect((x, y, width, height) => {
                x = thiz._x = DEVICE_WIDTH - x + DP * 26;
                y = thiz._y = DEVICE_HEIGHT - y - DP * 78;
                thiz._window.update(x, y, -1, -1);
            })
            .setEffectImage(Bitmap.createBitmap(PATH + "ic_open_with.png", DP * 24, DP * 24), theme.getButton(Theme.EFFECT_COLOR))
            .setImage(Bitmap.createBitmap(PATH + "ic_open_with.png", DP * 24, DP * 24), theme.getButton(Theme.BACKGROUND_COLOR));
        thiz._slides = [];
        thiz._window.setBackgroundDrawable(new ColorDrawable_(0));
        thiz._window.setContentView(thiz._windowLayout);
        thiz._window.setWidth(DP * 52);
        thiz._window.setHeight(DP * 156);
    }
/**
     * Class representing a verticle window.
     * @since 2016-08-04
     * @class
     * @memberOf me.astro.widget
     * @param {me.astro.design.Theme} [theme=me.astro.design.Theme.DEFAULT] Theme of verticle window
     */
Class representing a verticle window.
Class representing a verticle window .
function VerticalWindow(theme) {
        theme = theme || Theme.DEFAULT;
        let thiz = this;
        thiz._theme = theme;
        thiz._height = DP * 156;
        thiz._width = DP * 52;
        thiz._layouts = [];
        thiz._window = new PopupWindow_(CONTEXT);
        thiz._windowLayout = new FrameLayout_(CONTEXT);
        thiz._sensor = new SensorButton(Shape.CIRCLE, theme)
            .setEffect((x, y, width, height) => {
                x = thiz._x = DEVICE_WIDTH - x + DP * 26;
                y = thiz._y = DEVICE_HEIGHT - y - DP * 78;
                thiz._window.update(x, y, -1, -1);
            })
            .setEffectImage(Bitmap.createBitmap(PATH + "ic_open_with.png", DP * 24, DP * 24), theme.getButton(Theme.EFFECT_COLOR))
            .setImage(Bitmap.createBitmap(PATH + "ic_open_with.png", DP * 24, DP * 24), theme.getButton(Theme.BACKGROUND_COLOR));
        thiz._slides = [];
        thiz._window.setBackgroundDrawable(new ColorDrawable_(0));
        thiz._window.setContentView(thiz._windowLayout);
        thiz._window.setWidth(DP * 52);
        thiz._window.setHeight(DP * 156);
    }
function VerticalWindow ( theme ) { theme = theme || Theme . DEFAULT ; let thiz = this ; thiz . _theme = theme ; thiz . _height = DP * 156 ; thiz . _width = DP * 52 ; thiz . _layouts = [ ] ; thiz . _window = new PopupWindow_ ( CONTEXT ) ; thiz . _windowLayout = new FrameLayout_ ( CONTEXT ) ; thiz . _sensor = new SensorButton ( Shape . CIRCLE , theme ) . setEffect ( ( x , y , width , height ) => { x = thiz . _x = DEVICE_WIDTH - x + DP * 26 ; y = thiz . _y = DEVICE_HEIGHT - y - DP * 78 ; thiz . _window . update ( x , y , - 1 , - 1 ) ; } ) . setEffectImage ( Bitmap . createBitmap ( PATH + "ic_open_with.png" , DP * 24 , DP * 24 ) , theme . getButton ( Theme . EFFECT_COLOR ) ) . setImage ( Bitmap . createBitmap ( PATH + "ic_open_with.png" , DP * 24 , DP * 24 ) , theme . getButton ( Theme . BACKGROUND_COLOR ) ) ; thiz . _slides = [ ] ; thiz . _window . setBackgroundDrawable ( new ColorDrawable_ ( 0 ) ) ; thiz . _window . setContentView ( thiz . _windowLayout ) ; thiz . _window . setWidth ( DP * 52 ) ; thiz . _window . setHeight ( DP * 156 ) ; }
Class representing a verticle window.
Class representing a verticle window .