com.limegroup.gnutella.settings
Class ColorSetting

java.lang.Object
  extended bycom.limegroup.gnutella.settings.Setting
      extended bycom.limegroup.gnutella.settings.ColorSetting

public final class ColorSetting
extends Setting

Class for an Color setting.


Field Summary
 
Fields inherited from class com.limegroup.gnutella.settings.Setting
DEFAULT_PROPS, DEFAULT_VALUE, KEY, PROPS
 
Method Summary
 java.awt.Color getValue()
          Accessor for the value of this setting.
protected  void loadValue(java.lang.String sValue)
          Accessor for the value of this setting.
 void setValue(java.awt.Color value)
          Mutator for this setting.
 
Methods inherited from class com.limegroup.gnutella.settings.Setting
getKey, getValueAsString, isDefault, reload, revertToDefault, setAlwaysSave, setValue, shouldAlwaysSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public java.awt.Color getValue()
Accessor for the value of this setting.

Returns:
the value of this setting

setValue

public void setValue(java.awt.Color value)
Mutator for this setting.

Parameters:
value - the value to store

loadValue

protected void loadValue(java.lang.String sValue)
Accessor for the value of this setting.

Specified by:
loadValue in class Setting
Parameters:
sValue - property string value
Returns:
the value of this setting