NBTabbedPane.java 文件源码

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

项目:incubator-netbeans 作者:
/**
 * Used by Controller to post action events for selection and close
 * operations. If the event is consumed, the UI should take no action to
 * change the selection or close the tab, and will presume that the receiver
 * of the event is handling performing whatever action is appropriate.
 *
 * @param event The event to be fired
 */
protected final void postActionEvent( TabActionEvent event ) {
    List<ActionListener> list;
    synchronized( this ) {
        if( actionListenerList == null ) {
            return;
        }
        list = Collections.unmodifiableList( actionListenerList );
    }
    for( ActionListener l : list ) {
        l.actionPerformed( event );
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号