| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected class DefaultCellEditor.EditorDelegate extends Object implements ActionListener, ItemListener, Serializable
The protected EditorDelegate
class.
Field Summary | |
---|---|
protected Object |
value
The value of this cell. |
Constructor Summary | |
---|---|
protected |
|
Method Summary | |
---|---|
void |
When an action is performed, editing is ended. |
void |
Cancels editing. |
Object |
Returns the value of this cell. |
boolean |
isCellEditable(EventObject anEvent) Returns true if anEvent is not a
MouseEvent .
|
void |
When an item's state changes, editing is ended. |
void |
Sets the value of this cell. |
boolean |
shouldSelectCell(EventObject anEvent) Returns true to indicate that the editing cell may be selected. |
boolean |
startCellEditing(EventObject anEvent) Returns true to indicate that editing has begun. |
boolean |
Stops editing and returns true to indicate that editing has stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object value
Constructor Detail |
---|
protected DefaultCellEditor.EditorDelegate()
Method Detail |
---|
public void actionPerformed(ActionEvent e)
e
- the action eventpublic void cancelCellEditing()
fireEditingCanceled
.
public Object getCellEditorValue()
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 eventpublic void itemStateChanged(ItemEvent e)
e
- the action eventpublic void setValue(Object value)
value
- the new value of this cellpublic boolean shouldSelectCell(EventObject anEvent)
anEvent
- the eventpublic boolean startCellEditing(EventObject anEvent)
anEvent
- the eventpublic boolean stopCellEditing()
fireEditingStopped
.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |