Package Express.windows

Source Code of Express.windows.OutlineIndexNode

package Express.windows;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;

import DisplayProject.DisplayNode;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Express.services.BusinessClass;
import Framework.RuntimeProperties;

/**
* The OutlineIndexNode class contains pointers to a corresponding OutlineField display node and result set record.
* <p>
* @author ITerative Consulting
* @since  26-Feb-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class OutlineIndexNode
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private DisplayNode outlineNode;
    private BusinessClass resultSetNode;

    // ------------
    // Constructors
    // ------------
    public OutlineIndexNode() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.outlineNode = null;
        this.resultSetNode = null;
    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setOutlineNode(DisplayNode outlineNode) {
        DisplayNode oldValue = this.outlineNode;
        this.outlineNode = outlineNode;
        this.qq_Listeners.firePropertyChange("outlineNode", oldValue, this.outlineNode);
    }

    public DisplayNode getOutlineNode() {
        return this.outlineNode;
    }

    public void setResultSetNode(BusinessClass resultSetNode) {
        BusinessClass oldValue = this.resultSetNode;
        this.resultSetNode = resultSetNode;
        this.qq_Listeners.firePropertyChange("resultSetNode", oldValue, this.resultSetNode);
    }

    public BusinessClass getResultSetNode() {
        return this.resultSetNode;
    }

    // -------
    // 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 OutlineIndexNode
// c Pass 2 Conversion Time: 16 milliseconds
TOP

Related Classes of Express.windows.OutlineIndexNode

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.