com.eliad.model.defaults
Class DefaultStyleModel.GenericEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--com.eliad.model.defaults.DefaultGridCellEditor
|
+--com.eliad.model.defaults.DefaultStyleModel.GenericEditor
- Direct Known Subclasses:
- DefaultStyleModel.NumberEditor
- public static class DefaultStyleModel.GenericEditor
- extends DefaultGridCellEditor
- implements javax.swing.SwingConstants
A generic editor usable with most basic data types. Similar to the one for a JTable
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent,
listenerList |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener,
fireEditingCanceled,
fireEditingStopped,
removeCellEditorListener |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DefaultStyleModel.GenericEditor
public DefaultStyleModel.GenericEditor()
- Default constructor, uses a
JTextField
stopCellEditing
public boolean stopCellEditing()
- Overrides:
- stopCellEditing in class DefaultGridCellEditor
getComponent
public java.awt.Component getComponent(java.lang.Object value,
boolean isSelected,
int row,
int column,
GridContext gridContext)
- Overrides:
- getComponent in class DefaultGridCellEditor
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Overrides:
- getCellEditorValue in class DefaultGridCellEditor