/*
 * @(#)StopEditingListener.java
 * Copyright 2001 Nomura Research Institute, LTD. All rights reserved.
 * @author  Intelligent Technology Inc.
 * @version 1.00 2001/10/01-2002/03/26
 */
package	jp.co.nri.rid.table.editor;

import java.awt.event.*;
import javax.swing.table.*;

/**
 * Stop Editing Listener セルの編集が終了したことを通知するリスナー
 */
public class StopEditingListener implements ActionListener{
	protected TableCellEditor myEditor;
	
	/**
	 * @param	editor	テーブルセルエディタ。
	 * @since	1.00
	 */
	public StopEditingListener(TableCellEditor editor){ myEditor = editor; }
	
	/**
	 * ActionListenerの実装
	 * @since	1.00
	 */
	public void actionPerformed(ActionEvent evt){ myEditor.stopCellEditing(); }
}
