All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uci.ics.jung.visualization.control.VertexSupport Maven / Gradle / Ivy

The newest version!
package edu.uci.ics.jung.visualization.control;

import java.awt.geom.Point2D;

import edu.uci.ics.jung.visualization.BasicVisualizationServer;

/**
 * interface to support the creation of new vertices by the EditingGraphMousePlugin.
 * SimpleVertexSupport is a sample implementation.
 * @author tanelso
 *
 * @param  the vertex type
 */
public interface VertexSupport {
	
	void startVertexCreate(BasicVisualizationServer vv, Point2D point);
	
	void midVertexCreate(BasicVisualizationServer vv, Point2D point);
	
	void endVertexCreate(BasicVisualizationServer vv, Point2D point);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy