edu.uci.ics.jung.visualization.control.ModalGraphMouse Maven / Gradle / Ivy
/*
* Copyright (c) 2005, The JUNG Authors
* All rights reserved.
*
* This software is open-source under the BSD license; see either "license.txt"
* or https://github.com/jrtom/jung/blob/master/LICENSE for a description.
*
* Created on Aug 26, 2005
*/
package edu.uci.ics.jung.visualization.control;
import edu.uci.ics.jung.visualization.VisualizationViewer;
import java.awt.event.ItemListener;
/**
* Interface for a GraphMouse that supports modality.
*
* @author Tom Nelson
*/
public interface ModalGraphMouse extends VisualizationViewer.GraphMouse {
void setMode(Mode mode);
/** @return Returns the modeListener. */
ItemListener getModeListener();
/** */
enum Mode {
TRANSFORMING,
PICKING,
ANNOTATING,
EDITING
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy