List of usage examples for javax.swing.event CellEditorListener editingCanceled
public void editingCanceled(ChangeEvent e);
From source file:AncestorTree.java
public void cancelCellEditing() { ChangeEvent e = new ChangeEvent(this); for (int k = 0; k < m_listeners.size(); k++) { CellEditorListener l = (CellEditorListener) m_listeners.elementAt(k); l.editingCanceled(e); }/* w ww . j av a2 s .c o m*/ removeEditor(); }
From source file:GenderEditor.java
protected void fireEditingCanceled() { 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.editingCanceled(changeEvent); }/* w ww . ja va2 s. co m*/ } }
From source file:org.pentaho.reporting.libraries.designtime.swing.date.DateCellEditor.java
protected void fireEditingCanceled() { 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.editingCanceled(event); }/*from w w w. j a va 2 s . com*/ }