FileDocCategorySizeDatePackage
Event.javaAPI DocGlassfish v2 API483Wed Feb 08 12:31:18 GMT 2006persistence.antlr.debug

Event.java

package persistence.antlr.debug;

import java.util.EventObject;

public abstract class Event extends EventObject {
	private int type;


	public Event(Object source) {
		super(source);
	}
	public Event(Object source, int type) {
		super(source);
		setType(type);
	}
	public int getType() {
		return type;
	}
	void setType(int type) {
		this.type = type;
	}
	/** This should NOT be called from anyone other than ParserEventSupport! */
	void setValues(int type) {
		setType(type);
	}
}