options.java

来自「JavaExplorer是一个独立于平台的浏览器」· Java 代码 · 共 105 行

JAVA
105
字号
/**  * File and FTP Explorer  * Copyright 2002  * BOESCH Vincent  *  * This program is free software; you can redistribute it and/or  * modify it under the terms of the GNU General Public License  * as published by the Free Software Foundation; either version 2  * of the License, or (at your option) any later version.  *  * This program is distributed in the hope that it will be useful,  * but WITHOUT ANY WARRANTY; without even the implied warranty of  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  * GNU General Public License for more details.  *  * You should have received a copy of the GNU General Public License  * along with this program; if not, write to the Free Software  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.  */package javaexplorer.util.options;import objectxml.*;import java.io.Serializable;/** *  Options g閚閞ales de l'application * *@author     BOESCH Vincent *@created    21 janvier 2002 *@version    3.3 */public class Options implements Serializable, Xmlizable {    /**     *  Description of the Field     */    public final static int ENGLISH = 1;    /**     *  Description of the Field     */    public final static int FRENCH = 0;    /**     *  Description of the Field     */    public final static int GERMAN = 2;    /**     *  Description of the Field     */    public final static int SPANISH = 3;            private static Options _options = new Options();    /**     * Utilisation d'un mode debug     * Si c'est le cas, diverses traces s'inscrivent dans la log info.     */        private boolean useDebugMode = false;    /**     * Lancement de l'application en plein ecran ou non     */    private boolean _booStartMaximized = false;    /**     *  Montre l'html comme du texte     */    private boolean _booShowHTMLAsText = true;    /**     *  Ne montre que les images     */    private boolean _booShowImagesOnly = false;    /**     *  Montre les preview des images     */    private boolean _booShowImagesPreview = false;    /**     *  Zoom facteur par d閒aut     */    private float _fltZoomFactor = (float) 1.25;    /**     *  Taille par d閒aut pour les pools FTP     */    private int _intDefaultFtpPoolSize = 2;    /**     *  Qualite encodage jpeg par d閒aut     */    private int _intJpegQuality = 50;    /**     *  Confirmation pour le rapatriement automatique au-dessus     *  de la taille en Mo     */    private int _intMaxSizeBeforeConfirm = 10;        /**     * Taille du buffer utilis

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?