List of usage examples for javax.swing.event CellEditorListener editingStopped
public void editingStopped(ChangeEvent e);
From source file:AncestorTree.java
public boolean stopCellEditing() { if (m_item != null) m_item.m_data = m_editor.getText(); ChangeEvent e = new ChangeEvent(this); for (int k = 0; k < m_listeners.size(); k++) { CellEditorListener l = (CellEditorListener) m_listeners.elementAt(k); l.editingStopped(e); }/*from w w w .j a v a 2 s . c om*/ removeEditor(); return true; }
From source file:GenderEditor.java
protected void fireEditingStopped() { CellEditorListener listener; Object[] listeners = listenerList.getListenerList(); for (int i = 0; i < listeners.length; i++) { if (listeners[i] == CellEditorListener.class) { listener = (CellEditorListener) listeners[i + 1]; listener.editingStopped(changeEvent); }/*from w w w . j a v a 2s . c om*/ } }
From source file:org.pentaho.reporting.libraries.designtime.swing.date.DateCellEditor.java
protected void fireEditingStopped() { final CellEditorListener[] listeners = this.listeners.getListeners(CellEditorListener.class); final ChangeEvent event = new ChangeEvent(this); for (int i = 0; i < listeners.length; i++) { final CellEditorListener listener = listeners[i]; listener.editingStopped(event); }/*from www .j a v a 2 s. c o m*/ }