|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
public abstract static class DefaultFieldEditor.AbstractEditorDelegate
The protected EditorDelegate
class.
Field Summary | |
---|---|
DefaultFieldEditor |
editor
|
Constructor Summary | |
---|---|
DefaultFieldEditor.AbstractEditorDelegate(DefaultFieldEditor argEditor)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
When an action is performed, editing is ended. |
void |
cancelCellEditing()
Cancels editing. |
abstract Object |
getCellEditorValue()
Returns the value of this cell. |
abstract Component |
getComponent()
|
void |
itemStateChanged(ItemEvent e)
When an item's state changes, editing is ended. |
abstract void |
revert()
|
abstract 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 |
---|
public DefaultFieldEditor editor
Constructor Detail |
---|
public DefaultFieldEditor.AbstractEditorDelegate(DefaultFieldEditor argEditor)
Method Detail |
---|
public abstract Component getComponent()
public abstract Object getCellEditorValue()
public abstract void setValue(Object value)
value
- the new value of this cellpublic abstract void revert()
public boolean shouldSelectCell(EventObject anEvent)
anEvent
- the event
DefaultFieldEditor.isCellEditable(java.util.EventObject)
public boolean startCellEditing(EventObject anEvent)
anEvent
- the eventpublic 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 |