com.limegroup.gnutella.settings
Class ApplicationSettings

java.lang.Object
  extended bycom.limegroup.gnutella.settings.AbstractSettings
      extended bycom.limegroup.gnutella.settings.LimeProps
          extended bycom.limegroup.gnutella.settings.ApplicationSettings

public class ApplicationSettings
extends LimeProps

Settings for LimeWire application


Field Summary
static IntSetting APP_HEIGHT
          The height that the application should be.
static IntSetting APP_WIDTH
          The width that the application should be.
static IntSetting AVERAGE_UPTIME
          The average time this user leaves the application running.
static BooleanSetting CHECK_AGAIN
          A boolean flag for whether or not we should check again for an update.
static StringSetting CLASSPATH
          Sets the classpath for legacy RunLime.jars.
static StringSetting CLIENT_ID
          The Client ID number
static BooleanSetting CONNECTION_VIEW_ENABLED
          Sets whether or not Connection Tab should be enabled.
static StringSetting COUNTRY
          The country to use for the application.
static FloatSetting FRACTIONAL_UPTIME
          The fraction of time this is running, a unitless quality.
static BooleanSetting INSTALLED
          Specifies whether or not the program has been installed, either by a third-party installer, or by our own.
static StringSetting JAR_NAME
          Sets the name of the jar file to load on startup, which is read in from the properties file by RunLime.
static StringSetting LANGUAGE
          The language to use for the application.
static LongSetting LAST_SHUTDOWN_TIME
          The time that this was last shutdown (system time in milliseconds).
static BooleanSetting LIBRARY_VIEW_ENABLED
          Sets whether or not Library Tab should be enabled.
static StringSetting LOCALE_VARIANT
          The locale variant to use for the application.
static BooleanSetting MINIMIZE_TO_TRAY
          A flag for whether or not the application should be minimized to the system tray on windows.
static BooleanSetting MONITOR_VIEW_ENABLED
          Sets whether or not Monitor Tab should be enabled.
static BooleanSetting RUN_ONCE
          A flag for whether or not the application has been run one time before this.
static BooleanSetting SERVER
          Whether or not we are acting as a server.
static IntSetting SESSIONS
          The total number of times the application has been run -- used in calculating the average amount of time this user leaves the application on.
static BooleanSetting SHOPPING_VIEW_ENABLED
          Sets whether or not Shopping Tab should be enabled.
static BooleanSetting SHUTDOWN_AFTER_TRANSFERS
          A flag for whether or not the application should shutdown immediately, or when file transfers are complete
static IntSetting TOTAL_UPTIME
          The total time this user has used the application.
static IntSetting WINDOW_X
          The x position of the window for the next time the application is started.
static IntSetting WINDOW_Y
          The y position of the window for the next time the application is started.
 
Fields inherited from class com.limegroup.gnutella.settings.LimeProps
FACTORY
 
Methods inherited from class com.limegroup.gnutella.settings.LimeProps
instance
 
Methods inherited from class com.limegroup.gnutella.settings.AbstractSettings
getFactory, getProperties, getPropertiesFile, getShouldSave, reload, revertToDefault, save, setShouldSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIENT_ID

public static final StringSetting CLIENT_ID
The Client ID number


AVERAGE_UPTIME

public static final IntSetting AVERAGE_UPTIME
The average time this user leaves the application running.


TOTAL_UPTIME

public static final IntSetting TOTAL_UPTIME
The total time this user has used the application.


SESSIONS

public static final IntSetting SESSIONS
The total number of times the application has been run -- used in calculating the average amount of time this user leaves the application on.


LAST_SHUTDOWN_TIME

public static final LongSetting LAST_SHUTDOWN_TIME
The time that this was last shutdown (system time in milliseconds).


FRACTIONAL_UPTIME

public static final FloatSetting FRACTIONAL_UPTIME
The fraction of time this is running, a unitless quality. This is used to identify highly available hosts with big pongs. This value should only be updated once per session.


INSTALLED

public static final BooleanSetting INSTALLED
Specifies whether or not the program has been installed, either by a third-party installer, or by our own.


APP_WIDTH

public static final IntSetting APP_WIDTH
The width that the application should be.


APP_HEIGHT

public static final IntSetting APP_HEIGHT
The height that the application should be.


RUN_ONCE

public static final BooleanSetting RUN_ONCE
A flag for whether or not the application has been run one time before this.


WINDOW_X

public static final IntSetting WINDOW_X
The x position of the window for the next time the application is started.


WINDOW_Y

public static final IntSetting WINDOW_Y
The y position of the window for the next time the application is started.


MINIMIZE_TO_TRAY

public static final BooleanSetting MINIMIZE_TO_TRAY
A flag for whether or not the application should be minimized to the system tray on windows.


SHUTDOWN_AFTER_TRANSFERS

public static final BooleanSetting SHUTDOWN_AFTER_TRANSFERS
A flag for whether or not the application should shutdown immediately, or when file transfers are complete


LANGUAGE

public static final StringSetting LANGUAGE
The language to use for the application.


COUNTRY

public static final StringSetting COUNTRY
The country to use for the application.


LOCALE_VARIANT

public static final StringSetting LOCALE_VARIANT
The locale variant to use for the application.


MONITOR_VIEW_ENABLED

public static final BooleanSetting MONITOR_VIEW_ENABLED
Sets whether or not Monitor Tab should be enabled.


CONNECTION_VIEW_ENABLED

public static final BooleanSetting CONNECTION_VIEW_ENABLED
Sets whether or not Connection Tab should be enabled.


LIBRARY_VIEW_ENABLED

public static final BooleanSetting LIBRARY_VIEW_ENABLED
Sets whether or not Library Tab should be enabled.


SHOPPING_VIEW_ENABLED

public static final BooleanSetting SHOPPING_VIEW_ENABLED
Sets whether or not Shopping Tab should be enabled.


JAR_NAME

public static final StringSetting JAR_NAME
Sets the name of the jar file to load on startup, which is read in from the properties file by RunLime.


CLASSPATH

public static final StringSetting CLASSPATH
Sets the classpath for legacy RunLime.jars.


SERVER

public static final BooleanSetting SERVER
Whether or not we are acting as a server.


CHECK_AGAIN

public static final BooleanSetting CHECK_AGAIN
A boolean flag for whether or not we should check again for an update.