@FunctionalInterface public interface PreferenceChangeListener extends EventListener
Preferences
, PreferenceChangeEvent
, NodeChangeListener
Modifier and Type | Method and Description |
---|---|
void |
preferenceChange(PreferenceChangeEvent evt)
当添加,删除首选项或更改其值时,将调用此方法。
|
void preferenceChange(PreferenceChangeEvent evt)
evt
- 描述事件源和已更改的首选项的PreferenceChangeEvent对象。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.