|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractCellEditor | +--fdda.dialog.swing.properties.OiCellEditor
An abstract class, extending the cell editor. Superclass of the special editors for each property type.
Field Summary | |
protected TypeGenerator |
generator
Generator for the type |
protected Property |
myProperty
the property |
protected Object |
value
the value |
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Constructor Summary | |
OiCellEditor(Property property,
Object value,
TypeGenerator generator)
Default constructor |
Method Summary | |
protected boolean |
checkValue(Object value)
Checks for errors after editing. |
protected void |
fireEditingStopped()
|
Object |
getCellEditorValue()
|
abstract Component |
getTableCellEditorComponent()
Returns the real editor. |
protected abstract String |
getValueAsString()
Returns a string representation of the value |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Property myProperty
protected Object value
protected TypeGenerator generator
Constructor Detail |
public OiCellEditor(Property property, Object value, TypeGenerator generator)
property
- the propertyvalue
- the valuegenerator
- TypeGenerator for the typeMethod Detail |
public Object getCellEditorValue()
public abstract Component getTableCellEditorComponent()
protected boolean checkValue(Object value)
value
- the value
protected abstract String getValueAsString()
protected void fireEditingStopped()
fireEditingStopped
in class AbstractCellEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |