ClasspathChangeEvent.java :  » Byte-Code » jclasslib » org » gjt » jclasslib » browser » config » classpath » Java Open Source

Java Open Source » Byte Code » jclasslib 
jclasslib » org » gjt » jclasslib » browser » config » classpath » ClasspathChangeEvent.java
/*
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public
    License as published by the Free Software Foundation; either
    version 2 of the license, or (at your option) any later version.
*/

package org.gjt.jclasslib.browser.config.classpath;

import java.util.EventObject;

/**
    Change event for <tt>ClasspathChangeListener</tt>s.

    @author <a href="mailto:jclasslib@ej-technologies.com">Ingo Kegel</a>
    @version $Revision: 1.1 $ $Date: 2003/08/18 08:10:15 $
*/
public class ClasspathChangeEvent extends EventObject {

    private boolean removal;

    /**
     * Constructor.
     * @param source the source object
     * @param removal if a classpath entry has been removed.
     */
    public ClasspathChangeEvent(Object source, boolean removal) {
        super(source);
        this.removal = removal;
    }

    /**
     * Return whether a classpath entry has been removed.
     * @return the value
     */
    public boolean isRemoval() {
        return removal;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.