public interface Customizer
每个定制程序都应该继承自java.awt.Component类,以便可以在AWT对话框或面板中实例化。
每个定制器应该有一个空构造函数。
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
注册PropertyChange事件的侦听器。
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
删除PropertyChange事件的侦听器。
|
void |
setObject(Object bean)
设置要定制的对象。
|
void setObject(Object bean)
bean
- 要定制的对象。
void addPropertyChangeListener(PropertyChangeListener listener)
listener
- 触发PropertyChange事件时调用的对象。
void removePropertyChangeListener(PropertyChangeListener listener)
listener
- 要删除的PropertyChange侦听器。
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.