Examples of storeConf()


Examples of org.shaitu.easyphoto.config.Config.storeConf()

            config.setValue("text_watermark_style", vo.getWatermarkTextStyle());
            config.setValue("text_watermark", vo.getWatermarkText());
            config.setValue("text_watermakr_font", UIUtil.getFontDescription(vo.getWatermarkTextFont()));
            config.setValue("text_watermakr_color", vo.getWatermarkColor().getRGB());
            config.setValue("text_watermark_alpha", vo.getWatermarkTextAlpha());
            config.storeConf();
        }catch(Exception e){
            e.printStackTrace();;
        }
    }
    /**
 
View Full Code Here

Examples of org.shaitu.easyphoto.config.Config.storeConf()

            config.setValue("theme", vo.getTheme());
            config.setValue("ontop", vo.isOnTop());
            config.setValue("auto_open_output", vo.isAutoOpenOutput());
            config.setValue("language", vo.getLanguage());
            config.setValue("output_no_ask", vo.isOutputNoAsk());
            config.storeConf();
        }catch(Exception e){
            e.printStackTrace();
        }
    }
   
View Full Code Here

Examples of org.shaitu.easyphoto.config.Config.storeConf()

     */
    public static void rememberUpdateCheck(){
        Config config = Config.getInstance();
        String todayStr = (new SimpleDateFormat("yyyyMMdd")).format(new Date());
        config.setValue("last_check_update", todayStr);
        config.storeConf();
    }

    /**
     * restart app
     */
 
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.