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.GraphPoint;
008    import graphlab.graph.graph.VertexModel;
009    
010    /**
011     * *************************************************************
012     * GraphLab Project                                             *
013     * Copyright (C) 2005 Math Science Department                   *
014     * of Sharif University of Technology       *
015     * *
016     * See license.txt for more details about license of GraphLab.  *
017     * *
018     * **************************************************************
019     */
020    
021    public interface VertexModelListener {
022    
023        public void repaint(VertexModel src);
024    
025        public void updateSize(VertexModel src, GraphPoint newSize);
026    
027        public void updateLocation(VertexModel src, GraphPoint newLocation);
028    
029    }