IT. Expert System.

Android Reference

PreferenceChangeEvent


java.util.prefs

Class PreferenceChangeEvent

  • All Implemented Interfaces:
    Serializable


    public class PreferenceChangeEvent
    extends EventObject
    implements Serializable
    This is the event class to indicate that a preference has been added, deleted or updated.

    Please note that although the class is marked as Serializable by inheritance from EventObject, this type is not intended to be serialized so the serialization methods do nothing but throw a NotSerializableException.

    Since:
    1.4
    See Also:
    Preferences, PreferenceChangeListener, Serialized Form
    • Constructor Detail

      • PreferenceChangeEvent

        public PreferenceChangeEvent(Preferences p,
                             String k,
                             String v)
        Construct a new PreferenceChangeEvent instance.
        Parameters:
        p - the Preferences instance that fired this event; this object is considered as the event's source.
        k - the changed preference key.
        v - the new value of the changed preference, this value can be null, which means the preference has been removed.
    • Method Detail

      • getKey

        public String getKey()
        Gets the key of the changed preference.
        Returns:
        the changed preference's key.
      • getNewValue

        public String getNewValue()
        Gets the new value of the changed preference or null if the preference has been removed.
        Returns:
        the new value of the changed preference or null if the preference has been removed.
      • getNode

        public Preferences getNode()
        Gets the Preferences instance that fired this event.
        Returns:
        the Preferences instance that fired this event.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1900 / 248358545. Delta: 0.13545 с