Package com.tagtraum.beatunes.songtable
Class TempoTableCellEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- com.tagtraum.beatunes.songtable.TempoTableCellEditor
-
- All Implemented Interfaces:
BeaTunesTableCellEditor
,Serializable
,CellEditor
,TableCellEditor
public class TempoTableCellEditor extends AbstractCellEditor implements BeaTunesTableCellEditor
TempoTableCellEditor.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description TempoTableCellEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeaTunes
getApplication()
Object
getCellEditorValue()
Component
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
boolean
isCellEditable(EventObject anEvent)
void
setApplication(BeaTunes beaTunes)
void
setTable(JTable table)
Registers this Editor with its table.-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
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, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
-
-
-
Method Detail
-
getApplication
public BeaTunes getApplication()
-
setApplication
public void setApplication(BeaTunes beaTunes)
- Specified by:
setApplication
in interfaceBeaTunesTableCellEditor
- Parameters:
beaTunes
- beaTunes
-
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interfaceCellEditor
- Overrides:
isCellEditable
in classAbstractCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
setTable
public void setTable(JTable table)
Registers this Editor with its table.- Specified by:
setTable
in interfaceBeaTunesTableCellEditor
- Parameters:
table
- table
-
-