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

org.chaostocosmos.chaosgraph.GraphPressEvent Maven / Gradle / Ivy

Go to download

This library contributes to making charts on AWT/Swing/SWT components. It can be used for AWT/Swing applications and Eclipse SWT (Standard Widget Toolkit) applications. If you would try to build a service of RAP dashboard web application, this library will provide great UX experience and excellent interactive functionality to the service for users.

The newest version!
package org.chaostocosmos.chaosgraph;

import java.util.EventObject;

/**
 * 
 * GraphPressEvent
 *
 * This event is occurred when mouse is pressed on graph element.
 * @author Kooin-Shin
 * 2020. 8. 26.
 */
public class GraphPressEvent extends EventObject {
	/**
	 * Graph element
	 */
	GraphElement ge;

	/**
	 * Constructor
	 * 
	 * @param source
	 * @param ge
	 */
	public GraphPressEvent(Object source, GraphElement ge) {
		super(source);
		this.ge = ge;
	}

	/**
	 * Get graph element
	 * @return
	 */
	public GraphElement getGraphElement() {
		return ge;
	}

	/**
	 * Set graph element
	 * @param ge
	 */
	public void setGraphElement(GraphElement ge) {
		this.ge = ge;
	}

	@Override
	public String toString() {
		return "GraphPressEvent [ge=" + ge + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy