public class AnnotationPropertyAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
protected JPanel |
mainPanel |
protected JTextField |
nameSpace |
protected Ontology |
ontology |
protected JTextField |
propertyName |
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 |
---|
AnnotationPropertyAction(String s,
Icon icon)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent actionevent) |
Ontology |
getOntology() |
void |
setOntology(Ontology ontology)
Specifies the ontology that should be used to add/remove resource to/from.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected JTextField nameSpace
protected JTextField propertyName
public AnnotationPropertyAction(String s, Icon icon)
s
- - Label assigned to the Buttonicon
- - Icon assigned to the Buttonpublic void actionPerformed(ActionEvent actionevent)
public Ontology getOntology()
public void setOntology(Ontology ontology)