|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.swing.DefaultCellEditor.EditorDelegate
, ItemListener
, Serializable
, EventListener


protected class DefaultCellEditor.EditorDelegate

, ItemListener
, Serializable

The protected EditorDelegate class.
| Field Summary | |
|---|---|
protected Object |
value
The value of this cell. |
| Constructor Summary | |
|---|---|
protected |
DefaultCellEditor.EditorDelegate
|
| Method Summary | |
|---|---|
void |
actionPerformed
When an action is performed, editing is ended. |
void |
cancelCellEditing
Cancels editing. |
Object |
getCellEditorValue
Returns the value of this cell. |
boolean |
isCellEditable
Returns true if anEvent is not a
MouseEvent. |
void |
itemStateChanged
When an item's state changes, editing is ended. |
void |
setValue
Sets the value of this cell. |
boolean |
shouldSelectCell
Returns true to indicate that the editing cell may be selected. |
boolean |
startCellEditing
Returns true to indicate that editing has begun. |
boolean |
stopCellEditing
Stops editing and returns true to indicate that editing has stopped. |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| Field Detail |
|---|

protected Object![]()
![]()
value
| Constructor Detail |
|---|

protected DefaultCellEditor.EditorDelegate()
| Method Detail |
|---|

public Object![]()
![]()
getCellEditorValue()

public void setValue(Object![]()
![]()
value)
value - the new value of this cell

public boolean isCellEditable(EventObject![]()
![]()
anEvent)
anEvent is not a
MouseEvent. Otherwise, it returns true
if the necessary number of clicks have occurred, and
returns false otherwise.
anEvent - the event
DefaultCellEditor.setClickCountToStart(int)
,
shouldSelectCell(java.util.EventObject)


public boolean shouldSelectCell(EventObject![]()
![]()
anEvent)
anEvent - the event
isCellEditable(java.util.EventObject)


public boolean startCellEditing(EventObject![]()
![]()
anEvent)
anEvent - the event

public boolean stopCellEditing()
fireEditingStopped.

public void cancelCellEditing()
fireEditingCanceled.

public void actionPerformed(ActionEvent![]()
![]()
e)
actionPerformed

in interface ActionListener

e - the action eventstopCellEditing()


public void itemStateChanged(ItemEvent![]()
![]()
e)
itemStateChanged

in interface ItemListener

e - the action eventstopCellEditing()

|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||