Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

NodeChangeEvent

extends EventObject
implements Serializable
java.lang.Object
   ↳ java.util.EventObject
     ↳ java.util.prefs.NodeChangeEvent

Class Overview

This is the event class to indicate that one child of the preference node has been added or deleted.

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 .

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
NodeChangeEvent ( Preferences p, Preferences c)
Constructs a new NodeChangeEvent instance.
Public Methods
Preferences getChild ()
Gets the child Preferences node that was added or removed.
Preferences getParent ()
Gets the Preferences instance that fired this event.
[Expand]
Inherited Methods
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public NodeChangeEvent ( Preferences p, Preferences c)

Added in API level 1

Constructs a new NodeChangeEvent instance.

Parameters
p the Preferences instance that fired this event; this object is considered as the event source.
c the child Preferences instance that was added or deleted.

Public Methods

public Preferences getChild ()

Added in API level 1

Gets the child Preferences node that was added or removed.

Returns
  • the added or removed child Preferences node.

public Preferences getParent ()

Added in API level 1

Gets the Preferences instance that fired this event.

Returns
  • the Preferences instance that fired this event.