BuildQueuePanel.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:FreeCol 作者:
/**
 * Override {@link ItemListener} for this panel's use.
 *      This function evaluates whether a the user has
 *      clicked the {@link #compactBox} or the
 *      {@link #showAllBox} has been checked.
 *
 * {@inheritDoc}
 */
@Override
public void itemStateChanged(ItemEvent event) {
    if (event.getSource() == this.compactBox) {
        updateDetailView();
        updateCompact(this.compactBox.isSelected());
    } else if (event.getSource() == this.showAllBox) {
        updateAllLists();
        updateLists(this.showAllBox.isSelected());
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号