org.kaiwitte.workbench.ui.controller
Class ApplyPrototypeAction
java.lang.Object
javax.swing.AbstractAction
org.kaiwitte.workbench.ui.controller.ApplyPrototypeAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public final class ApplyPrototypeAction
- extends javax.swing.AbstractAction
An action to apply a template to a RecordReceiver
. The
templates can be defined by the user in the option dialog.
- See Also:
QuickSearchPanel
,
NewRecordPanel
,
Serialized Form
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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Applies the template to the receiver. |
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 |
ApplyPrototypeAction
public ApplyPrototypeAction(MetaScheme scheme,
java.lang.String name,
RecordReceiver receiver,
java.lang.String recordString)
- Creates a new instance.
- Parameters:
scheme
- the scheme to be usedname
- the name for this Action
receiver
- the receiver of the prototype recordrecordString
- the string that defines the fields of the
template record. Fields are separated by commata.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Applies the template to the receiver.
- Parameters:
e
- not used