Adds the specified component listener to receive component events from this component.
字段摘要 |
---|
方法摘要 | |
---|---|
|
create
|
子事物摘要 | |
---|---|
|
ComponentListener
The listener interface for receiving component events. The class that is interested in processing a component event either implements this interface (and all the methods it contains) or extends the abstract ComponentAdapter class (overriding only the methods of interest). The listener object created from that class is then registered with a component using the component's addComponentListener method. When the component's size, location, or visibility changes, the relevant method in the listener object is invoked, and the ComponentEvent is passed to it. |
字段详细信息 |
---|
方法详细信息 |
---|
子事物详细信息 |
---|
The listener interface for receiving component events. The class that is interested in processing a component event either implements this interface (and all the methods it contains) or extends the abstract ComponentAdapter
class (overriding only the methods of interest). The listener object created from that class is then registered with a component using the component's addComponentListener
method. When the component's size, location, or visibility changes, the relevant method in the listener object is invoked, and the ComponentEvent
is passed to it.