Package com.tivo.hme.bananas

Examples of com.tivo.hme.bananas.BButton


       
        // create a search button
        int safeTitleH = getSafeTitleHorizontal();
        String font;
        if (isHighDef()) {
            searchButton = new BButton(getNormal(), (getWidth()-safeTitleH)-400,
                    getContentBottom() - 40, 400, 60);
            font = "default-32.font";
        } else {
            searchButton = new BButton(getNormal(), (getWidth()-safeTitleH)-300,
                    getContentBottom() - 15, 300, 30);
            font = "default-24.font";
        }
        searchButton.setResource(createText(font, tivoWhite, RESOURCES.getString("search.searchButton")));
        searchButton.setBarAndArrows(BAR_DEFAULT, BAR_HANG, "pop", "push", H_UP, null, true);
View Full Code Here


        fontRes.addHandler(this);

        //add the modify button
        int safeTitleH = getSafeTitleHorizontal();
        if (isHighDef()) {
            modifyButton = new BButton(getNormal(), (getWidth()-safeTitleH)-400,
                    getContentBottom() - 40, 400, 60);
        } else {
            modifyButton = new BButton(getNormal(), (getWidth()-safeTitleH)-300,
                    getContentBottom() - 15, 300, 30);
        }

        //the user rating
        BSkin skin = getBApp().getSkin();
View Full Code Here

        //add the done button
        int safeTitleH = getSafeTitleHorizontal();
        int safeTitleV = getSafeTitleVertical();
        String font;
        if (isHighDef()) {
            doneButton = new BButton(getNormal(), (getWidth()-safeTitleH)-300,
                    getHeight()-safeTitleV-60, 300, 60);
            font = "default-32.font";
        } else {
            doneButton = new BButton(getNormal(), (getWidth()-safeTitleH)-300,
                    getHeight()-safeTitleV-30, 300, 30);
            font = "default-24.font";
        }
        doneButton.setBarAndArrows(BAR_DEFAULT, BAR_HANG, "pop", "pop", null, null, true);
        doneButton.setResource(createText(font, tivoWhite, RESOURCES.getString("message.done")));
View Full Code Here

TOP

Related Classes of com.tivo.hme.bananas.BButton

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.