fdda.dialog.swing.properties
Class MultiValueEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--fdda.dialog.swing.properties.MultiValueEditor
- All Implemented Interfaces:
- CellEditor, Serializable
- class MultiValueEditor
- extends AbstractCellEditor
Editor for values of properties, when the property has multiple values. As
soon as the property is changed, editngStopped is fired, though that doesn't
necessarily mean that the dialog is closed.
Works just like the ObjectInspector.
- Author:
- Jörg Rüdenauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueEditor
public MultiValueEditor(Property aProperty,
String title)
- Constructor
- Parameters:
aProperty
- the propertytitle
- title for the dialog
getCellEditorValue
public Object getCellEditorValue()
getTableCellEditorComponent
public Component getTableCellEditorComponent()
- Returns the cell editing component - in _this_ case, shows the dialog
- Returns:
- null
getProperty
public Property getProperty()
- Returns the property
- Returns:
- the property
fireEditingStopped
protected void fireEditingStopped()
- Overrides:
fireEditingStopped
in class AbstractCellEditor
fireEditingCanceled
protected void fireEditingCanceled()
- Overrides:
fireEditingCanceled
in class AbstractCellEditor
API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.