Java org.eclipse.jface.preference IPreferenceStore fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.preference IPreferenceStore fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.preference IPreferenceStore.

The text is from its open source code.

Implementation

org.eclipse.jface.preference.IPreferenceStore has the following implementations.
Click this link to see all its implementation.

Field

booleanBOOLEAN_DEFAULT_DEFAULT
The default-default value for boolean preferences (false).
doubleDOUBLE_DEFAULT_DEFAULT
The default-default value for double preferences (0.0).
floatFLOAT_DEFAULT_DEFAULT
The default-default value for float preferences (0.0f).
intINT_DEFAULT_DEFAULT
The default-default value for int preferences (0).
longLONG_DEFAULT_DEFAULT
The default-default value for long preferences (0L).
StringSTRING_DEFAULT_DEFAULT
The default-default value for String preferences ("").
StringTRUE
The string representation used for true ("true").
StringFALSE
The string representation used for false ("false").

Method

voidaddPropertyChangeListener(IPropertyChangeListener listener)

Adds a property change listener to this preference store.

booleancontains(String name)
Returns whether the named preference is known to this preference store.
voidfirePropertyChangeEvent(String name, Object oldValue, Object newValue)
Fires a property change event corresponding to a change to the current value of the preference with the given name.
booleangetBoolean(String name)
Returns the current value of the boolean-valued preference with the given name.
booleangetDefaultBoolean(String name)
Returns the default value for the boolean-valued preference with the given name.
doublegetDefaultDouble(String name)
Returns the default value for the double-valued preference with the given name.
floatgetDefaultFloat(String name)
Returns the default value for the float-valued preference with the given name.
intgetDefaultInt(String name)
Returns the default value for the integer-valued preference with the given name.
longgetDefaultLong(String name)
Returns the default value for the long-valued preference with the given name.
StringgetDefaultString(String name)
Returns the default value for the string-valued preference with the given name.
doublegetDouble(String name)
Returns the current value of the double-valued preference with the given name.
floatgetFloat(String name)
Returns the current value of the float-valued preference with the given name.
intgetInt(String name)
Returns the current value of the integer-valued preference with the given name.
longgetLong(String name)
Returns the current value of the long-valued preference with the given name.
StringgetString(String name)
Returns the current value of the string-valued preference with the given name.
booleanisDefault(String name)
Returns whether the current value of the preference with the given name has the default value.
booleanneedsSaving()
Returns whether the current values in this property store require saving.
voidputValue(String name, String value)
Sets the current value of the preference with the given name to the given string value without sending a property change.
voidremovePropertyChangeListener(IPropertyChangeListener listener)
Removes the given listener from this preference store.
voidsetDefault(String name, double value)
Sets the default value for the double-valued preference with the given name.
voidsetDefault(String name, float value)
Sets the default value for the float-valued preference with the given name.
voidsetDefault(String name, int value)
Sets the default value for the integer-valued preference with the given name.
voidsetDefault(String name, long value)
Sets the default value for the long-valued preference with the given name.
voidsetDefault(String name, String defaultObject)
Sets the default value for the string-valued preference with the given name.
voidsetDefault(String name, boolean value)
Sets the default value for the boolean-valued preference with the given name.
voidsetToDefault(String name)
Sets the current value of the preference with the given name back to its default value.
voidsetValue(String name, double value)
Sets the current value of the double-valued preference with the given name.
voidsetValue(String name, float value)
Sets the current value of the float-valued preference with the given name.
voidsetValue(String name, int value)
Sets the current value of the integer-valued preference with the given name.
voidsetValue(String name, long value)
Sets the current value of the long-valued preference with the given name.
voidsetValue(String name, String value)
Sets the current value of the string-valued preference with the given name.
voidsetValue(String name, boolean value)
Sets the current value of the boolean-valued preference with the given name.