public abstract class AbstractCellEditor extends Object implements CellEditor, Serializable
CellEditorsの基底クラスであり、getCellEditorValue()を除くCellEditorインタフェースのメソッドのデフォルトの実装を提供します。Swingのほかの抽象実装と同様に、リスナーのリストも管理します。
 
 警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。1.4以降、すべてのJavaBeans(tm)用の長期間の格納サポートがjava.beansパッケージに追加されています。XMLEncoderを参照してください。
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected ChangeEvent | changeEvent | 
| protected EventListenerList | listenerList | 
| コンストラクタと説明 | 
|---|
| AbstractCellEditor() | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | addCellEditorListener(CellEditorListener l)リスナー・リストに CellEditorListenerを追加します。 | 
| void | cancelCellEditing()fireEditingCanceledを呼び出します。 | 
| protected void | fireEditingCanceled()このイベント・タイプの通知対象として登録されているすべてのリスナーに通知します。 | 
| protected void | fireEditingStopped()このイベント・タイプの通知対象として登録されているすべてのリスナーに通知します。 | 
| CellEditorListener[] | getCellEditorListeners()addCellEditorListener()でこのAbstractCellEditorに追加されたすべての CellEditorListenerの配列を返します。 | 
| boolean | isCellEditable(EventObject e)trueを返します。 | 
| void | removeCellEditorListener(CellEditorListener l)CellEditorListenerをリスナー・リストから削除します。 | 
| boolean | shouldSelectCell(EventObject anEvent)trueを返します。 | 
| boolean | stopCellEditing()fireEditingStoppedを呼び出して、trueを返します。 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCellEditorValueprotected EventListenerList listenerList
protected transient ChangeEvent changeEvent
public boolean isCellEditable(EventObject e)
isCellEditable、インタフェース: CellEditore - イベント・オブジェクトCellEditor.shouldSelectCell(java.util.EventObject)public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell、インタフェース: CellEditoranEvent - イベント・オブジェクトCellEditor.isCellEditable(java.util.EventObject)public boolean stopCellEditing()
fireEditingStoppedを呼び出して、trueを返します。stopCellEditing、インタフェース: CellEditorpublic void cancelCellEditing()
fireEditingCanceledを呼び出します。cancelCellEditing、インタフェース: CellEditorpublic void addCellEditorListener(CellEditorListener l)
CellEditorListenerを追加します。addCellEditorListener、インタフェース: CellEditorl - 追加される新しいリスナーpublic void removeCellEditorListener(CellEditorListener l)
CellEditorListenerをリスナー・リストから削除します。removeCellEditorListener、インタフェース: CellEditorl - 削除されるリスナーpublic CellEditorListener[] getCellEditorListeners()
CellEditorListenerの配列を返します。CellEditorListener。リスナーが追加されていない場合は空の配列protected void fireEditingStopped()
EventListenerListprotected void fireEditingCanceled()
EventListenerList バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.