Package bibliothek.gui.dock.common.theme

Examples of bibliothek.gui.dock.common.theme.ThemeMap


     */
    public ThemeMenuPiece( DockController controller, boolean defaultThemes ) {
        setController( controller );
        setTransferTheme( true );
       
        ThemeMap themes = new ThemeMap();
       
        if( defaultThemes ){
            DockUI ui = DockUI.getDefaultDockUI();
            int index = 0;
            for( ThemeFactory theme : ui.getThemes() ){
                themes.add( String.valueOf( index++ ), theme );
            }
            themes.select( ui.getDefaultTheme() );
        }
       
        setThemes( themes );
    }
View Full Code Here


        frontend.getController().addAcceptance( new WorkingAreaAcceptance( access ) );
        frontend.getController().addAcceptance( new ExtendedModeAcceptance( access ) );

        initFactories();
       
        themes = new ThemeMap( this );

        initPersistentStorage();

        initExtendedModes();
        initProperties();
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.theme.ThemeMap

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.