Package GridFieldTester

Source Code of GridFieldTester.FTRACategoryMaintWin

package GridFieldTester;

import DisplayProject.Array_Of_DisplayNode;
import DisplayProject.Array_Of_OutlineColumnDesc;
import DisplayProject.CloseHideAdaptor;
import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.DisplayNode;
import DisplayProject.DropListModel;
import DisplayProject.GridField;
import DisplayProject.OutlineColumnDesc;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.Caption;
import DisplayProject.actions.ElementList;
import DisplayProject.actions.FrameWeight;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidgetState;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.DropList;
import DisplayProject.controls.ListView;
import DisplayProject.controls.TextGraphic;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.DropFillinFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.PushButtonFactory;
import DisplayProject.factory.TableFactory;
import DisplayProject.factory.ToggleFieldFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import Framework.Array_Of_ListElement;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.File;
import Framework.ForteKeyboardFocusManager;
import Framework.ListElement;
import Framework.RuntimeProperties;
import Framework.TextData;
import Framework.UsageException;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.awt.Window;
import java.awt.event.ComponentListener;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
import java.net.MalformedURLException;
import java.net.URL;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;

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

    // ----------
    // Attributes
    // ----------
    protected File DefaultHelpFile;
    protected BindingManager bindingManager = null;
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private String s1;
    private String s2;
    private DisplayNode myListView;
    private int eFTRAType;
    private boolean isMultipleUseAllowed;
    private boolean isMultiSubCatsAllowed;
    private boolean isCurrent;
    private int eFTRACategory;
    private DisplayNode eligibilityText;

    // ------------
    // Constructors
    // ------------
    public FTRACategoryMaintWin() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.initialize();

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public File getDefaultHelpFile() {
        return DefaultHelpFile;
    }

    public void setDefaultHelpFile(File defaultHelpFile) {
        DefaultHelpFile = defaultHelpFile;
        UserWindow.createHelp(this, defaultHelpFile);
    }

    public void setHelpURL(String urlString) {
        try {
            URL url = new URL(urlString);
            UserWindow.createHelp(this, url);
        } catch (MalformedURLException e) {
            UsageException err = new UsageException("Cannot create help URL", e);
            ErrorMgr.addError(err);
            throw err;
        }
    }

    protected BindingManager getBindingManager() {
        if (this.bindingManager == null) {
            this.bindingManager = new BindingManager(this);
        }
        return bindingManager;
    }

    public void setS1(String s1) {
        String oldValue = this.s1;
        this.s1 = s1;
        this.qq_Listeners.firePropertyChange("s1", oldValue, this.s1);
    }

    public String getS1() {
        return this.s1;
    }

    public void setS2(String s2) {
        String oldValue = this.s2;
        this.s2 = s2;
        this.qq_Listeners.firePropertyChange("s2", oldValue, this.s2);
    }

    public String getS2() {
        return this.s2;
    }

    public void setMyListView(DisplayNode myListView) {
        DisplayNode oldValue = this.getMyListView();
        this.getqq_myListView().setRootNode(myListView);
        this.qq_Listeners.firePropertyChange("myListView", oldValue, myListView);
    }

    public DisplayNode getMyListView() {
        return (DisplayNode)this.getqq_myListView().getRootNode();
    }

    public void setEFTRAType(int eFTRAType) {
        int oldValue = this.eFTRAType;
        this.eFTRAType = eFTRAType;
        this.qq_Listeners.firePropertyChange("EFTRAType", oldValue, this.eFTRAType);
    }

    public int getEFTRAType() {
        return this.eFTRAType;
    }

    public void setIsMultipleUseAllowed(boolean isMultipleUseAllowed) {
        boolean oldValue = this.isMultipleUseAllowed;
        this.isMultipleUseAllowed = isMultipleUseAllowed;
        this.qq_Listeners.firePropertyChange("isMultipleUseAllowed", oldValue, this.isMultipleUseAllowed);
    }

    public boolean getIsMultipleUseAllowed() {
        return this.isMultipleUseAllowed;
    }

    public void setIsMultiSubCatsAllowed(boolean isMultiSubCatsAllowed) {
        boolean oldValue = this.isMultiSubCatsAllowed;
        this.isMultiSubCatsAllowed = isMultiSubCatsAllowed;
        this.qq_Listeners.firePropertyChange("isMultiSubCatsAllowed", oldValue, this.isMultiSubCatsAllowed);
    }

    public boolean getIsMultiSubCatsAllowed() {
        return this.isMultiSubCatsAllowed;
    }

    public void setIsCurrent(boolean isCurrent) {
        boolean oldValue = this.isCurrent;
        this.isCurrent = isCurrent;
        this.qq_Listeners.firePropertyChange("isCurrent", oldValue, this.isCurrent);
    }

    public boolean getIsCurrent() {
        return this.isCurrent;
    }

    public void setEFTRACategory(int eFTRACategory) {
        int oldValue = this.eFTRACategory;
        this.eFTRACategory = eFTRACategory;
        this.qq_Listeners.firePropertyChange("EFTRACategory", oldValue, this.eFTRACategory);
    }

    public int getEFTRACategory() {
        return this.eFTRACategory;
    }

    public void setEligibilityText(DisplayNode eligibilityText) {
        DisplayNode oldValue = this.getEligibilityText();
        this.getqq_EligibilityText().setRootNode(eligibilityText);
        this.qq_Listeners.firePropertyChange("eligibilityText", oldValue, eligibilityText);
    }

    public DisplayNode getEligibilityText() {
        return (DisplayNode)this.getqq_EligibilityText().getRootNode();
    }

    // -------
    // 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);
    }

    /**
     * display<p>
     * <p>
     */
    public void display() {
        UserWindow.open(this);

        Array_Of_ListElement<ListElement> list = new Array_Of_ListElement<ListElement>();
        list.add(new ListElement(new TextData("Some value"), ListElement.qq_Resolver.cTEXTVALUE));
        list.add(new ListElement(new TextData("Some other value"), ListElement.qq_Resolver.cTEXTVALUE));
        list.add(new ListElement(new TextData("Some other, even longer, value"), ListElement.qq_Resolver.cTEXTVALUE));
        ElementList.set(this.getqq_eFTRACategory(), list);

        WidgetState.set(this.getqq_Button1(), Constants.FS_INVISIBLE);
        WidgetState.set(this.getqq_Button3(), Constants.FS_INVISIBLE);

        // ----------
        // Event Loop
        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
            File f = new File();
            f.setLocalName(new TextData("c:\\x.txt"));
            f.open(Framework.Constants.SP_AM_WRITE, false);
            UIutils.traceWidget(this);
            f.close();


            while (true) {

                UIutils.processGUIActions();
                EventHandle qq_currentEvent = EventManager.waitForEvent();
                if (qq_currentEvent == null)
                    break;

                // -------------
                // task.Shutdown
                // -------------
                if (qq_currentEvent.isEvent(TaskHandle_Shutdown_langThreadcurrentThread)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        break;
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }
            }
            EventManager.deregister( TaskHandle_Shutdown_langThreadcurrentThread );
        }
        //catch (Exception qq_error) {
            //Logger.getLogger("task.part.Event").error("Event loop terminated by unhandled exception: " + qq_error.getMessage(), qq_error );
            //throw qq_error;
        //}
        finally {
            EventManager.endEventLoop();
            UserWindow.close(this);
        }
    }

    // ------------------
    // Window Definitions
    // ------------------
    // <editor-fold defaultstate="collapsed" desc="Window Definitions">
    private int qq_defaultSet = 1;
    private int qq_msgNumber = 0;
    private int qq_msgSet = 0;
    protected Window primaryWindow = null;
    protected int initialX;
    protected int initialY;
    protected int qq_SystemClosePolicy = Constants.SC_ENABLEDSHUTDOWN;
    protected int qq_initialPositionPolicy = Constants.PP_SYSTEMDEFAULT;
    public DataField qq_s1;
    public DataField qq_s2;
    public DropList qq_eFTRACategory;
    public DropList qq_eFTRAType;
    public GridField qq_gfButtonSet;
    public GridField qq_gfButtons;
    public GridField qq_gfEligibilityList;
    public GridField qq_gfFTRACategory;
    public GridField qq_gfFTRACategoryDetails;
    public GridField qq_gfInUse;
    public GridField qq_gfInner;
    public GridField qq_gfMultiSubCategories;
    public GridField qq_gfMultiSubCategoriesOuter;
    public GridField qq_gfMultipleUse;
    public GridField qq_gfMultipleUseAllowed;
    public GridField qq_gfOuter;
    public GridField qq_gfResults;
    public GridField qq_gfResultsList;
    public GridField qq_gfStatus;
    public GridField qq_theFTRACategory;
    public JButton qq_Button1;
    public JButton qq_Button2;
    public JButton qq_Button3;
    public JButton qq_Button4;
    public JCheckBox qq_isCurrent;
    public JCheckBox qq_isMultiSubCatsAllowed;
    public JCheckBox qq_isMultipleUseAllowed;
    public JPanel Form;
    public ListView qq_EligibilityText;
    public ListView qq_myListView;
    public OutlineColumnDesc qq_EligibilityText_DVNodeText;
    public OutlineColumnDesc qq_myListView_DVNodeText;
    public TextGraphic qq_CategoryLbl;
    public TextGraphic qq_IsUseLbl;
    public TextGraphic qq_MultiSubCategoriesAllowedLbl;
    public TextGraphic qq_MultipleUseAllowedLbl;
    public TextGraphic qq_TypeLbl;

    /**
     * qq_Button1: transformed from: qqds_PushButton
     * TagId=15
     * isInherited=FALSE
     */
    public JButton getqq_Button1() {
        if (qq_Button1 == null) {
            qq_Button1 = PushButtonFactory.newInstance("Button1", "b1");
            qq_Button1.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_Button1, Constants.SP_NATURAL);
            HeightPolicy.set(qq_Button1, Constants.SP_NATURAL);
            qq_Button1.setMinimumSize(new Dimension(27, 23));
        }
        return qq_Button1;
    }

    public void setqq_Button1(JButton value) {
        JButton oldValue = qq_Button1;
        qq_Button1 = value;
        this.qq_Listeners.firePropertyChange("qq_Button1", oldValue, value);
    }

    /**
     * qq_Button2: transformed from: qqds_PushButton
     * TagId=16
     * isInherited=FALSE
     */
    public JButton getqq_Button2() {
        if (qq_Button2 == null) {
            qq_Button2 = PushButtonFactory.newInstance("Button2", "b2");
            qq_Button2.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_Button2, Constants.SP_NATURAL);
            HeightPolicy.set(qq_Button2, Constants.SP_NATURAL);
            qq_Button2.setMinimumSize(new Dimension(27, 23));
        }
        return qq_Button2;
    }

    public void setqq_Button2(JButton value) {
        JButton oldValue = qq_Button2;
        qq_Button2 = value;
        this.qq_Listeners.firePropertyChange("qq_Button2", oldValue, value);
    }

    /**
     * qq_Button3: transformed from: qqds_PushButton
     * TagId=17
     * isInherited=FALSE
     */
    public JButton getqq_Button3() {
        if (qq_Button3 == null) {
            qq_Button3 = PushButtonFactory.newInstance("Button3", "b3");
            qq_Button3.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_Button3, Constants.SP_NATURAL);
            HeightPolicy.set(qq_Button3, Constants.SP_NATURAL);
            qq_Button3.setMinimumSize(new Dimension(27, 23));
        }
        return qq_Button3;
    }

    public void setqq_Button3(JButton value) {
        JButton oldValue = qq_Button3;
        qq_Button3 = value;
        this.qq_Listeners.firePropertyChange("qq_Button3", oldValue, value);
    }

    /**
     * qq_Button4: transformed from: qqds_PushButton
     * TagId=18
     * isInherited=FALSE
     */
    public JButton getqq_Button4() {
        if (qq_Button4 == null) {
            qq_Button4 = PushButtonFactory.newInstance("Button4", "b4");
            qq_Button4.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_Button4, Constants.SP_NATURAL);
            HeightPolicy.set(qq_Button4, Constants.SP_NATURAL);
            qq_Button4.setMinimumSize(new Dimension(27, 23));
        }
        return qq_Button4;
    }

    public void setqq_Button4(JButton value) {
        JButton oldValue = qq_Button4;
        qq_Button4 = value;
        this.qq_Listeners.firePropertyChange("qq_Button4", oldValue, value);
    }

    /**
     * qq_gfButtonSet: transformed from: qqds_GridField
     * TagId=14
     * isInherited=FALSE
     * In forte this was a 4x1 grid field.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfButtonSetProperties() {
        qq_gfButtonSet.setIgnoreInvisibleChildren(true);
        qq_gfButtonSet.setCollapsed(true);
        qq_gfButtonSet.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfButtonSet.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfButtonSet.setBackground(null);
    }

    public GridField getqq_gfButtonSet() {
        if (qq_gfButtonSet == null) {
            qq_gfButtonSet = CompoundFieldFactory.newGridField("gfButtonSet", false);
            setqq_gfButtonSetProperties();
            qq_gfButtonSet.setMinimumSize(new Dimension(113, 23));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfButtonSet.add( getqq_Button1(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfButtonSet.add( getqq_Button2(), qq_gbc1 );

            GridBagConstraints qq_gbc2 = new GridBagConstraints();
            qq_gbc2.gridx = 2; // Column 3
            qq_gbc2.gridy = 0; // Row 1
            qq_gbc2.weightx = 0;
            qq_gbc2.weighty = 0;
            qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfButtonSet.add( getqq_Button3(), qq_gbc2 );

            GridBagConstraints qq_gbc3 = new GridBagConstraints();
            qq_gbc3.gridx = 3; // Column 4
            qq_gbc3.gridy = 0; // Row 1
            qq_gbc3.weightx = 0;
            qq_gbc3.weighty = 0;
            qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc3.insets = new Insets(0, 4, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfButtonSet.add( getqq_Button4(), qq_gbc3 );

        }
        return qq_gfButtonSet;
    }

    public void setqq_gfButtonSet(GridField value) {
        GridField oldValue = qq_gfButtonSet;
        qq_gfButtonSet = value;
        this.qq_Listeners.firePropertyChange("qq_gfButtonSet", oldValue, value);
    }

    /**
     * qq_gfButtons: transformed from: qqds_GridField
     * TagId=13
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * The cell margins are all 50 mils
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_gfButtonsProperties() {
        FrameWeight.set(qq_gfButtons, Constants.W_DEFAULT);
        qq_gfButtons.setCellTopMargin(25);
        qq_gfButtons.setCellBottomMargin(25);
        qq_gfButtons.setCellLeftMargin(25);
        qq_gfButtons.setCellRightMargin(25);
        qq_gfButtons.setCollapsed(true);
        qq_gfButtons.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfButtons.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfButtons.setBackground(null);
    }

    public GridField getqq_gfButtons() {
        if (qq_gfButtons == null) {
            qq_gfButtons = CompoundFieldFactory.newGridField("gfButtons", false);
            setqq_gfButtonsProperties();
            qq_gfButtons.setMinimumSize(new Dimension(0, 36));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
            qq_gfButtons.add( getqq_gfButtonSet(), qq_gbc );

        }
        return qq_gfButtons;
    }

    public void setqq_gfButtons(GridField value) {
        GridField oldValue = qq_gfButtons;
        qq_gfButtons = value;
        this.qq_Listeners.firePropertyChange("qq_gfButtons", oldValue, value);
    }

    /**
     * qq_s1: transformed from: qqds_DataField
     * TagId=20
     * isInherited=FALSE
     */
    public DataField getqq_s1() {
        if (qq_s1 == null) {
            // Mask type: MK_NONE
            qq_s1 = DataFieldFactory.newDataField("s1", 9, Constants.MK_NONE);
            qq_s1.setOriginalFormatText(null);
            qq_s1.setOpaque(false);
            qq_s1.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_s1, "s1");
            WidthPolicy.set(qq_s1, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_s1, Constants.SP_NATURAL);
            qq_s1.setMinimumSize(new Dimension(72, 19));
            qq_s1.setSize(new Dimension(72, 19));
        }
        return qq_s1;
    }

    public void setqq_s1(DataField value) {
        DataField oldValue = qq_s1;
        qq_s1 = value;
        this.qq_Listeners.firePropertyChange("qq_s1", oldValue, value);
    }

    /**
     * qq_s2: transformed from: qqds_DataField
     * TagId=21
     * isInherited=FALSE
     */
    public DataField getqq_s2() {
        if (qq_s2 == null) {
            // Mask type: MK_NONE
            qq_s2 = DataFieldFactory.newDataField("s2", 58, Constants.MK_NONE);
            qq_s2.setOriginalFormatText(null);
            qq_s2.setOpaque(false);
            qq_s2.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_s2, "s2");
            WidthPolicy.set(qq_s2, Constants.SP_TO_PARENT);
            HeightPolicy.set(qq_s2, Constants.SP_NATURAL);
            int width = UIutils.colsToPixels(0, qq_s2);
            qq_s2.setMinimumSize(new Dimension(width, 19));
        }
        return qq_s2;
    }

    public void setqq_s2(DataField value) {
        DataField oldValue = qq_s2;
        qq_s2 = value;
        this.qq_Listeners.firePropertyChange("qq_s2", oldValue, value);
    }

    /**
     * qq_gfStatus: transformed from: qqds_GridField
     * TagId=19
     * isInherited=FALSE
     * In forte this was a 2x1 grid field.
     * There are no cell margins set
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_gfStatusProperties() {
        qq_gfStatus.setCollapsed(true);
        qq_gfStatus.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfStatus.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfStatus.setBackground(null);
    }

    public GridField getqq_gfStatus() {
        if (qq_gfStatus == null) {
            qq_gfStatus = CompoundFieldFactory.newGridField("gfStatus", false);
            setqq_gfStatusProperties();
            qq_gfStatus.setMinimumSize(new Dimension(0, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfStatus.add( getqq_s1(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 1;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfStatus.add( getqq_s2(), qq_gbc1 );

        }
        return qq_gfStatus;
    }

    public void setqq_gfStatus(GridField value) {
        GridField oldValue = qq_gfStatus;
        qq_gfStatus = value;
        this.qq_Listeners.firePropertyChange("qq_gfStatus", oldValue, value);
    }

    /**
     * qq_myListView: transformed from: qqds_ListView
     * TagId=25
     * isInherited=FALSE
     */
    public ListView getqq_myListView() {
        if (qq_myListView == null) {
                qq_myListView = TableFactory.newListView("myListView", Constants.LT_DETAIL, null, Font.PLAIN);
                qq_myListView.setMappedType(Array_Of_DisplayNode.class);
                Array_Of_OutlineColumnDesc<OutlineColumnDesc> columns = new Array_Of_OutlineColumnDesc<OutlineColumnDesc>();
                columns.add(getqq_myListView_DVNodeText());
                qq_myListView.setColumnList(columns);
                qq_myListView.setHasTitles(true);
                qq_myListView.setVisibleLines(9);
                qq_myListView.setVisibleColumns(88);
                WidthPolicy.set(qq_myListView, Constants.SP_TO_PARENT);
                HeightPolicy.set(qq_myListView, Constants.SP_TO_PARENT);
            }
            return qq_myListView;
        }

        public void setqq_myListView(ListView value) {
            ListView oldValue = qq_myListView;
            qq_myListView = value;
            this.qq_Listeners.firePropertyChange("qq_myListView", oldValue, value);
        }
        public OutlineColumnDesc getqq_myListView_DVNodeText() {
            if (qq_myListView_DVNodeText == null) {
                qq_myListView_DVNodeText = new OutlineColumnDesc(Constants.TA_LEFT, false, false, 8, "DVNodeText", Constants.FP_DEFAULT, Constants.FS_VISIBLE, "Node", 0);
            }
            return qq_myListView_DVNodeText;
        }

    /**
     * qq_gfResultsList: transformed from: qqds_GridField
     * TagId=24
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * The cell margins are all 50 mils
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_gfResultsListProperties() {
        qq_gfResultsList.setCellTopMargin(25);
        qq_gfResultsList.setCellBottomMargin(25);
        qq_gfResultsList.setCellLeftMargin(25);
        qq_gfResultsList.setCellRightMargin(25);
        qq_gfResultsList.setCellGravity(Constants.CG_TOPLEFT);
        qq_gfResultsList.setCollapsed(true);
        qq_gfResultsList.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfResultsList.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfResultsList.setBackground(null);
    }

    public GridField getqq_gfResultsList() {
        if (qq_gfResultsList == null) {
            qq_gfResultsList = CompoundFieldFactory.newGridField("gfResultsList", false);
            setqq_gfResultsListProperties();
            qq_gfResultsList.setMinimumSize(new Dimension(0, 173));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT gf
            qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
            qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
            qq_gfResultsList.add( getqq_myListView(), qq_gbc );

        }
        return qq_gfResultsList;
    }

    public void setqq_gfResultsList(GridField value) {
        GridField oldValue = qq_gfResultsList;
        qq_gfResultsList = value;
        this.qq_Listeners.firePropertyChange("qq_gfResultsList", oldValue, value);
    }

    /**
     * qq_gfResults: transformed from: qqds_GridField
     * TagId=23
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * There are no cell margins set
     * The width policy is set to Parent, and the height policy is set to Parent.
     */
    protected void setqq_gfResultsProperties() {
        Caption.set(qq_gfResults, "Results");
        FrameWeight.set(qq_gfResults, Constants.W_DEFAULT);
        qq_gfResults.setCollapsed(true);
        qq_gfResults.setHeightPolicy(Constants.SP_TO_PARENT);
        qq_gfResults.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfResults.setBackground(null);
    }

    public GridField getqq_gfResults() {
        if (qq_gfResults == null) {
            qq_gfResults = CompoundFieldFactory.newGridField("gfResults", false);
            setqq_gfResultsProperties();
            qq_gfResults.setMinimumSize(new Dimension(0, 0));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfResults.add( getqq_gfResultsList(), qq_gbc );

        }
        return qq_gfResults;
    }

    public void setqq_gfResults(GridField value) {
        GridField oldValue = qq_gfResults;
        qq_gfResults = value;
        this.qq_Listeners.firePropertyChange("qq_gfResults", oldValue, value);
    }

    /**
     * qq_TypeLbl: transformed from: qqds_TextGraphic
     * TagId=29
     * isInherited=FALSE
     */
    public TextGraphic getqq_TypeLbl() {
        if (qq_TypeLbl == null) {
            qq_TypeLbl = GraphicFactory.newTextGraphic("Type:\n", "");
            qq_TypeLbl.setHorizontalAlignment( SwingConstants.LEFT );
            // OPTIONAL UIutils.reloadLabelText(qq_TypeLbl, mcat);
            WidthPolicy.set(qq_TypeLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_TypeLbl, Constants.SP_NATURAL);
            qq_TypeLbl.setMinimumSize(new Dimension(35, 16));
        }
        return qq_TypeLbl;
    }

    public void setqq_TypeLbl(TextGraphic value) {
        TextGraphic oldValue = qq_TypeLbl;
        qq_TypeLbl = value;
        this.qq_Listeners.firePropertyChange("qq_TypeLbl", oldValue, value);
    }

    /**
     * qq_eFTRAType: transformed from: qqds_DropList
     * TagId=30
     * isInherited=FALSE
     */
    public DropList getqq_eFTRAType() {
        if (qq_eFTRAType == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 1, "One", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 2, "Two", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 3, "Three", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 4, "Four", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );

            qq_eFTRAType = DropFillinFactory.newDropList();
            qq_eFTRAType.setName("eFTRAType");
            getBindingManager().bindComponent(qq_eFTRAType, "EFTRAType", elements);
            qq_eFTRAType.addActionListener( (DropListModel)qq_eFTRAType.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_eFTRAType, mcat);
            qq_eFTRAType.setMaximumRowCount(4);
            WidthPolicy.set(qq_eFTRAType, Constants.SP_NATURAL);
            HeightPolicy.set(qq_eFTRAType, Constants.SP_NATURAL);
            qq_eFTRAType.setMinimumSize(new Dimension(62, 19));
        }
        return qq_eFTRAType;
    }

    public void setqq_eFTRAType(DropList value) {
        DropList oldValue = qq_eFTRAType;
        qq_eFTRAType = value;
        this.qq_Listeners.firePropertyChange("qq_eFTRAType", oldValue, value);
    }

    /**
     * qq_CategoryLbl: transformed from: qqds_TextGraphic
     * TagId=31
     * isInherited=FALSE
     */
    public TextGraphic getqq_CategoryLbl() {
        if (qq_CategoryLbl == null) {
            qq_CategoryLbl = GraphicFactory.newTextGraphic("Category:\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_CategoryLbl, mcat);
            WidthPolicy.set(qq_CategoryLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_CategoryLbl, Constants.SP_NATURAL);
            qq_CategoryLbl.setMinimumSize(new Dimension(55, 16));
        }
        return qq_CategoryLbl;
    }

    public void setqq_CategoryLbl(TextGraphic value) {
        TextGraphic oldValue = qq_CategoryLbl;
        qq_CategoryLbl = value;
        this.qq_Listeners.firePropertyChange("qq_CategoryLbl", oldValue, value);
    }

    /**
     * qq_MultipleUseAllowedLbl: transformed from: qqds_TextGraphic
     * TagId=32
     * isInherited=FALSE
     */
    public TextGraphic getqq_MultipleUseAllowedLbl() {
        if (qq_MultipleUseAllowedLbl == null) {
            qq_MultipleUseAllowedLbl = GraphicFactory.newTextGraphic("Multiple Use Allowed:", "");
            qq_MultipleUseAllowedLbl.setHorizontalAlignment( SwingConstants.LEFT );
            // OPTIONAL UIutils.reloadLabelText(qq_MultipleUseAllowedLbl, mcat);
            WidthPolicy.set(qq_MultipleUseAllowedLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_MultipleUseAllowedLbl, Constants.SP_NATURAL);
            qq_MultipleUseAllowedLbl.setMinimumSize(new Dimension(105, 16));
        }
        return qq_MultipleUseAllowedLbl;
    }

    public void setqq_MultipleUseAllowedLbl(TextGraphic value) {
        TextGraphic oldValue = qq_MultipleUseAllowedLbl;
        qq_MultipleUseAllowedLbl = value;
        this.qq_Listeners.firePropertyChange("qq_MultipleUseAllowedLbl", oldValue, value);
    }

    /**
     * qq_isMultipleUseAllowed: transformed from: qqds_ToggleField
     * TagId=35
     * isInherited=FALSE
     */
    public JCheckBox getqq_isMultipleUseAllowed() {
        if (qq_isMultipleUseAllowed == null) {
            qq_isMultipleUseAllowed = ToggleFieldFactory.newToggleField("", "isMultipleUseAllowed");
            getBindingManager().bindComponent(qq_isMultipleUseAllowed, "isMultipleUseAllowed");
            // OPTIONAL UIutils.reloadLabelText(qq_isMultipleUseAllowed, mcat);
        }
        return qq_isMultipleUseAllowed;
    }

    public void setqq_isMultipleUseAllowed(JCheckBox value) {
        JCheckBox oldValue = qq_isMultipleUseAllowed;
        qq_isMultipleUseAllowed = value;
        this.qq_Listeners.firePropertyChange("qq_isMultipleUseAllowed", oldValue, value);
    }

    /**
     * qq_gfMultipleUseAllowed: transformed from: qqds_GridField
     * TagId=34
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * Neither the top nor the bottom cell margins are set, but the left cell margin is 0 mils and the right cell margin is 400 mils.
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfMultipleUseAllowedProperties() {
        qq_gfMultipleUseAllowed.setCellRightMargin(200);
        qq_gfMultipleUseAllowed.setCollapsed(true);
        qq_gfMultipleUseAllowed.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfMultipleUseAllowed.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfMultipleUseAllowed.setBackground(null);
    }

    public GridField getqq_gfMultipleUseAllowed() {
        if (qq_gfMultipleUseAllowed == null) {
            qq_gfMultipleUseAllowed = CompoundFieldFactory.newGridField("gfMultipleUseAllowed", false);
            setqq_gfMultipleUseAllowedProperties();
            qq_gfMultipleUseAllowed.setMinimumSize(new Dimension(58, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 19); // Top, Left, Bottom, Right Margin
            qq_gfMultipleUseAllowed.add( getqq_isMultipleUseAllowed(), qq_gbc );

        }
        return qq_gfMultipleUseAllowed;
    }

    public void setqq_gfMultipleUseAllowed(GridField value) {
        GridField oldValue = qq_gfMultipleUseAllowed;
        qq_gfMultipleUseAllowed = value;
        this.qq_Listeners.firePropertyChange("qq_gfMultipleUseAllowed", oldValue, value);
    }

    /**
     * qq_MultiSubCategoriesAllowedLbl: transformed from: qqds_TextGraphic
     * TagId=38
     * isInherited=FALSE
     */
    public TextGraphic getqq_MultiSubCategoriesAllowedLbl() {
        if (qq_MultiSubCategoriesAllowedLbl == null) {
            qq_MultiSubCategoriesAllowedLbl = GraphicFactory.newTextGraphic("Multi Sub Categories Allowed:\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_MultiSubCategoriesAllowedLbl, mcat);
            WidthPolicy.set(qq_MultiSubCategoriesAllowedLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_MultiSubCategoriesAllowedLbl, Constants.SP_NATURAL);
            qq_MultiSubCategoriesAllowedLbl.setMinimumSize(new Dimension(148, 16));
        }
        return qq_MultiSubCategoriesAllowedLbl;
    }

    public void setqq_MultiSubCategoriesAllowedLbl(TextGraphic value) {
        TextGraphic oldValue = qq_MultiSubCategoriesAllowedLbl;
        qq_MultiSubCategoriesAllowedLbl = value;
        this.qq_Listeners.firePropertyChange("qq_MultiSubCategoriesAllowedLbl", oldValue, value);
    }

    /**
     * qq_isMultiSubCatsAllowed: transformed from: qqds_ToggleField
     * TagId=39
     * isInherited=FALSE
     */
    public JCheckBox getqq_isMultiSubCatsAllowed() {
        if (qq_isMultiSubCatsAllowed == null) {
            qq_isMultiSubCatsAllowed = ToggleFieldFactory.newToggleField("", "isMultiSubCatsAllowed");
            getBindingManager().bindComponent(qq_isMultiSubCatsAllowed, "isMultiSubCatsAllowed");
            // OPTIONAL UIutils.reloadLabelText(qq_isMultiSubCatsAllowed, mcat);
        }
        return qq_isMultiSubCatsAllowed;
    }

    public void setqq_isMultiSubCatsAllowed(JCheckBox value) {
        JCheckBox oldValue = qq_isMultiSubCatsAllowed;
        qq_isMultiSubCatsAllowed = value;
        this.qq_Listeners.firePropertyChange("qq_isMultiSubCatsAllowed", oldValue, value);
    }

    /**
     * qq_gfMultiSubCategories: transformed from: qqds_GridField
     * TagId=37
     * isInherited=FALSE
     * In forte this was a 2x1 grid field.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfMultiSubCategoriesProperties() {
        qq_gfMultiSubCategories.setCollapsed(true);
        qq_gfMultiSubCategories.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfMultiSubCategories.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfMultiSubCategories.setBackground(null);
    }

    public GridField getqq_gfMultiSubCategories() {
        if (qq_gfMultiSubCategories == null) {
            qq_gfMultiSubCategories = CompoundFieldFactory.newGridField("gfMultiSubCategories", false);
            setqq_gfMultiSubCategoriesProperties();
            qq_gfMultiSubCategories.setMinimumSize(new Dimension(168, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfMultiSubCategories.add( getqq_MultiSubCategoriesAllowedLbl(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfMultiSubCategories.add( getqq_isMultiSubCatsAllowed(), qq_gbc1 );

        }
        return qq_gfMultiSubCategories;
    }

    public void setqq_gfMultiSubCategories(GridField value) {
        GridField oldValue = qq_gfMultiSubCategories;
        qq_gfMultiSubCategories = value;
        this.qq_Listeners.firePropertyChange("qq_gfMultiSubCategories", oldValue, value);
    }

    /**
     * qq_gfMultiSubCategoriesOuter: transformed from: qqds_GridField
     * TagId=36
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * Neither the top nor the bottom cell margins are set, but the left cell margin is 0 mils and the right cell margin is 400 mils.
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfMultiSubCategoriesOuterProperties() {
        qq_gfMultiSubCategoriesOuter.setCellRightMargin(200);
        qq_gfMultiSubCategoriesOuter.setCollapsed(true);
        qq_gfMultiSubCategoriesOuter.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfMultiSubCategoriesOuter.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfMultiSubCategoriesOuter.setBackground(null);
    }

    public GridField getqq_gfMultiSubCategoriesOuter() {
        if (qq_gfMultiSubCategoriesOuter == null) {
            qq_gfMultiSubCategoriesOuter = CompoundFieldFactory.newGridField("gfMultiSubCategoriesOuter", false);
            setqq_gfMultiSubCategoriesOuterProperties();
            qq_gfMultiSubCategoriesOuter.setMinimumSize(new Dimension(206, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 19); // Top, Left, Bottom, Right Margin
            qq_gfMultiSubCategoriesOuter.add( getqq_gfMultiSubCategories(), qq_gbc );

        }
        return qq_gfMultiSubCategoriesOuter;
    }

    public void setqq_gfMultiSubCategoriesOuter(GridField value) {
        GridField oldValue = qq_gfMultiSubCategoriesOuter;
        qq_gfMultiSubCategoriesOuter = value;
        this.qq_Listeners.firePropertyChange("qq_gfMultiSubCategoriesOuter", oldValue, value);
    }

    /**
     * qq_isCurrent: transformed from: qqds_ToggleField
     * TagId=41
     * isInherited=FALSE
     */
    public JCheckBox getqq_isCurrent() {
        if (qq_isCurrent == null) {
            qq_isCurrent = ToggleFieldFactory.newToggleField("", "isCurrent");
            getBindingManager().bindComponent(qq_isCurrent, "isCurrent");
            // OPTIONAL UIutils.reloadLabelText(qq_isCurrent, mcat);
        }
        return qq_isCurrent;
    }

    public void setqq_isCurrent(JCheckBox value) {
        JCheckBox oldValue = qq_isCurrent;
        qq_isCurrent = value;
        this.qq_Listeners.firePropertyChange("qq_isCurrent", oldValue, value);
    }

    /**
     * qq_IsUseLbl: transformed from: qqds_TextGraphic
     * TagId=42
     * isInherited=FALSE
     */
    public TextGraphic getqq_IsUseLbl() {
        if (qq_IsUseLbl == null) {
            qq_IsUseLbl = GraphicFactory.newTextGraphic("Is Use:\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_IsUseLbl, mcat);
            WidthPolicy.set(qq_IsUseLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_IsUseLbl, Constants.SP_NATURAL);
            qq_IsUseLbl.setMinimumSize(new Dimension(39, 16));
        }
        return qq_IsUseLbl;
    }

    public void setqq_IsUseLbl(TextGraphic value) {
        TextGraphic oldValue = qq_IsUseLbl;
        qq_IsUseLbl = value;
        this.qq_Listeners.firePropertyChange("qq_IsUseLbl", oldValue, value);
    }

    /**
     * qq_gfInUse: transformed from: qqds_GridField
     * TagId=40
     * isInherited=FALSE
     * In forte this was a 2x1 grid field.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfInUseProperties() {
        qq_gfInUse.setCollapsed(true);
        qq_gfInUse.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfInUse.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfInUse.setBackground(null);
    }

    public GridField getqq_gfInUse() {
        if (qq_gfInUse == null) {
            qq_gfInUse = CompoundFieldFactory.newGridField("gfInUse", false);
            setqq_gfInUseProperties();
            qq_gfInUse.setMinimumSize(new Dimension(59, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfInUse.add( getqq_IsUseLbl(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfInUse.add( getqq_isCurrent(), qq_gbc1 );

        }
        return qq_gfInUse;
    }

    public void setqq_gfInUse(GridField value) {
        GridField oldValue = qq_gfInUse;
        qq_gfInUse = value;
        this.qq_Listeners.firePropertyChange("qq_gfInUse", oldValue, value);
    }

    /**
     * qq_gfMultipleUse: transformed from: qqds_GridField
     * TagId=33
     * isInherited=FALSE
     * In forte this was a 3x1 grid field.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_gfMultipleUseProperties() {
        qq_gfMultipleUse.setCollapsed(true);
        qq_gfMultipleUse.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfMultipleUse.setWidthPolicy(Constants.SP_NATURAL);
        qq_gfMultipleUse.setBackground(null);
    }

    public GridField getqq_gfMultipleUse() {
        if (qq_gfMultipleUse == null) {
            qq_gfMultipleUse = CompoundFieldFactory.newGridField("gfMultipleUse", false);
            setqq_gfMultipleUseProperties();
            qq_gfMultipleUse.setMinimumSize(new Dimension(324, 19));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfMultipleUse.add( getqq_gfMultipleUseAllowed(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfMultipleUse.add( getqq_gfMultiSubCategoriesOuter(), qq_gbc1 );

            GridBagConstraints qq_gbc2 = new GridBagConstraints();
            qq_gbc2.gridx = 2; // Column 3
            qq_gbc2.gridy = 0; // Row 1
            qq_gbc2.weightx = 0;
            qq_gbc2.weighty = 0;
            qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfMultipleUse.add( getqq_gfInUse(), qq_gbc2 );

        }
        return qq_gfMultipleUse;
    }

    public void setqq_gfMultipleUse(GridField value) {
        GridField oldValue = qq_gfMultipleUse;
        qq_gfMultipleUse = value;
        this.qq_Listeners.firePropertyChange("qq_gfMultipleUse", oldValue, value);
    }

    /**
     * qq_eFTRACategory: transformed from: qqds_DropList
     * TagId=43
     * isInherited=FALSE
     */
    public DropList getqq_eFTRACategory() {
        if (qq_eFTRACategory == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();

            qq_eFTRACategory = DropFillinFactory.newDropList();
            qq_eFTRACategory.setName("eFTRACategory");
            getBindingManager().bindComponent(qq_eFTRACategory, "EFTRACategory", elements);
            qq_eFTRACategory.addActionListener( (DropListModel)qq_eFTRACategory.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_eFTRACategory, mcat);
            qq_eFTRACategory.setMaximumRowCount(4);
            WidthPolicy.set(qq_eFTRACategory, Constants.SP_NATURAL);
            HeightPolicy.set(qq_eFTRACategory, Constants.SP_NATURAL);
            qq_eFTRACategory.setMinimumSize(new Dimension(82, 19));
        }
        return qq_eFTRACategory;
    }

    public void setqq_eFTRACategory(DropList value) {
        DropList oldValue = qq_eFTRACategory;
        qq_eFTRACategory = value;
        this.qq_Listeners.firePropertyChange("qq_eFTRACategory", oldValue, value);
    }

    /**
     * qq_gfFTRACategory: transformed from: qqds_GridField
     * TagId=28
     * isInherited=FALSE
     * In forte this was a 2x3 grid field.
     * The top and bottom cell margins are both 30 mils, the left cell margin is 30 mils and the right cell margin is 0 mils.
     * The width policy is set to Parent, and the height policy is set to Parent.
     */
    protected void setqq_gfFTRACategoryProperties() {
        qq_gfFTRACategory.setCellTopMargin(15);
        qq_gfFTRACategory.setCellBottomMargin(15);
        qq_gfFTRACategory.setCellLeftMargin(15);
        qq_gfFTRACategory.setCellGravity(Constants.CG_MIDDLELEFT);
        qq_gfFTRACategory.setCollapsed(true);
        qq_gfFTRACategory.setColumnAlignment(Constants.CA_LEFT);
        qq_gfFTRACategory.setHeightPolicy(Constants.SP_TO_PARENT);
        qq_gfFTRACategory.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfFTRACategory.setBackground(null);
    }

    public GridField getqq_gfFTRACategory() {
        if (qq_gfFTRACategory == null) {
            qq_gfFTRACategory = CompoundFieldFactory.newGridField("gfFTRACategory", false);
            setqq_gfFTRACategoryProperties();
            qq_gfFTRACategory.setMinimumSize(new Dimension(0, 0));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_TypeLbl(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 1; // Column 2
            qq_gbc1.gridy = 0; // Row 1
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_eFTRAType(), qq_gbc1 );

            GridBagConstraints qq_gbc2 = new GridBagConstraints();
            qq_gbc2.gridx = 0; // Column 1
            qq_gbc2.gridy = 1; // Row 2
            qq_gbc2.weightx = 0;
            qq_gbc2.weighty = 0;
            qq_gbc2.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc2.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_CategoryLbl(), qq_gbc2 );

            GridBagConstraints qq_gbc3 = new GridBagConstraints();
            qq_gbc3.gridx = 1; // Column 2
            qq_gbc3.gridy = 1; // Row 2
            qq_gbc3.weightx = 0;
            qq_gbc3.weighty = 0;
            qq_gbc3.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc3.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_eFTRACategory(), qq_gbc3 );

            GridBagConstraints qq_gbc4 = new GridBagConstraints();
            qq_gbc4.gridx = 0; // Column 1
            qq_gbc4.gridy = 2; // Row 3
            qq_gbc4.weightx = 0;
            qq_gbc4.weighty = 0;
            qq_gbc4.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc4.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_MultipleUseAllowedLbl(), qq_gbc4 );

            GridBagConstraints qq_gbc5 = new GridBagConstraints();
            qq_gbc5.gridx = 1; // Column 2
            qq_gbc5.gridy = 2; // Row 3
            qq_gbc5.weightx = 0;
            qq_gbc5.weighty = 0;
            qq_gbc5.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT gf
            qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc5.insets = new Insets(1, 1, 1, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategory.add( getqq_gfMultipleUse(), qq_gbc5 );

        }
        return qq_gfFTRACategory;
    }

    public void setqq_gfFTRACategory(GridField value) {
        GridField oldValue = qq_gfFTRACategory;
        qq_gfFTRACategory = value;
        this.qq_Listeners.firePropertyChange("qq_gfFTRACategory", oldValue, value);
    }

    /**
     * qq_EligibilityText: transformed from: qqds_ListView
     * TagId=45
     * isInherited=FALSE
     */
    public ListView getqq_EligibilityText() {
        if (qq_EligibilityText == null) {
                qq_EligibilityText = TableFactory.newListView("EligibilityText", Constants.LT_DETAIL, null, Font.PLAIN);
                qq_EligibilityText.setMappedType(Array_Of_DisplayNode.class);
                Array_Of_OutlineColumnDesc<OutlineColumnDesc> columns = new Array_Of_OutlineColumnDesc<OutlineColumnDesc>();
                columns.add(getqq_EligibilityText_DVNodeText());
                qq_EligibilityText.setColumnList(columns);
                qq_EligibilityText.setHasTitles(true);
                qq_EligibilityText.setSize(new Dimension(444, 177));
                qq_EligibilityText.setMinimumSize(new Dimension(444, 177));
                // OPTIONAL qq_EligibilityText.setPreferredSize(new Dimension(444, 177));
                qq_EligibilityText.setVisibleColumns(88);
                WidthPolicy.set(qq_EligibilityText, Constants.SP_TO_PARENT);
                HeightPolicy.set(qq_EligibilityText, Constants.SP_EXPLICIT);
            }
            return qq_EligibilityText;
        }

        public void setqq_EligibilityText(ListView value) {
            ListView oldValue = qq_EligibilityText;
            qq_EligibilityText = value;
            this.qq_Listeners.firePropertyChange("qq_EligibilityText", oldValue, value);
        }
        public OutlineColumnDesc getqq_EligibilityText_DVNodeText() {
            if (qq_EligibilityText_DVNodeText == null) {
                qq_EligibilityText_DVNodeText = new OutlineColumnDesc(Constants.TA_LEFT, false, false, 8, "DVNodeText", Constants.FP_DEFAULT, Constants.FS_VISIBLE, "Node", 0);
            }
            return qq_EligibilityText_DVNodeText;
        }

    /**
     * qq_gfEligibilityList: transformed from: qqds_GridField
     * TagId=44
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * The cell margins are all 50 mils
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_gfEligibilityListProperties() {
        Caption.set(qq_gfEligibilityList, "Eligibility Text");
        FrameWeight.set(qq_gfEligibilityList, Constants.W_DEFAULT);
        qq_gfEligibilityList.setCellTopMargin(25);
        qq_gfEligibilityList.setCellBottomMargin(25);
        qq_gfEligibilityList.setCellLeftMargin(25);
        qq_gfEligibilityList.setCellRightMargin(25);
        qq_gfEligibilityList.setCellGravity(Constants.CG_TOPLEFT);
        qq_gfEligibilityList.setCollapsed(true);
        qq_gfEligibilityList.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfEligibilityList.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfEligibilityList.setBackground(null);
    }

    public GridField getqq_gfEligibilityList() {
        if (qq_gfEligibilityList == null) {
            qq_gfEligibilityList = CompoundFieldFactory.newGridField("gfEligibilityList", false);
            setqq_gfEligibilityListProperties();
            qq_gfEligibilityList.setMinimumSize(new Dimension(0, 202));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT gf
            qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
            qq_gfEligibilityList.add( getqq_EligibilityText(), qq_gbc );

        }
        return qq_gfEligibilityList;
    }

    public void setqq_gfEligibilityList(GridField value) {
        GridField oldValue = qq_gfEligibilityList;
        qq_gfEligibilityList = value;
        this.qq_Listeners.firePropertyChange("qq_gfEligibilityList", oldValue, value);
    }

    /**
     * qq_gfFTRACategoryDetails: transformed from: qqds_GridField
     * TagId=27
     * isInherited=FALSE
     * In forte this was a 1x2 grid field.
     * The top and bottom cell margins are both 50 mils, but neither the left nor the right cell margins are set.
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_gfFTRACategoryDetailsProperties() {
        qq_gfFTRACategoryDetails.setCellTopMargin(25);
        qq_gfFTRACategoryDetails.setCellBottomMargin(25);
        qq_gfFTRACategoryDetails.setCellGravity(Constants.CG_TOPLEFT);
        qq_gfFTRACategoryDetails.setCollapsed(true);
        qq_gfFTRACategoryDetails.setHeightPolicy(Constants.SP_NATURAL);
        qq_gfFTRACategoryDetails.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfFTRACategoryDetails.setBackground(null);
    }

    public GridField getqq_gfFTRACategoryDetails() {
        if (qq_gfFTRACategoryDetails == null) {
            qq_gfFTRACategoryDetails = CompoundFieldFactory.newGridField("gfFTRACategoryDetails", false);
            setqq_gfFTRACategoryDetailsProperties();
            qq_gfFTRACategoryDetails.setMinimumSize(new Dimension(0, 289));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT gf
            qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
            qq_gbc.insets = new Insets(2, 0, 2, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategoryDetails.add( getqq_gfFTRACategory(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 0; // Column 1
            qq_gbc1.gridy = 1; // Row 2
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT gf
            qq_gbc1.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc1.insets = new Insets(2, 0, 2, 0); // Top, Left, Bottom, Right Margin
            qq_gfFTRACategoryDetails.add( getqq_gfEligibilityList(), qq_gbc1 );

        }
        return qq_gfFTRACategoryDetails;
    }

    public void setqq_gfFTRACategoryDetails(GridField value) {
        GridField oldValue = qq_gfFTRACategoryDetails;
        qq_gfFTRACategoryDetails = value;
        this.qq_Listeners.firePropertyChange("qq_gfFTRACategoryDetails", oldValue, value);
    }

    /**
     * qq_theFTRACategory: transformed from: qqds_GridField
     * TagId=26
     * isInherited=FALSE
     * In forte this was a 1x1 grid field.
     * There are no cell margins set
     * The width policy is set to Parent, and the height policy is set to Natural.
     */
    protected void setqq_theFTRACategoryProperties() {
        qq_theFTRACategory.setCollapsed(true);
        qq_theFTRACategory.setHeightPolicy(Constants.SP_NATURAL);
        qq_theFTRACategory.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_theFTRACategory.setBackground(null);
    }

    public GridField getqq_theFTRACategory() {
        if (qq_theFTRACategory == null) {
            qq_theFTRACategory = CompoundFieldFactory.newGridField("theFTRACategory", false);
            setqq_theFTRACategoryProperties();
            qq_theFTRACategory.setMinimumSize(new Dimension(0, 289));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_theFTRACategory.add( getqq_gfFTRACategoryDetails(), qq_gbc );

        }
        return qq_theFTRACategory;
    }

    public void setqq_theFTRACategory(GridField value) {
        GridField oldValue = qq_theFTRACategory;
        qq_theFTRACategory = value;
        this.qq_Listeners.firePropertyChange("qq_theFTRACategory", oldValue, value);
    }

    /**
     * qq_gfInner: transformed from: qqds_GridField
     * TagId=22
     * isInherited=FALSE
     * In forte this was a 1x2 grid field.
     * There are no cell margins set
     * The width policy is set to Parent, and the height policy is set to Parent.
     */
    protected void setqq_gfInnerProperties() {
        qq_gfInner.setCollapsed(true);
        qq_gfInner.setHeightPolicy(Constants.SP_TO_PARENT);
        qq_gfInner.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfInner.setBackground(null);
    }

    public GridField getqq_gfInner() {
        if (qq_gfInner == null) {
            qq_gfInner = CompoundFieldFactory.newGridField("gfInner", false);
            setqq_gfInnerProperties();
            qq_gfInner.setMinimumSize(new Dimension(0, 0));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfInner.add( getqq_theFTRACategory(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 0; // Column 1
            qq_gbc1.gridy = 1; // Row 2
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfInner.add( getqq_gfResults(), qq_gbc1 );

        }
        return qq_gfInner;
    }

    public void setqq_gfInner(GridField value) {
        GridField oldValue = qq_gfInner;
        qq_gfInner = value;
        this.qq_Listeners.firePropertyChange("qq_gfInner", oldValue, value);
    }

    /**
     * qq_gfOuter: transformed from: qqds_GridField
     * TagId=12
     * isInherited=FALSE
     * In forte this was a 1x3 grid field.
     * There are no cell margins set
     * The width policy is set to Parent, and the height policy is set to Parent.
     */
    protected void setqq_gfOuterProperties() {
        qq_gfOuter.setCollapsed(true);
        qq_gfOuter.setHeightPolicy(Constants.SP_TO_PARENT);
        qq_gfOuter.setWidthPolicy(Constants.SP_TO_PARENT);
        qq_gfOuter.setBackground(null);
        qq_gfOuter.setLocation(8, 12);
    }

    public GridField getqq_gfOuter() {
        if (qq_gfOuter == null) {
            qq_gfOuter = CompoundFieldFactory.newGridField("gfOuter", false);
            setqq_gfOuterProperties();
            qq_gfOuter.setMinimumSize(new Dimension(0, 0));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfOuter.add( getqq_gfButtons(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 0; // Column 1
            qq_gbc1.gridy = 1; // Row 2
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc1.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfOuter.add( getqq_gfInner(), qq_gbc1 );

            GridBagConstraints qq_gbc2 = new GridBagConstraints();
            qq_gbc2.gridx = 0; // Column 1
            qq_gbc2.gridy = 2; // Row 3
            qq_gbc2.weightx = 0;
            qq_gbc2.weighty = 0;
            qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
            qq_gbc2.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
            qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_gfOuter.add( getqq_gfStatus(), qq_gbc2 );

        }
        return qq_gfOuter;
    }

    public void setqq_gfOuter(GridField value) {
        GridField oldValue = qq_gfOuter;
        qq_gfOuter = value;
        this.qq_Listeners.firePropertyChange("qq_gfOuter", oldValue, value);
    }

    /**
     * Form: transformed from: qqds_Panel
     * TagId=1
     * isInherited=FALSE
     */
    protected void setFormProperties() {
        Form.setOpaque( true );
    }

    public JPanel getForm() {
        if (Form == null) {
            Form = CompoundFieldFactory.newForm();
            this.setFormProperties();
            Form.add( getqq_gfOuter() );
        }
        return Form;
    }

    public void setForm(JPanel value) {
        JPanel oldValue = Form;
        Form = value;
        this.qq_Listeners.firePropertyChange("Form", oldValue, value);
    }

    /**
     * Gets the system close policy
     *
     * The SystemClosePolicy property determines how a window responds to user attempts to close it by using the native window system through the window close box or a window system menu command.
     * SystemClosePolicy responds to window closure attempts according to the following parameters:
     * <li>Constants.SC_DISABLED  Does not allow window closure through window system.</li>
     * <li>Constants.SC_ENABLEDNOFINALIZE  Window can be closed, but the contents are not verified, guaranteeing that the window will close (for example, the user clicks the Cancel button).</li>
     * <li>Constants.SC_ENABLEDFINALIZE  Posts the RequestFinalize method on the window, with a reason code of zero.</li>
     * <li>Constants.SC_ENABLEDSHUTDOWN  Posts Shutdown event to window�s task and to all tasks started by that task. This is the default value.</li>
     */
    public int getSystemClosePolicy() {
        return qq_SystemClosePolicy;
    }

    /**
     * Sets the system close policy
     *
     * The SystemClosePolicy property determines how a window responds to user attempts to close it by using the native window system through the window close box or a window system menu command.
     * SystemClosePolicy responds to window closure attempts according to the following parameters:
     * <li>Constants.SC_DISABLED  Does not allow window closure through window system.</li>
     * <li>Constants.SC_ENABLEDNOFINALIZE  Window can be closed, but the contents are not verified, guaranteeing that the window will close (for example, the user clicks the Cancel button).</li>
     * <li>Constants.SC_ENABLEDFINALIZE  Posts the RequestFinalize method on the window, with a reason code of zero.</li>
     * <li>Constants.SC_ENABLEDSHUTDOWN  Posts Shutdown event to window�s task and to all tasks started by that task. This is the default value.</li>
     */
    public void setSystemClosePolicy(int policy) {
        this.qq_SystemClosePolicy = policy;
        if (policy == Constants.SC_DISABLED) {
            this.addComponentListener(new CloseHideAdaptor(this));
        } else {
            for (ComponentListener cl : this.getComponentListeners()) {
                if (cl instanceof CloseHideAdaptor) {
                    this.removeComponentListener(cl);
                    break;
                }
            }
        }
    }

    /**
     * Gets the initial position policy
     *
     * The InitialPositionPolicy property sets the position of a main window when it is first displayed, relative to a primary window or the screen.
     * You use the InitialPositionPolicy property in conjunction with the InitialX, InitialY properties.
     * InitialPositionPolicy sets the position of a window according to the following values:
     * <li>Constants.PP_SYSTEMDEFAULT    Accepts the default window system placement specification.</li>
     * <li>Constants.PP_PRIMARYCENTERED  Centers the window relative to the window specified as the PrimaryWindow property.</li>
     * <li>Constants.PP_PRIMARYRELATIVE  Positions the window relative to the primary window, using the PrimaryWindow, InitialX and InitialY attributes.</li>
     * <li>Constants.PP_SCREENCENTERED  Centers the window relative to the screen.</li>
     * <li>Constants.PP_SCREENRELATIVE  Positions the window relative to the screen, using the InitialX and InitialY properties.</li>
     */
    public int getInitialPositionPolicy() {
        return qq_initialPositionPolicy;
    }

    /**
     * Sets the initial position policy
     *
     * The InitialPositionPolicy property sets the position of a main window when it is first displayed, relative to a primary window or the screen.
     * You use the InitialPositionPolicy property in conjunction with the InitialX, InitialY properties.
     * InitialPositionPolicy sets the position of a window according to the following values:
     * <li>Constants.PP_SYSTEMDEFAULT    Accepts the default window system placement specification.</li>
     * <li>Constants.PP_PRIMARYCENTERED  Centers the window relative to the window specified as the PrimaryWindow property.</li>
     * <li>Constants.PP_PRIMARYRELATIVE  Positions the window relative to the primary window, using the PrimaryWindow, InitialX and InitialY attributes.</li>
     * <li>Constants.PP_SCREENCENTERED  Centers the window relative to the screen.</li>
     * <li>Constants.PP_SCREENRELATIVE  Positions the window relative to the screen, using the InitialX and InitialY properties.</li>
     */
    public void setInitialPositionPolicy(int policy) {
        this.qq_initialPositionPolicy = policy;
    }

    /**
     * Gets the primary window
     *
     * The primary window property designates a window, known as a primary window, to serve as an initial position reference for the current window.
     * When a main window first realizes itself through the Open method on the UserWindow, it assumes a position according to the InitialPositionPolicy attribute.
     * When the InitialPositionPolicy property is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_PRIMARYCENTERED (centered on the primary window),
     * the window realizes itself in a position relative to the designated primary window.<p>
     * <p>
     * To take a position relative to the primary window, a window uses the PrimaryWindow attribute in conjunction with the InitialX and InitialY properties, which specify the window�s horizontal and vertical coordinates.
     */
    public Window getPrimaryWindow() {
        return this.primaryWindow;
    }

    /**
     * Sets the primary window
     *
     * The primary window property designates a window, known as a primary window, to serve as an initial position reference for the current window.
     * When a main window first realizes itself through the Open method on the UserWindow, it assumes a position according to the InitialPositionPolicy attribute.
     * When the InitialPositionPolicy property is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_PRIMARYCENTERED (centered on the primary window),
     * the window realizes itself in a position relative to the designated primary window.<p>
     * <p>
     * To take a position relative to the primary window, a window uses the PrimaryWindow attribute in conjunction with the InitialX and InitialY properties, which specify the window�s horizontal and vertical coordinates.
     */
    public void setPrimaryWindow(Window value) {
        this.primaryWindow = value;
    }

    /**
     * Gets the InitialX value
     *
     * The InitialX property (integer) is the window�s initial horizontal screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialX applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialX, and its corollary, InitialY, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public int getInitialX() {
        return initialX;
    }

    /**
     * Sets the InitialX value
     *
     * The InitialX property (integer) is the window�s initial horizontal screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialX applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialX, and its corollary, InitialY, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public void setInitialX(int value) {
        this.initialX = value;
    }

    /**
     * Gets the InitialY value
     *
     * The InitialY property (integer) is the window�s initial vertical screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialY applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialY, and its corollary, InitialX, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public int getInitialY() {
        return initialY;
    }

    /**
     * Sets the InitialY value
     *
     * The InitialY property (integer) is the window�s initial vertical screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialY applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialY, and its corollary, InitialX, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public void setInitialY(int value) {
        this.initialY = value;
    }

    /**
     * Gets the default message set number for the window and its widgets.
     */
    public int getSetNum() {
        return this.qq_defaultSet;
    }

    /**
     * Sets the default message set number for the window and its widgets.
     */
    public void setSetNum(int value) {
        this.qq_defaultSet = value;
    }

    /**
     * Gets the message set number for the message number of the window's title.
     */
    public int getTitleSetNum() {
        return this.qq_msgSet;
    }

    /**
     * Sets the message set number for the message number of the window's title.
     */
    public void setTitleSetNum(int value) {
        this.qq_msgSet = value;
    }

    /**
     * Gets the message number for the message number of the window's title.
     */
    public int getTitleMsgNum() {
        return this.qq_msgNumber;
    }

    /**
     * Sets the message number for the message number of the window's title.
     */
    public void setTitleMsgNum(int value) {
        this.qq_msgNumber = value;
    }



    /**
     * Initialise the window and all its children.
     */
    protected void initialize() {
        if (this.Form == null) {
            this.setName( "FTRACategoryMaintWin" );
            this.setTitle( "" );
            this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
            if (this.getContentPane() != this.getForm()) {
                this.setContentPane(getForm());
            }
            this.qq_setupWindowUsage();
            this.setResizable( false );
            this.setAlwaysOnTop(false);
            UserWindow.setIconizeEnabled(this, true);
            WindowManager.addWindowListener(this);
            this.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
            this.setUsage(DisplayProject.Constants.WU_UPDATE);
            UIutils.processGUIActions();
            this.pack();
            this.setInitialX(0);
            this.setInitialY(0);
            this.setInitialPositionPolicy(Constants.PP_SYSTEMDEFAULT);
        }
    }


    // ----------------
    //  Window usage
    //-----------------
    protected WindowUsageMap usage = new WindowUsageMap();
    public int getUsage() {
        return this.usage.getUsage();
    }
    public WindowUsageMap getUsageMap() {
        return this.usage;
    }
    /**
     * Sets the window usage
     *
     * The Usage property sets the state for all a window�s child widgets at once, providing collective widget state changes on a predefined basis. A widget�s state determines how the widget reacts to mouse actions and how it displays itself. A window�s Usage property provides a convenient way to control the states of a group of widgets in the context of their parent window. With the Usage attribute, you can synchronize widget states to conform to a pattern you establish for the window.
     * The Usage attribute accepts the following values:
     * <li>Constants.WU_EDIT  Edit usage: widgets themselves are editable, but not underlying data.</li>
     * <li>Constants.WU_QUERY  Query only usage: widget data is editable, but not widgets themselves.</li>
     * <li>Constants.WU_UPDATE  Update usage: mouse actions and keyboard input accepted. Widgets themselves are changeable. This is the default.</li>
     * <li>Constants.WU_USER1  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_USER2  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_USER3  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_VIEW  View-only usage: no keyboard input is accepted. Widget posts Click events for mouse clicks.</li>
     */
    public void setUsage(int usage) {
        this.usage.setUsage(usage);
    }
    public void qq_setupWindowUsage() {
        this.usage = new WindowUsageMap();
        this.usage.add(getqq_gfOuter(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfButtons(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfButtonSet(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_Button1(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Button2(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Button3(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Button4(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_gfStatus(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_s1(), Constants.FS_VIEWONLY, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_s2(), Constants.FS_VIEWONLY, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfInner(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfResults(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfResultsList(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_myListView(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theFTRACategory(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfFTRACategoryDetails(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfFTRACategory(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_TypeLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_eFTRAType(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_CategoryLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_MultipleUseAllowedLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_gfMultipleUse(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfMultipleUseAllowed(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_isMultipleUseAllowed(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfMultiSubCategoriesOuter(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfMultiSubCategories(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_MultiSubCategoriesAllowedLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_isMultiSubCatsAllowed(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfInUse(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_isCurrent(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_IsUseLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_eFTRACategory(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_gfEligibilityList(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_EligibilityText(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
    }
    // </editor-fold>

    // -----------
    // Main method
    // -----------
        public static void main(String []args) {
            KeyboardFocusManager.setCurrentKeyboardFocusManager(new ForteKeyboardFocusManager());
            try {
                UIManager.setLookAndFeel(new Win32LookAndFeel());
            }
            catch (Exception e) {}
            ToolTipManager.sharedInstance().setDismissDelay(Integer.MAX_VALUE);
            FTRACategoryMaintWin myClass = new FTRACategoryMaintWin();
            myClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            myClass.setVisible(true);
            UIutils.processGUIActions();
        }
// end class FTRACategoryMaintWin
// c Pass 2 Conversion Time: 375 milliseconds
TOP

Related Classes of GridFieldTester.FTRACategoryMaintWin

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.