|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdbreport.grid.ReportCellEditor.EditorDelegate
protected class ReportCellEditor.EditorDelegate
| Field Summary | |
|---|---|
protected Object |
value
The value of this cell. |
| Constructor Summary | |
|---|---|
protected |
ReportCellEditor.EditorDelegate()
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
When an action is performed, editing is ended. |
void |
cancelCellEditing()
Cancels editing. |
Object |
getCellEditorValue()
Returns the value of this cell. |
boolean |
isCellEditable(EventObject anEvent)
Returns true if anEvent is not a
MouseEvent. |
void |
itemStateChanged(ItemEvent e)
When an item's state changes, editing is ended. |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
setValue(Object value)
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 |
stopCellEditing()
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 ReportCellEditor.EditorDelegate()
| Method Detail |
|---|
public Object getCellEditorValue()
public void setValue(Object value)
value - the new value of this cellpublic 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
public boolean shouldSelectCell(EventObject anEvent)
anEvent - the event
isCellEditable(java.util.EventObject)public boolean startCellEditing(EventObject anEvent)
anEvent - the eventpublic boolean stopCellEditing()
fireEditingStopped.
public void cancelCellEditing()
fireEditingCanceled.
public void actionPerformed(ActionEvent e)
e - the action eventstopCellEditing()public void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenere - the action eventstopCellEditing()public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||