java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.bzdev.ecdb.InstanceEditor
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,TreeCellEditor
Table-cell editor for ECDB Event instances.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
-
Field Summary
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
ConstructorsConstructorDescriptionInstanceEditor
(ECDB ecdb, Connection conn, int ownerID, int eventID, int locationID) Constructor. -
Method Summary
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Constructor Details
-
InstanceEditor
public InstanceEditor(ECDB ecdb, Connection conn, int ownerID, int eventID, int locationID) throws SQLException Constructor. The arguments ownerID, eventId, and locationID are used to filter all event instances to select a useful subset.- Parameters:
ecdb
- the instance of ECDB to use.conn
- a database connection obtained from ecdbownerID
- the ownerID for an event; -1 for any ownereventID
- the eventID; -1 for any eventlocationID
- ; -1 for any location- Throws:
SQLException
-