/**
* Ensures {@link #copyUiStateToSubComponent(java.awt.Component) } will
* be called for any child component added to this component in the
* future. Called once by the default constructor of JImageListView.
* Subclasses may (rarely) override, e.g. with an empty implementation
* if they want to inhibit this behaviour for some (strange) reason.
*/
protected void ensureUiStateIsCopiedForAddedComponents() {
this.addContainerListener(new ContainerAdapter() {
@Override
public void componentAdded(ContainerEvent e) {
JImageListView.this.copyUiStateToSubComponent(e.getChild());
}
});
}
JImageListView.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:viskit
作者:
评论列表
文章目录