edu.stanford.smi.protege.util
Class AddAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.util.StandardAction
edu.stanford.smi.protege.util.AllowableAction
edu.stanford.smi.protege.util.AddAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public abstract class AddAction
- extends AllowableAction
Base class support for the "Add" action available on most widgets. The semantics of "add" for cardinality single are
actually "set" (remove and add).
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
Methods inherited from class edu.stanford.smi.protege.util.StandardAction |
equals, getIcon, getName, getName, initialize, setDescription, setDescription, setDisabledIcon, setDisabledIcon, setIcon, setIcon, setMnemonic, setMnemonic, setName, setName, setShortcut, setShortcut, substituteIntoName |
AddAction
protected AddAction(ResourceKey key)
AddAction
protected AddAction(String text)
AddAction
protected AddAction(String text,
Icon icon)
actionPerformed
public void actionPerformed(ActionEvent event)
onAdd
public abstract void onAdd()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2010 Stanford University.