001 // GraphLab Project: http://graphlab.sharif.edu 002 // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology 003 // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/ 004 005 package graphlab.graph.event; 006 007 import graphlab.graph.graph.EdgeModel; 008 009 import java.awt.*; 010 011 /** 012 * EdgeModelListener defines the interface for an object that listens 013 * to changes in a EdgModel. 014 * 015 * @author Azin Azadi 016 * @see graphlab.graph.graph.EdgeModel 017 */ 018 public interface EdgeModelListener { 019 020 void repaint(EdgeModel src); 021 022 void updateBounds(Rectangle r, EdgeModel src); 023 }