de.tkuhn.util.prefs.gui.event
Class PrefSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.tkuhn.util.prefs.gui.event.PrefSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class PrefSelectionEvent
extends java.util.EventObject

This event is issued if a new Preferences node is being selected.

Author:
Tilmann Kuhn
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PrefSelectionEvent(java.lang.Object source, java.util.prefs.Preferences selection)
          Creates a new instance of PrefSelectionEvent
 
Method Summary
 java.util.prefs.Preferences getPreferences()
          Get the selected Preferences node.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrefSelectionEvent

public PrefSelectionEvent(java.lang.Object source,
                          java.util.prefs.Preferences selection)
Creates a new instance of PrefSelectionEvent

Parameters:
source - the object that issued this event
selection - the Preferences that are selected
Method Detail

getPreferences

public java.util.prefs.Preferences getPreferences()
Get the selected Preferences node.

Returns:
the Preferences that are selected


Copyright © Tilmann Kuhn