org.xnap.plugin.joscar
Class JOscarPreferences

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

public class JOscarPreferences
extends AbstractPluginPreferences


Field Summary
static int VERSION
           
 
Fields inherited from class org.xnap.util.AbstractPluginPreferences
prefs, VERSION_KEY
 
Method Summary
 void convert(int oldVersion)
          Convert the preferences from oldVersion.
static void disposeInstance()
           
 boolean getAutoconnect()
           
static JOscarPreferences getInstance()
           
 java.lang.String getPassword()
           
 java.lang.String getServerHost()
           
 int getServerPort()
           
 java.lang.String getUsername()
           
 void setAutoconnect(boolean newValue)
           
 void setPassword(java.lang.String newValue)
           
 void setServerHost(java.lang.String newValue)
           
 void setServerPort(int newValue)
           
 void setUsername(java.lang.String 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
Method Detail

getInstance

public static JOscarPreferences getInstance()

disposeInstance

public static void disposeInstance()

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

getAutoconnect

public boolean getAutoconnect()

setAutoconnect

public void setAutoconnect(boolean newValue)

getServerHost

public java.lang.String getServerHost()

setServerHost

public void setServerHost(java.lang.String newValue)

getServerPort

public int getServerPort()

setServerPort

public void setServerPort(int newValue)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String newValue)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String newValue)


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