kites.visual
Class NodeLabel.MenuAction

java.lang.Object
  extended by kites.visual.NodeLabel.MenuAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
NodeLabel

private class NodeLabel.MenuAction
extends java.lang.Object
implements java.awt.event.ActionListener

Listener in the popup menu for each rule. When called, begins a new interpretation step using the chosen rule.


Field Summary
private  ASTNode node
           
private  Rule rule
           
 
Constructor Summary
NodeLabel.MenuAction(ASTNode node, Rule rule)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

private ASTNode node

rule

private Rule rule
Constructor Detail

NodeLabel.MenuAction

public NodeLabel.MenuAction(ASTNode node,
                            Rule rule)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener