phenote.gui.selection
Class UseTermEvent
java.lang.Object
java.util.EventObject
phenote.gui.selection.UseTermEvent
- All Implemented Interfaces:
- java.io.Serializable
public class UseTermEvent
- extends java.util.EventObject
im not sure if this belongs in selection package - a use term listener listens
for UseTermEvents - this is from the term browser saying basically the user wants
to use this term - in the main window that means editing the model, in the postcomp
window that means setting the text either for genus of differentia (which waits
for an ok to actually edit the model
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
UseTermEvent(java.lang.Object source,
org.obo.datamodel.OBOClass term)
|
UseTermEvent(java.lang.Object source,
org.obo.datamodel.OBOObject obj)
|
|
Method Summary |
org.obo.datamodel.OBOObject |
getObject()
|
org.obo.datamodel.OBOClass |
getTerm()
if possible phase this out for getObject? |
boolean |
isTerm()
|
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UseTermEvent
public UseTermEvent(java.lang.Object source,
org.obo.datamodel.OBOClass term)
UseTermEvent
public UseTermEvent(java.lang.Object source,
org.obo.datamodel.OBOObject obj)
getTerm
public org.obo.datamodel.OBOClass getTerm()
- if possible phase this out for getObject?
isTerm
public boolean isTerm()
getObject
public org.obo.datamodel.OBOObject getObject()