Package xnap.util.prefs

Examples of xnap.util.prefs.IntValidator


  setDefault("localPort", "6600-6700", new PortRangeValidator());
  setDefault("maxAutoconnectServers", "10");
  setDefault("maxLoginsPerNetwork", "1");
  setDefault("maxPacketsPerTick", "50");
  setDefault("maxSearchResultsPerServer", "200",
       new IntValidator(0, Integer.MAX_VALUE));
  setDefault("maxSearchServers", "5");
  setDefault("maxSharesPerServer", "500");
  setDefault("minimumShares", "0");
  setDefault("minimumSharesMessage", "Sorry, you are not allowed to"
       + " download since you do not share enough.");
View Full Code Here


  setDefault("autoJoinChannels", "#xnap");
  setDefault("autoResumeDownloads", "false");
  setDefault("autoVersionCheck", "true");
  setDefault("autoDownlodMaxSearches", "12");
  setDefault("autoDownlodSearchInterval", "900",
       new IntValidator(600));
  setDefault("beepOnChatMessage", "false");
  setDefault("blinkOnChannelJoin", "true");
  setDefault("browseTableColumns", "0;2;3;5;10");
  setDefault("buildSearchTreeOnStartup", "false");
  setDefault("captureLauncherOutput", "false");
  setDefault("channelTableColumns", "0;1;2");
  setDefault("chatBackgroundColor", "16777215");
  setDefault("chatErrorColor", "255");
  setDefault("chatFont", "Monospaced;0;12");
  setDefault("chatAwayMessage", "I'm away, please try again later.");
  setDefault("chatIgnoreMessage", "I'm ignoring you, please stop sending"
       + " messages.");
  setDefault("chatInfoColor", "51455");
  setDefault("chatMessageColor", "0");
  setDefault("chatUserColor", "16711680");
  setDefault("chatVerticalDividerLocation", "400");
  setDefault("chatGlobalVerticalDividerLocation", "400");
  setDefault("consoleFont", "Monospaced;1;12");
  setDefault("consoleForegroundColor", "51455");
  setDefault("consoleBackgroundColor", "0");
  setDefault("consoleBackgroundColor", "0");
  setDefault("correctivePixels", "0");
  setDefault("debugLogFile", FileHelper.getHomeDir() + "debug.log");
  setDefault("delIncompleteFiles", "true");
  setDefault("DocumentsDownloadDir", "");
  setDefault("downloadDir",
       FileHelper.directory(System.getProperty("user.home")));
  setDefault("downloadMaxTries", "60");
  setDefault("downloadRetryInterval", "300",
       new IntValidator(60));
  setDefault("downloadTableColumns", "0;1;2;4;5;6");
  setDefault("downloadThrottle", "0", new IntValidator(0));
  setDefault("doubleFilterMediaType", "true");
  setDefault("email", "anonymous@universe", StringValidator.EMAIL);
  setDefault("enabledPlugins", "xnap.plugin.nap.Plugin");
  setDefault("enabledGUIPlugins",
       "xnap.plugin.nap.GUIPlugin;xnap.plugin.viewer.mp3.Plugin;"
       + "xnap.plugin.viewer.image.Plugin");
  setDefault("faqURL", "http://xnap.sourceforge.net/faq.php");
  setDefault("feedbackEmail", "");
  setDefault("feedbackName", "");
  setDefault("feedbackURL", "http://xnap.sourceforge.net/feedback.php");
  setDefault("fileLauncherCmd", nativeLauncherCmd);
  setDefault("fileLauncherType", nativeLauncherType);
  setDefault("filterResults", "false");
  setDefault("firewalled", "false");
  setDefault("focusOnAllEvents", "true");
  setDefault("hotlistDividerLocation", "200");
  setDefault("hotlistTableColumns", "0;3;4;5");
  setDefault("httpProxyHost", "");
  setDefault("httpProxyPort", "0");
  setDefault("ImagesDownloadDir", "");
  setDefault("incompleteDir", "");
  setDefault("language", "");
  setDefault("lastUpdateCheck", "0");
  setDefault("libraryHorizontalDividerLocation", "220");
  setDefault("libraryTableColumns", "0;3;4;6");
  setDefault("libraryVerticalDividerLocation", "200");
  setDefault("libraryTreeNodes",
       "downloads;incompletes;home;root;shares");
  setDefault("limitDownloads", "false");
  setDefault("limitDownloadAttempts", "false");
  setDefault("limitUploads", "true");
  setDefault("limitDownloadsPerUser", "true");
  setDefault("limitUploadsPerUser", "true");
  setDefault("linkType", "0");
  setDefault("logTransfersToFile", "false");
  setDefault("lookAndFeel",
       "com.incors.plaf.kunststoff.KunststoffLookAndFeel");
  setDefault("maxDownloads", "20", new IntValidator(0));
  setDefault("maxDownloadsPerUser", "3", new IntValidator(0));
  setDefault("maxConsoleLines", "100", new IntValidator(1));
  setDefault("maxOpenWithCommands", "5");
  setDefault("maxSwarmedConnects", "1");
  setDefault("maxUploads", "5", new IntValidator(1));
  setDefault("maxUploadsPerUser", "1", new IntValidator(0));
  setDefault("maxSearchResults", "200");
  setDefault("mp3PlayerCmd", "");
  setDefault("mp3PlayerType", "other");
  setDefault("openWithCommands", "");
  setDefault("password", StringHelper.randomString(8),
       StringValidator.REGULAR_STRING);
  setDefault("prefsWindowHeight", "520");
  setDefault("prefsWindowWidth", "640");
  setDefault("progressRunningColor", "11513855");
  setDefault("progressFinishedColor", "65280");
  setDefault("rememberFeedback", "true");
  setDefault("removeDuplicateResults", "true");
  setDefault("searchBitrate", "0");
  setDefault("searchCompare", "0");
  setDefault("searchDividerLocation", "200");
  setDefault("searchHistorySize", "30");
  setDefault("searchMediaType", "0");
  setDefault("searchTableColumns", "0;2;3;5;6;10");
  setDefault("searchTableSortedColumn", "-11");
  setDefault("sendChatAwayMessage", "false");
  setDefault("sendChatIgnoreMessage", "true");
  setDefault("PrintServerNotificationsInChatWindow", "false");
  setDefault("SoftwareDownloadDir", "");
  setDefault("shareFullPath", "true");
  setDefault("showChatMsgTime", "true");
  setDefault("showCloseDialog", "true");
  setDefault("showCmdlToolbar", "false");
  setDefault("showCopyDialog", "true");
  setDefault("showDeleteDownloadsDialog", "true");
  setDefault("showDeleteFilesDialog", "true");
  setDefault("showIcons", "true");
  setDefault("showMainToolbar", "true");
  setDefault("showMoveDialog", "true");
  setDefault("showShareDialog", "true");
  setDefault("showSearchOptions", "true");
  setDefault("showSplash", "true");
  setDefault("showToolTips", !Updater.hasMacOSXToolTipsBug() + "");
  setDefault("socksProxyHost", "");
  setDefault("socksProxyPort", "0");
  setDefault("theme", "xnap.gui.theme.PlainTheme");
  setDefault("transferDividerLocation", "220");
  setDefault("transferLogFile", FileHelper.getHomeDir() + "transfer.log");
  setDefault("throttleDownloads", "false");
  setDefault("throttleUploads", "false");
  setDefault("updaterInterval", "3600", new IntValidator(60));
  setDefault("updateURL",
       "http://xnap.sourceforge.net/updates/LATEST_VERSION.txt");
  setDefault("uploadDirs", "");
  setDefault("uploadTableColumns", "0;1;2;4;5;6");
  setDefault("uploadThrottle", "0", new IntValidator(0));
  setDefault("useEmacsKeyBindings", "false");
  setDefault("username", StringHelper.randomString(8),
       StringValidator.REGULAR_STRING);
  setDefault("useHttpProxy", "false");
  setDefault("userTableColumns", "0;1");
View Full Code Here

TOP

Related Classes of xnap.util.prefs.IntValidator

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.