public class SubClassAction extends AbstractAction implements TreeNodeSelectionListener
Modifier and Type | Field and Description |
---|---|
protected JTextField |
className |
protected JPanel |
mainPanel |
protected JTextField |
nameSpace |
protected Ontology |
ontology |
protected ArrayList<DefaultMutableTreeNode> |
selectedNodes |
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
SubClassAction(String s,
Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent actionevent) |
Ontology |
getOntology() |
void |
selectionChanged(ArrayList<DefaultMutableTreeNode> arraylist)
This method is invoked by the ontology editor whenever a user
changes his/her selection in the ontology tree editor.
|
void |
setOntology(Ontology ontology) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected JTextField nameSpace
protected JTextField className
protected ArrayList<DefaultMutableTreeNode> selectedNodes
public SubClassAction(String s, Icon icon)
public void actionPerformed(ActionEvent actionevent)
actionPerformed
in interface ActionListener
public Ontology getOntology()
public void setOntology(Ontology ontology)
public void selectionChanged(ArrayList<DefaultMutableTreeNode> arraylist)
TreeNodeSelectionListener
selectionChanged
in interface TreeNodeSelectionListener