org.xnap.plugin.gift.util
Class GiFTPreferences

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

public class GiFTPreferences
extends AbstractPluginPreferences


Field Summary
 
Fields inherited from class org.xnap.util.AbstractPluginPreferences
logger, prefs, VERSION_KEY
 
Method Summary
 void convert(int oldVersion)
          Convert the preferences from oldVersion.
 void destroy()
           
 boolean getAutoconnect()
           
 int getDaemonPort()
           
 java.lang.String getGiftDaemon()
           
 java.lang.String getGiftHost()
           
 int getHttpPort()
           
static GiFTPreferences getInstance()
           
 boolean getStartDaemon()
           
 void setAutoconnect(boolean newValue)
           
 void setDaemonPort(int newValue)
           
 void setGiftDaemon(java.lang.String newValue)
           
 void setGiftHost(java.lang.String newValue)
           
 void setHttpPort(int newValue)
           
 void setStartDaemon(boolean 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
 

Method Detail

getInstance

public static GiFTPreferences getInstance()

destroy

public void destroy()

getGiftDaemon

public java.lang.String getGiftDaemon()

setGiftDaemon

public void setGiftDaemon(java.lang.String newValue)

getGiftHost

public java.lang.String getGiftHost()

setGiftHost

public void setGiftHost(java.lang.String newValue)

getDaemonPort

public int getDaemonPort()

setDaemonPort

public void setDaemonPort(int newValue)

getHttpPort

public int getHttpPort()

setHttpPort

public void setHttpPort(int newValue)

getAutoconnect

public boolean getAutoconnect()

setAutoconnect

public void setAutoconnect(boolean newValue)

getStartDaemon

public boolean getStartDaemon()

setStartDaemon

public void setStartDaemon(boolean newValue)

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
See Also:
xnap.util.AbstractPreferences#convert(int)


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