public class TransitivePropertyAction extends AbstractAction implements TreeNodeSelectionListener
Modifier and Type | Field and Description |
---|---|
protected ValuesSelectionAction |
domainAction |
protected JButton |
domainButton |
protected JPanel |
mainPanel |
protected JTextField |
nameSpace |
protected Ontology |
ontology |
protected ArrayList<String> |
ontologyClassesURIs |
protected JTextField |
propertyName |
protected ValuesSelectionAction |
rangeAction |
protected JButton |
rangeButton |
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 |
---|
TransitivePropertyAction(String s,
Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent actionevent) |
Ontology |
getOntology() |
ArrayList<String> |
getOntologyClassesURIs() |
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) |
void |
setOntologyClassesURIs(ArrayList<String> arraylist) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected JTextField nameSpace
protected JTextField propertyName
protected JButton domainButton
protected JButton rangeButton
protected ValuesSelectionAction domainAction
protected ValuesSelectionAction rangeAction
protected ArrayList<String> ontologyClassesURIs
protected ArrayList<DefaultMutableTreeNode> selectedNodes
public TransitivePropertyAction(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
public ArrayList<String> getOntologyClassesURIs()
public void setOntologyClassesURIs(ArrayList<String> arraylist)