com.opera.core.systems.preferences
Interface OperaPreferences.OperaPreference

All Known Implementing Classes:
AbstractOperaPreferences.AbstractPreference, OperaFilePreferences.FilePreference, OperaGenericPreferences.GenericPreference, OperaScopePreferences.ScopePreference
Enclosing interface:
OperaPreferences

public static interface OperaPreferences.OperaPreference

Interface representing individual preferences.


Method Summary
 Object getDefaultValue()
          Gets the default value of the preference.
 String getKey()
          Gets the key of this preference.
 String getSection()
          Gets the section this preference belongs to.
 Object getValue()
          Gets the value of this preference.
 void setValue(Object value)
          Sets the value of this preference.
 String toString()
          Gets the value of this preference.
 

Method Detail

getSection

String getSection()
Gets the section this preference belongs to.

Returns:
the parent section of this preference

getKey

String getKey()
Gets the key of this preference.

Returns:
the key of this preference

getValue

Object getValue()
Gets the value of this preference.

Returns:
the value of this preference

setValue

void setValue(Object value)
Sets the value of this preference.

Parameters:
value - the new value

getDefaultValue

Object getDefaultValue()
Gets the default value of the preference.

Returns:
the default value of this preference

toString

String toString()
Gets the value of this preference.

Overrides:
toString in class Object
Returns:
the value of this preference


Copyright © 2012. All Rights Reserved.