com.mxgraph.util.mxEventSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AptSpringProcessor Show documentation
Show all versions of AptSpringProcessor Show documentation
This project contains the apt processor that implements all the checks enumerated in @Verify. It is a self contained, and
shaded jar.
The newest version!
/**
* Copyright (c) 2007, Gaudenz Alder
*/
package com.mxgraph.util;
import java.util.ArrayList;
import java.util.List;
/**
* Base class for objects that dispatch named events.
*/
public class mxEventSource
{
/**
* Defines the requirements for an object that listens to an event source.
*/
public interface mxIEventListener
{
/**
* Called when the graph model has changed.
*
* @param sender Reference to the source of the event.
* @param evt Event object to be dispatched.
*/
void invoke(Object sender, mxEventObject evt);
}
/**
* Holds the event names and associated listeners in an array. The array
* contains the event name followed by the respective listener for each
* registered listener.
*/
protected transient List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy