Package bibliothek.gui.dock.util.font

Examples of bibliothek.gui.dock.util.font.FontBridge


    public void putFontBridgeFactory( Path kind, FontBridgeFactory factory ){
        fontBridgeFactories.put( kind, factory );
        for( Controller setting : controllers ){
            FontManager fonts = setting.controller.getFonts();
           
            FontBridge oldBridge = setting.fonts.remove( kind );
            FontBridge newBridge = factory == null ? null : factory.create( fonts );
           
            if( newBridge == null ){
                setting.fonts.remove( kind );
               
                if( oldBridge != null ){
View Full Code Here


       
        FontManager fonts = controller.getFonts();
        try{
            fonts.lockUpdate();
            for( Map.Entry<Path, FontBridgeFactory> entry : fontBridgeFactories.entrySet() ){
                FontBridge bridge = entry.getValue().create( fonts );
                fonts.publish( Priority.DEFAULT, entry.getKey(), bridge );
                settings.fonts.put( entry.getKey(), bridge );
            }
        }
        finally{
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.util.font.FontBridge

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.