edu.stanford.smi.protegex.owl.ui.actions.triple
Class TripleActionSwingAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.actions.triple.TripleActionSwingAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class TripleActionSwingAction
extends AbstractAction

A Swing Action that wraps a (generic) TripleAction.

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  Triple triple
           
private  TripleAction tripleAction
           
 
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
TripleActionSwingAction(TripleAction tripleAction, Triple triple)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static Icon getIcon(TripleAction action)
           
 
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

tripleAction

private TripleAction tripleAction

triple

private Triple triple
Constructor Detail

TripleActionSwingAction

public TripleActionSwingAction(TripleAction tripleAction,
                               Triple triple)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

getIcon

public static Icon getIcon(TripleAction action)