|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
public abstract class AbstractCellEditor
| 欄位摘要 | |
|---|---|
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。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 從介面 javax.swing.CellEditor 繼承的方法 |
|---|
getCellEditorValue |
| 欄位詳細資訊 |
|---|
protected EventListenerList listenerList
protected transient ChangeEvent changeEvent
| 建構子詳細資訊 |
|---|
public AbstractCellEditor()
| 方法詳細資訊 |
|---|
public boolean isCellEditable(EventObject e)
CellEditor 中的 isCellEditablee - 一個事件物件
CellEditor.shouldSelectCell(java.util.EventObject)public boolean shouldSelectCell(EventObject anEvent)
CellEditor 中的 shouldSelectCellanEvent - 一個事件物件
CellEditor.isCellEditable(java.util.EventObject)public boolean stopCellEditing()
fireEditingStopped 並返回 true。
CellEditor 中的 stopCellEditingpublic void cancelCellEditing()
fireEditingCanceled。
CellEditor 中的 cancelCellEditingpublic void addCellEditorListener(CellEditorListener l)
CellEditorListener 添加到偵聽器列表中。
CellEditor 中的 addCellEditorListenerl - 要添加的新偵聽器public void removeCellEditorListener(CellEditorListener l)
CellEditorListener。
CellEditor 中的 removeCellEditorListenerl - 要移除的偵聽器public CellEditorListener[] getCellEditorListeners()
CellEditorListener 組成的陣列。
CellEditorListener,如果沒有添加偵聽器,則返回一個空陣列protected void fireEditingStopped()
EventListenerListprotected void fireEditingCanceled()
EventListenerList
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。