wugle.expressionui
Class OperationAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--wugle.expressionui.OperationAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable
- Direct Known Subclasses:
- AssociateLeftAction, AssociateRightAction, CommuteAction, ConvertTruthValueAction, DeMorgansAction, DistributeExpandAction, DistributeReduceAction, DominateAction, DoubleComplementAction, DoubleNegateAction, IdempotentAction, IdentityAction, ImpliesRuleAction, TautologyAction, XorRuleAction
- public abstract class OperationAction
- extends javax.swing.AbstractAction
- implements java.awt.event.ItemListener
- See Also:
- 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 |
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 |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
selected
protected Expression selected
OperationAction
public OperationAction(java.lang.String name)
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent event)
- Specified by:
itemStateChanged
in interface java.awt.event.ItemListener
addActionListener
public void addActionListener(java.awt.event.ActionListener listener)
removeActionListener
public void removeActionListener(java.awt.event.ActionListener listener)
fireAction
protected void fireAction(Expression source)
canPerform
protected abstract boolean canPerform()