Package ArrayWithAllWidgets

Source Code of ArrayWithAllWidgets.MappedType

package ArrayWithAllWidgets;

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

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

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private boolean aCheckBox;
    private String aDataField;
    private int aDropList;
    private String aFillinField;
    private ImageData aPictureField;
    private int aRadioList;
    private int aScrollList;
    private TextData aTextField;

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

    }

    public MappedType(boolean paCheckBox, String paDataField, int paDropList, String paFillinField, ImageData paPictureField, int paRadioList, int paScrollList, TextData paTextField) {
        this();
        this.setACheckBox( paCheckBox );
        this.setADataField( paDataField );
        this.setADropList( paDropList );
        this.setAFillinField( paFillinField );
        this.setAPictureField( paPictureField );
        this.setARadioList( paRadioList );
        this.setAScrollList( paScrollList );
        this.setATextField( paTextField );
    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setACheckBox(boolean aCheckBox) {
        boolean oldValue = this.aCheckBox;
        this.aCheckBox = aCheckBox;
        this.qq_Listeners.firePropertyChange("ACheckBox", oldValue, this.aCheckBox);
    }

    public boolean getACheckBox() {
        return this.aCheckBox;
    }

    public void setADataField(String aDataField) {
        String oldValue = this.aDataField;
        this.aDataField = aDataField;
        this.qq_Listeners.firePropertyChange("ADataField", oldValue, this.aDataField);
    }

    public String getADataField() {
        return this.aDataField;
    }

    public void setADropList(int aDropList) {
        int oldValue = this.aDropList;
        this.aDropList = aDropList;
        this.qq_Listeners.firePropertyChange("ADropList", oldValue, this.aDropList);
    }

    public int getADropList() {
        return this.aDropList;
    }

    public void setAFillinField(String aFillinField) {
        String oldValue = this.aFillinField;
        this.aFillinField = aFillinField;
        this.qq_Listeners.firePropertyChange("AFillinField", oldValue, this.aFillinField);
    }

    public String getAFillinField() {
        return this.aFillinField;
    }

    public void setAPictureField(ImageData aPictureField) {
        ImageData oldValue = this.aPictureField;
        this.aPictureField = aPictureField;
        this.qq_Listeners.firePropertyChange("APictureField", oldValue, this.aPictureField);
    }

    public ImageData getAPictureField() {
        return this.aPictureField;
    }

    public void setARadioList(int aRadioList) {
        int oldValue = this.aRadioList;
        this.aRadioList = aRadioList;
        this.qq_Listeners.firePropertyChange("ARadioList", oldValue, this.aRadioList);
    }

    public int getARadioList() {
        return this.aRadioList;
    }

    public void setAScrollList(int aScrollList) {
        int oldValue = this.aScrollList;
        this.aScrollList = aScrollList;
        this.qq_Listeners.firePropertyChange("AScrollList", oldValue, this.aScrollList);
    }

    public int getAScrollList() {
        return this.aScrollList;
    }

    public void setATextField(TextData aTextField) {
        TextData oldValue = this.aTextField;
        this.aTextField = aTextField;
        this.qq_Listeners.firePropertyChange("ATextField", oldValue, this.aTextField);
    }

    public TextData getATextField() {
        return this.aTextField;
    }

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

Related Classes of ArrayWithAllWidgets.MappedType

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.