Example usage for java.util.prefs PreferenceChangeListener interface-usage

List of usage examples for java.util.prefs PreferenceChangeListener interface-usage

Introduction

In this page you can find the example usage for java.util.prefs PreferenceChangeListener interface-usage.

Usage

From source file Main.java

public class Main implements PreferenceChangeListener {
    private Preferences userPrefs;

    public static final String NAMEPREF = "name";

    public static final String EMAILPREF = "email";

From source file MainClass.java

public class MainClass implements PreferenceChangeListener {

    private Preferences userPrefs;

    public static final String NAMEPREF = "name";

From source file org.apache.cayenne.modeler.preferences.ModelerPreferences.java

/**
 * ModelerPreferences class supports persistent user preferences. Preferences are saved in
 * the user home directory in "<code>$HOME/.cayenne/modeler.preferences</code>" file.
 * <p>
 * <i>This class is obsolete; its users will be migrated to use preference service. </i>
 * </p>

From source file org.apache.cayenne.modeler.ModelerPreferences.java

/**
 * ModelerPreferences class supports persistent user preferences. Preferences are saved in
 * the user home directory in "<code>$HOME/.cayenne/modeler.preferences</code>" file.
 * <p>
 * <i>This class is obsolete; its users will be migrated to use preference service. </i>
 * </p>

From source file maltcms.ui.nb.pipelineRunner.actions.ImportMaltcmsPipelinesAction.java

@ActionID(category = "Maui", id = "maltcms.ui.nb.pipelineRunner.actions.ImportMaltcmsPipelinesAction")
@ActionRegistration(displayName = "#CTL_ImportMaltcmsPipelinesAction")
@ActionReferences({ @ActionReference(path = "Actions/ChromAUIProjectLogicalView/Pipelines") })
@Messages("CTL_ImportMaltcmsPipelinesAction=Import Maltcms Pipelines")
public final class ImportMaltcmsPipelinesAction implements ActionListener, PreferenceChangeListener {

From source file au.org.ala.delta.editor.model.EditorDataModel.java

/**
 * Provides the UI model with a backing DeltaDataSet. Each EditorDataModel is associated with a single view component. This class maintains a separate list of DeltaDataSetObservers to allow clean
 * removal of listeners from the backing DeltaDataSet when a view of the model is closed.
 */
public class EditorDataModel extends DataSetWrapper implements EditorViewModel, PreferenceChangeListener {

From source file au.org.ala.delta.editor.DeltaEditor.java

/**
 * The main class for the DELTA Editor.
 */
@ProxyActions({ "copySelectedWithHeaders", "selectAll", "find", "replace", "findNext" })
public class DeltaEditor extends InternalFrameApplication
        implements PreferenceChangeListener, DeltaViewStatusObserver, PropertyChangeListener {