/*
* JFLAP - Formal Languages and Automata Package
*
*
* Susan H. Rodger
* Computer Science Department
* Duke University
* August 27, 2009
* Copyright (c) 2002-2009
* All rights reserved.
* JFLAP is open source software. Please see the LICENSE for terms.
*
*/
package gui.lsystem;
import java.util.EventObject;
/**
* This event is given to listeners of an L-system input pane who are interested
* when the input system registers a change.
*
* @see gui.lsystem.LSystemInputPane
* @see gui.lsystem.LSystemInputListener
*
* @author Thomas Finley
*/
public class LSystemInputEvent extends EventObject {
/**
* Instantiates a new LSystemInputEvent
.
*
* @param input
* the LSystemInputPane
that was edited
*/
public LSystemInputEvent(LSystemInputPane input) {
super(input);
}
/**
* Returns the LSystemInputPane
that generated this event.
*
* @return the LSystemInputPane
that generated this event
*/
public LSystemInputPane getInputPane() {
return (LSystemInputPane) getSource();
}
}