亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jreepadprefs.java

?? 一個簡單好用的java語言實現的個人日志管理系統
?? JAVA
字號:
/*           Jreepad - personal information manager.           Copyright (C) 2004 Dan StowellThis program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.The full license can be read online here:           http://www.gnu.org/copyleft/gpl.html*/package jreepad;import javax.swing.*;import javax.swing.event.*;import javax.swing.table.*;import javax.swing.text.*;import javax.swing.text.html.*;import java.awt.*;import java.awt.event.*;import java.io.*;import java.util.Vector;/*A class to hold Jreepad's preferences - and hopefully to store them on disk in a nice permanent way which can be carried across from different versions*/public class JreepadPrefs implements Serializable{  File openLocation, saveLocation, importLocation, exportLocation, backupLocation;    int autoSavePeriod;  boolean autoSave;    public static final int VIEW_BOTH = 0;  public static final int VIEW_TREE = 1;  public static final int VIEW_ARTICLE = 2;  int viewWhich;    boolean viewToolbar;    int searchMaxNum;  boolean autoDateInArticles;  boolean loadLastFileOnOpen;    String webSearchName;  String webSearchPrefix;  String webSearchPostfix;    int defaultSearchMode;    boolean wikiBehaviourActive;    static final String[] characterEncodings =                  new String[]{"ISO-8859-1", "ISO-8859-15", "UTF-8", "UTF-16", "US-ASCII", "8859_15"};  int fileEncoding;  String getEncoding()  {    return characterEncodings[fileEncoding];  }    Vector openRecentList;  int openRecentListLength;  File getMostRecentFile() // This is used, specifically, by the command-line "find" tool  {    if(openRecentList.size()==0)      return null;    else      return (File)openRecentList.get(0);  }      Font treeFont;  Font articleFont;    int characterWrapWidth;    boolean wrapToWindow;    int windowLeft, windowTop, windowWidth, windowHeight;    public static final int LINEBREAK_WIN=0;  public static final int LINEBREAK_MAC=1;  public static final int LINEBREAK_UNIX=2;  int linebreakType = LINEBREAK_WIN;  public String linebreak()  {    switch(linebreakType)    {      case LINEBREAK_WIN: return "\r\n";      case LINEBREAK_MAC: return "\r";      case LINEBREAK_UNIX: return "\n";    }    return "\r\n";  }    TreePathCollection treePathCollection;    int htmlExportArticleType;  boolean htmlExportUrlsToLinks;  int htmlExportAnchorLinkType;    int dividerLocation;    boolean autoDetectHtmlArticles;    boolean addQuotesToCsvOutput;    static final int FILETYPE_XML = 0;  static final int FILETYPE_HJT = 1;  int mainFileType;  public static final String[] mainFileTypes = {"Jreepad XML","Treepad HJT"};    static final int TOOLBAR_TEXT = 0;  static final int TOOLBAR_ICON = 1;  static final int TOOLBAR_OFF = 2;  int toolbarMode;    boolean showGreenStrip;    JreepadPrefs(Dimension wndSize)  {    openLocation = new File(System.getProperty("user.home"));        autoSavePeriod = 10;    autoSave = false;        viewWhich = 0;        viewToolbar = true;        searchMaxNum = 200;        autoDateInArticles = true;        loadLastFileOnOpen = true;    webSearchName = JreepadViewer.lang.getString("PREFS_DEFAULT_SEARCH_TEXT"); //"Google search for highlighted text";    webSearchPrefix = "www.google.co.uk/search?q=";    webSearchPostfix = "&hl=en";        defaultSearchMode = 0;        wikiBehaviourActive = true;        fileEncoding = 2; // Default to UTF-8        openRecentList = new Vector();    openRecentListLength = 10;        treeFont = (new JTree()).getFont();    articleFont = (new JEditorPane()).getFont();        characterWrapWidth = 80;        wrapToWindow = true;  //  Toolkit theToolkit = Toolkit.getDefaultToolkit();  //  Dimension wndSize = theToolkit.getScreenSize();    windowWidth = (int)(wndSize.getWidth() * 0.6f);    windowHeight = (int)(wndSize.getHeight() * 0.6f);    // This bit attempts to ensure that the Jreepad view doesn't get too wide     //   (e.g. for people with dual-screen systems)    //   - it limits the width/height proportion to the golden ratio!    // Can't seem to find anything in the Toolkit which would automatically give us multi-screen info    if(windowWidth > (int)(((float)windowHeight)*1.618034f) )      windowWidth = (int)(((float)windowHeight)*1.618034f);    else if(windowHeight > (int)(((float)windowWidth)*1.618034f) )      windowHeight = (int)(((float)windowWidth)*1.618034f);    windowTop = windowHeight/3;    windowLeft = windowWidth/3;            treePathCollection = new TreePathCollection(new javax.swing.tree.TreePath[0]);        htmlExportArticleType = 0;    htmlExportUrlsToLinks = true;    htmlExportAnchorLinkType = 1;        dividerLocation = -1;        autoDetectHtmlArticles = true;        addQuotesToCsvOutput = false;        mainFileType = FILETYPE_HJT;        toolbarMode = TOOLBAR_ICON;        showGreenStrip = true;  }    // We override the serialization routines so that different versions of our class can read   // each other's serialized states.  private void writeObject(java.io.ObjectOutputStream out)     throws IOException  {    out.writeObject(openLocation);    out.writeObject(saveLocation);    out.writeObject(importLocation);    out.writeObject(exportLocation);    out.writeObject(backupLocation);        out.writeInt(autoSavePeriod);    out.writeBoolean(autoSave);        out.writeInt(viewWhich);        out.writeBoolean(viewToolbar);        out.writeInt(searchMaxNum);        out.writeBoolean(autoDateInArticles);        out.writeBoolean(loadLastFileOnOpen);    out.writeObject(webSearchName);    out.writeObject(webSearchPrefix);    out.writeObject(webSearchPostfix);    out.writeInt(defaultSearchMode);        out.writeBoolean(wikiBehaviourActive);    out.writeInt(fileEncoding);    out.writeObject(openRecentList);    out.writeInt(openRecentListLength);    out.writeObject(treeFont);    out.writeObject(articleFont);        out.writeInt(characterWrapWidth);        out.writeBoolean(wrapToWindow);    out.writeInt(windowLeft);    out.writeInt(windowTop);    out.writeInt(windowWidth);    out.writeInt(windowHeight);    out.writeInt(linebreakType);        out.writeObject(treePathCollection);        out.writeInt(htmlExportArticleType);    out.writeBoolean(htmlExportUrlsToLinks);    out.writeInt(htmlExportAnchorLinkType);        out.writeInt(dividerLocation);        out.writeBoolean(autoDetectHtmlArticles);        out.writeBoolean(addQuotesToCsvOutput);        out.writeInt(mainFileType);        out.writeInt(toolbarMode);        out.writeBoolean(showGreenStrip);  }  private void readObject(java.io.ObjectInputStream in)     throws IOException, ClassNotFoundException  {   try   {    openLocation = (File)in.readObject();    saveLocation = (File)in.readObject();    importLocation = (File)in.readObject();    exportLocation = (File)in.readObject();    backupLocation = (File)in.readObject();        autoSavePeriod = in.readInt();    autoSave = in.readBoolean();        viewWhich = in.readInt();        viewToolbar = in.readBoolean();        searchMaxNum = in.readInt();        autoDateInArticles = in.readBoolean();        loadLastFileOnOpen = in.readBoolean();    webSearchName = (String)in.readObject();    webSearchPrefix = (String)in.readObject();    webSearchPostfix = (String)in.readObject();    defaultSearchMode = in.readInt();        wikiBehaviourActive = in.readBoolean();     fileEncoding = in.readInt();        openRecentList = (Vector)in.readObject();    openRecentListLength = in.readInt();    treeFont = (Font)in.readObject();    articleFont = (Font)in.readObject();        characterWrapWidth = in.readInt();        wrapToWindow = in.readBoolean();        windowLeft = in.readInt();    windowTop = in.readInt();    windowWidth = in.readInt();    windowHeight = in.readInt();    linebreakType = in.readInt();        treePathCollection = (TreePathCollection)in.readObject();        htmlExportArticleType = in.readInt();    htmlExportUrlsToLinks = in.readBoolean();    htmlExportAnchorLinkType = in.readInt();        dividerLocation = in.readInt();        autoDetectHtmlArticles = in.readBoolean();        addQuotesToCsvOutput = in.readBoolean();        mainFileType = in.readInt();        toolbarMode = in.readInt();        showGreenStrip = in.readBoolean();   }   catch(IOException e)   {   } } }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲性图库| 久久久久久久久一| 亚洲综合男人的天堂| 一本到高清视频免费精品| 亚洲欧美国产77777| 色婷婷亚洲一区二区三区| 亚洲欧美日韩国产综合| 在线精品视频免费播放| 亚洲超丰满肉感bbw| 91精品国产综合久久久久久久| 日韩经典一区二区| 精品理论电影在线| caoporen国产精品视频| 亚洲一级二级在线| 日韩免费在线观看| 国产成人av资源| 洋洋成人永久网站入口| 欧美一区二区三区在| 国产一区二区精品在线观看| 日韩一区中文字幕| 在线成人免费观看| 国产大陆a不卡| 亚洲成av人影院| 久久一夜天堂av一区二区三区 | 亚洲综合一区二区三区| 欧美三级韩国三级日本一级| 久久不见久久见中文字幕免费| 中文一区在线播放| 亚洲国产精品传媒在线观看| 不卡免费追剧大全电视剧网站| 亚洲一区免费观看| 久久久久久一二三区| 在线区一区二视频| 国产高清在线精品| 午夜电影网一区| 中文字幕亚洲一区二区av在线| 欧美高清精品3d| 成人小视频在线| 奇米影视一区二区三区| 亚洲欧洲日产国产综合网| 日韩一区二区三免费高清| 99精品视频在线播放观看| 久久99精品国产91久久来源| 亚洲精品免费在线观看| 久久精品欧美一区二区三区不卡| 欧美在线free| jizzjizzjizz欧美| 狠狠狠色丁香婷婷综合久久五月| 一区二区三区在线视频免费观看| 久久综合九色综合97婷婷女人| 色爱区综合激月婷婷| 国产高清亚洲一区| 六月丁香婷婷色狠狠久久| 亚洲综合色成人| 亚洲欧美综合网| 欧美国产激情二区三区| 欧美哺乳videos| 日韩一区二区精品在线观看| 色噜噜夜夜夜综合网| 成人黄色软件下载| 国产久卡久卡久卡久卡视频精品| 午夜欧美一区二区三区在线播放| 亚洲欧美日韩久久| 亚洲日本乱码在线观看| 国产精品萝li| 国产精品日韩精品欧美在线| 国产亚洲制服色| 综合亚洲深深色噜噜狠狠网站| 欧美精品一区二区三区视频| 欧美精品在欧美一区二区少妇| 91视频91自| 91在线视频官网| 99久久综合色| 91视频观看视频| 91丝袜呻吟高潮美腿白嫩在线观看| 粉嫩高潮美女一区二区三区| 国产精品一区免费在线观看| 国产综合成人久久大片91| 麻豆91免费看| 久久爱另类一区二区小说| 久久99国产乱子伦精品免费| 久久99精品国产91久久来源| 国产在线视频不卡二| 国产经典欧美精品| 成人午夜大片免费观看| 99免费精品在线观看| 91在线无精精品入口| 欧美亚洲图片小说| 3atv在线一区二区三区| 精品久久久三级丝袜| 久久人人爽爽爽人久久久| 国产欧美一区二区精品仙草咪| 久久精品水蜜桃av综合天堂| 亚洲国产精品二十页| 亚洲色图欧美偷拍| 午夜精品久久久久久| 乱一区二区av| jlzzjlzz亚洲日本少妇| 日本精品免费观看高清观看| 欧美浪妇xxxx高跟鞋交| 精品国产乱子伦一区| 亚洲欧洲美洲综合色网| 亚洲在线免费播放| 久久精品国产99国产精品| 国产精品自拍在线| 色婷婷综合激情| 日韩一区二区三区视频在线观看| 久久精品网站免费观看| 亚洲毛片av在线| 老司机精品视频线观看86| 成人黄色免费短视频| 7777精品伊人久久久大香线蕉经典版下载| 精品欧美黑人一区二区三区| 国产精品剧情在线亚洲| 天堂成人国产精品一区| 国内精品自线一区二区三区视频| 成人动漫视频在线| 欧美日韩大陆一区二区| 国产欧美日本一区二区三区| 亚洲自拍与偷拍| 国产成人午夜视频| 欧美日本视频在线| 国产精品少妇自拍| 日韩av中文字幕一区二区| www.日本不卡| 精品久久久网站| 五月开心婷婷久久| 成人黄色软件下载| 欧美zozo另类异族| 亚洲图片欧美综合| 成人黄色综合网站| 欧美va亚洲va| 亚洲一区二区三区精品在线| 国产a级毛片一区| 欧美一区二区三区免费| 亚洲美女淫视频| 国产**成人网毛片九色| 欧美一区二区在线看| 一区二区成人在线视频| 国产99久久久国产精品潘金网站| 9191国产精品| 亚洲男人的天堂av| 成人午夜视频在线观看| 日韩免费观看高清完整版在线观看| 一区二区在线观看av| 国产成人av一区二区三区在线| 欧美一二三区在线| 亚洲成人综合视频| 91黄视频在线| 亚洲女同女同女同女同女同69| 国产精品影视网| 日韩精品最新网址| 日韩av午夜在线观看| 欧美中文字幕不卡| 亚洲日本一区二区| av电影在线观看不卡| 国产精品欧美久久久久一区二区| 久草热8精品视频在线观看| 欧美一区二区三区日韩| 午夜精品成人在线| 欧美色倩网站大全免费| 亚洲一区在线观看网站| 色哟哟一区二区在线观看| 国产精品家庭影院| 99久精品国产| 亚洲激情五月婷婷| 色婷婷国产精品综合在线观看| 日韩一区在线看| 一本到不卡免费一区二区| 亚洲男人的天堂在线观看| 色综合久久久久综合99| 亚洲欧美另类小说| 欧美亚洲另类激情小说| 同产精品九九九| 91麻豆精品国产91久久久资源速度 | 国产成人亚洲综合a∨婷婷| 精品国产一二三区| 国产伦理精品不卡| 亚洲国产成人一区二区三区| 国产成人精品一区二区三区四区 | 亚洲欧洲三级电影| 一本到不卡精品视频在线观看| 亚洲乱码国产乱码精品精小说| 日本韩国一区二区三区视频| 亚洲一二三四在线| 日韩视频一区二区在线观看| 裸体在线国模精品偷拍| 久久夜色精品国产欧美乱极品| 国产福利一区二区三区| 亚洲色图色小说| 欧美巨大另类极品videosbest | av亚洲精华国产精华| 一区二区三区四区av| 欧美日韩国产天堂| 极品少妇xxxx偷拍精品少妇| 国产精品拍天天在线| 欧美吻胸吃奶大尺度电影| 蜜桃av一区二区三区| 国产精品久久久久久户外露出 | 欧美电影一区二区|