Protege 4.1.0

uk.ac.man.cs.mig.util.graph.event
Interface GraphModelListener


public interface GraphModelListener

User: matthewhorridge The Univeristy Of Manchester Medical Informatics Group Date: Dec 27, 2003 matthew.horridge@cs.man.ac.uk www.cs.man.ac.uk/~horridgm An interface for GraphModelListeners.


Method Summary
 void childAdded(GraphModelEvent evt)
           
 void childRemoved(GraphModelEvent evt)
           
 void modelChanged(GraphModelEvent evt)
          Fired when the model has changed drastically.
 void objectAdded(GraphModelEvent evt)
          Called when a node is added to the graph.
 void objectChanged(GraphModelEvent evt)
          Called when a node is changed.
 void objectRemoved(GraphModelEvent evt)
          Called when a node is removed from the graph.
 void parentAdded(GraphModelEvent evt)
           
 void parentRemoved(GraphModelEvent evt)
           
 

Method Detail

objectAdded

void objectAdded(GraphModelEvent evt)
Called when a node is added to the graph.

Parameters:
evt - The event, containing info about the objectAdded action.

objectRemoved

void objectRemoved(GraphModelEvent evt)
Called when a node is removed from the graph.

Parameters:
evt - The event, containing info about the nodeRemoved action.

objectChanged

void objectChanged(GraphModelEvent evt)
Called when a node is changed.

Parameters:
evt - The event, containing info about the nodeChanged action.

parentAdded

void parentAdded(GraphModelEvent evt)

parentRemoved

void parentRemoved(GraphModelEvent evt)

childAdded

void childAdded(GraphModelEvent evt)

childRemoved

void childRemoved(GraphModelEvent evt)

modelChanged

void modelChanged(GraphModelEvent evt)
Fired when the model has changed drastically.

Parameters:
evt - The event object associated with this event.

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research