|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.tkuhn.util.prefs.gui.event.PrefSelectionSupport
public class PrefSelectionSupport
An Object helping to keep track of registered PrefSelectionListeners
| Constructor Summary | |
|---|---|
PrefSelectionSupport()
Creates a new instance of PrefSelectionSupport |
|
| Method Summary | |
|---|---|
void |
addPrefSelectionListener(PrefSelectionListener psl)
Adds a PrefSelectionListener to this support's list of listeners. |
void |
fireValueChanged(java.lang.Object source,
java.util.prefs.Preferences prefs)
Issue a valueChanged at all registered PrefSelectionListeners with a PrefSelectionEvent constructed with the given values. |
void |
removePrefSelectionListener(PrefSelectionListener psl)
Remove a PrefSelectionListener from this support't list of listeners. |
void |
valueChanged(PrefSelectionEvent pse)
Issue a valueChanged at all registered PrefSelectionListeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefSelectionSupport()
| Method Detail |
|---|
public void addPrefSelectionListener(PrefSelectionListener psl)
psl - the listener to be addedpublic void removePrefSelectionListener(PrefSelectionListener psl)
psl - the listener to be removedpublic void valueChanged(PrefSelectionEvent pse)
valueChanged in interface PrefSelectionListenerpse - the PrefSelectionEvent to be transmitted.
public void fireValueChanged(java.lang.Object source,
java.util.prefs.Preferences prefs)
source - the Object issuing the eventprefs - the new Preferences node being selected
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||