org.xnap.plugin.limewire
Class LimeWirePreferences

java.lang.Object
  extended by org.xnap.util.AbstractPluginPreferences
      extended by org.xnap.plugin.limewire.LimeWirePreferences
All Implemented Interfaces:
PreferencesProvider, TablePreferencesProvider

public class LimeWirePreferences
extends AbstractPluginPreferences

Provides the LimeWire preferences.


Field Summary
static int VERSION
           
 
Fields inherited from class org.xnap.util.AbstractPluginPreferences
logger, prefs, VERSION_KEY
 
Constructor Summary
LimeWirePreferences()
           
 
Method Summary
 void convert(int oldVersion)
          Convert the preferences from oldVersion.
 boolean getAuthenticatedConnectionsOnly()
           
 boolean getAutoConnect()
           
 boolean getDisableUltraPeer()
           
 int getPort()
           
 void setAuthenticatedConnectionsOnly(boolean newValue)
           
 void setAutoConnect(boolean newValue)
           
 void setDisableUltraPeer(boolean newValue)
           
 void setPort(int newValue)
           
 
Methods inherited from class org.xnap.util.AbstractPluginPreferences
addPropertyChangeListener, addPropertyChangeListener, addTableListener, get, getArray, getBoolean, getColor, getFont, getInt, getIntArray, getKeyStroke, getLong, getNotShowDialog, getTableColumns, getTableColumnWidths, getTableMaintainSortOrder, getTableSortedColumn, removeProperty, removePropertyChangeListener, removePropertyChangeListener, renameProperty, set, set, set, set, set, set, set, set, set, setDefault, setDefault, setNotShowDialog, setTableColumns, setTableColumnWidths, setTableMaintainSortOrder, setTableSortedColumn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final int VERSION
See Also:
Constant Field Values
Constructor Detail

LimeWirePreferences

public LimeWirePreferences()
Method Detail

convert

public void convert(int oldVersion)
Description copied from class: AbstractPluginPreferences
Convert the preferences from oldVersion. The default implementation does nothing. Sub classes should overwrite this method.

Overrides:
convert in class AbstractPluginPreferences

getAuthenticatedConnectionsOnly

public boolean getAuthenticatedConnectionsOnly()

setAuthenticatedConnectionsOnly

public void setAuthenticatedConnectionsOnly(boolean newValue)

getAutoConnect

public boolean getAutoConnect()

setAutoConnect

public void setAutoConnect(boolean newValue)

getDisableUltraPeer

public boolean getDisableUltraPeer()

setDisableUltraPeer

public void setDisableUltraPeer(boolean newValue)

getPort

public int getPort()

setPort

public void setPort(int newValue)


Copyright © 2001-2005 XNap Team. All Rights Reserved.