jmri.util.table
Class BasicCellEditor
java.lang.Object
jmri.util.table.BasicCellEditor
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, CellEditor
- Direct Known Subclasses:
- ButtonEditor
public class BasicCellEditor
- extends Object
- implements CellEditor, PropertyChangeListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editor
protected JComponent editor
listeners
protected EventListenerList listeners
editingEvent
protected EventObject editingEvent
BasicCellEditor
public BasicCellEditor()
BasicCellEditor
public BasicCellEditor(JComponent editor)
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface CellEditor
isCellEditable
public boolean isCellEditable(EventObject evt)
- Specified by:
isCellEditable in interface CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject evt)
- Specified by:
shouldSelectCell in interface CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing in interface CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing in interface CellEditor
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener in interface CellEditor
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener in interface CellEditor
getComponent
public JComponent getComponent()
setComponent
public void setComponent(JComponent comp)
getEditingEvent
public EventObject getEditingEvent()
editingStarted
public void editingStarted(EventObject event)
fireEditingStopped
protected void fireEditingStopped()
fireEditingCanceled
protected void fireEditingCanceled()
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: