templates.presentation
Class EventLinker.AddEventToModel

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by templates.presentation.EventLinker.AddEventToModel
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
EventLinker

protected class EventLinker.AddEventToModel
extends javax.swing.AbstractAction

Action to mark an event for addition to the underlying model of the corresponding template component when the user commits all changes.

Author:
Lenko Grigorov
See Also:
Serialized Form

Field Summary
protected  EventLinker.EventLabel label
          The event label for the event to be marked.
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EventLinker.AddEventToModel(EventLinker.EventLabel label)
          Construct an action to mark the event from the given event label.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Mark the event for addition to the underlying model of the corresponding template component when the user commits all changes.
 
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
 

Field Detail

label

protected EventLinker.EventLabel label
The event label for the event to be marked.

Constructor Detail

EventLinker.AddEventToModel

public EventLinker.AddEventToModel(EventLinker.EventLabel label)
Construct an action to mark the event from the given event label.

Parameters:
label - the event label for the event to be marked
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Mark the event for addition to the underlying model of the corresponding template component when the user commits all changes.