Package org.joshy.sketch.controls

Examples of org.joshy.sketch.controls.Menu.separator()


        Menu menu = new Menu();
        menu.setTitle("Page");
        menu.addItem("Add Title Page", new AddTitlePage(context));
        menu.addItem("Add Content Page", new AddContentPage(context));
        menu.addItem("Delete Selected Page", new DeletePageAction());
        menu.separator();
        menu.addItem(getString("menus.viewPresentation"), "", new ViewSlideshowAction(context));
        menu.separator();
        menu.addItem("Switch to Standard Theme", new SwitchTheme.Standard(null, context));
        menu.addItem("Switch to Cowboy Theme", new SwitchTheme.Cowboy(null, context));
        menu.addItem("Switch to Future Theme", new SwitchTheme.Future(null,context));
View Full Code Here


        menu.addItem("Add Title Page", new AddTitlePage(context));
        menu.addItem("Add Content Page", new AddContentPage(context));
        menu.addItem("Delete Selected Page", new DeletePageAction());
        menu.separator();
        menu.addItem(getString("menus.viewPresentation"), "", new ViewSlideshowAction(context));
        menu.separator();
        menu.addItem("Switch to Standard Theme", new SwitchTheme.Standard(null, context));
        menu.addItem("Switch to Cowboy Theme", new SwitchTheme.Cowboy(null, context));
        menu.addItem("Switch to Future Theme", new SwitchTheme.Future(null,context));
        menu.addItem("Switch to Classy Theme", new SwitchTheme.Classy(null,context));
        return menu;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.