Package Displayer

Source Code of Displayer.ParentClass

package Displayer;

import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Displayer.ChildClass;
import Framework.RuntimeProperties;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;

/**
* ParentClass<p>
* <p>
* @author Generated from Forte
* @since  19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class ParentClass
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private ChildClass aChild;

    // ------------
    // Constructors
    // ------------
    public ParentClass() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setAChild(ChildClass aChild) {
        ChildClass oldValue = this.aChild;
        this.aChild = aChild;
        this.qq_Listeners.firePropertyChange("AChild", oldValue, this.aChild);
    }

    public ChildClass getAChild() {
        return this.aChild;
    }

    // -------
    // Methods
    // -------
    public void addPropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(property, listener);
    }

    public void addPropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(listener);
    }

    public void removePropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(property, listener);
    }

    public void removePropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(listener);
    }
// end class ParentClass
// c Pass 2 Conversion Time: 15 milliseconds
TOP

Related Classes of Displayer.ParentClass

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.