de.kleopatra.view.binding
Class DefaultBindingMap.TriggerCancelAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.kleopatra.view.binding.DefaultBindingMap.TriggerCancelAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
DefaultBindingMap

public static class DefaultBindingMap.TriggerCancelAction
extends javax.swing.AbstractAction

action to flush trigger, typically bound to cancel keystroke.

The idea is to easily undo an edit in commitOnFocusLost scenarios. PENDING: problems with flushing unrelated when chaining to buffered valueModels (like in dialogs).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DefaultBindingMap.TriggerCancelAction(Trigger trigger)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBindingMap.TriggerCancelAction

public DefaultBindingMap.TriggerCancelAction(Trigger trigger)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.