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

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

Introduction

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

The text is from its open source code.

Subclass

org.eclipse.jface.preference.PreferenceStore has subclasses.
Click this link to see all its subclasses.

Constructor

PreferenceStore()
Creates an empty preference store.
PreferenceStore(String filename)
Creates an empty preference store that loads from and saves to the a file.

Method

voidaddPropertyChangeListener(IPropertyChangeListener listener)
booleancontains(String name)
booleangetBoolean(String name)
intgetInt(String name)
longgetLong(String name)
StringgetString(String name)
voidload()
Loads this preference store from the file established in the constructor PreferenceStore(java.lang.String) (or by setFileName).
voidload(InputStream in)
Loads this preference store from the given input stream.
String[]preferenceNames()
Returns an enumeration of all preferences known to this store which have current values other than their default value.
voidputValue(String name, String value)
voidsave()
Saves the non-default-valued preferences known to this preference store to the file from which they were originally loaded.
voidsave(OutputStream out, String header)
Saves this preference store to the given output stream.
voidsetDefault(String name, double value)
voidsetDefault(String name, float value)
voidsetDefault(String name, int value)
voidsetDefault(String name, long value)
voidsetDefault(String name, String value)
voidsetDefault(String name, boolean value)
voidsetFilename(String name)
Sets the name of the file used when loading and storing this preference store.
voidsetValue(String name, double value)
voidsetValue(String name, float value)
voidsetValue(String name, int value)
voidsetValue(String name, long value)
voidsetValue(String name, String value)
voidsetValue(String name, boolean value)