package Express.windows;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.Serializable;
import javax.help.CSH;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.KeyStroke;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;
import javax.swing.text.DefaultEditorKit;
import DisplayProject.Constants;
import DisplayProject.DataField;
import DisplayProject.GridField;
import DisplayProject.LayoutManagerHelper;
import DisplayProject.PaletteList;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowFormLayout;
import DisplayProject.WindowManager;
import DisplayProject.actions.Caption;
import DisplayProject.actions.FrameWeight;
import DisplayProject.actions.StatusText;
import DisplayProject.actions.TextValue;
import DisplayProject.actions.UserWindow;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.MenuList;
import DisplayProject.controls.MenuSeparator;
import DisplayProject.controls.Panel;
import DisplayProject.controls.TextGraphic;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.MenuFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import DisplayProject.printing.PrintActionListener;
import DisplayProject.printing.PrintSetupActionListener;
import Framework.Array_Of_ListElement;
import Framework.DataValue;
import Framework.EventManager;
import Framework.ForteKeyboardFocusManager;
import Framework.ImageData;
import Framework.ListElement;
import Framework.RuntimeProperties;
/**
* The ExpressArrayWindow class is a superclass for all Express windows that display records in an array field.
* <p>
* @author ITerative Consulting
* @since 26-Feb-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class ExpressArrayWindow
extends ExpressClassWindow
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
protected BindingManager bindingManager = null;
private ArrayDesc arrayWidget;
// ------------
// Constructors
// ------------
public ExpressArrayWindow() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.initialize();
this.arrayWidget = null;
}
// ----------------------
// Accessors and Mutators
// ----------------------
protected BindingManager getBindingManager() {
if (this.bindingManager == null) {
this.bindingManager = new BindingManager(this);
}
return bindingManager;
}
public void setArrayWidget(ArrayDesc arrayWidget) {
ArrayDesc oldValue = this.arrayWidget;
this.arrayWidget = arrayWidget;
this.qq_Listeners.firePropertyChange("arrayWidget", oldValue, this.arrayWidget);
}
public ArrayDesc getArrayWidget() {
return this.arrayWidget;
}
// -------
// Methods
// -------
/**
* clearAssociated<p>
* ClearAssociated<br>
* ClearAssociate blanks out the record associated with<br>
* this record after the user changes the foreign key.<br>
* <p>
* @param field Type: int
*/
public void clearAssociated(int field) {
}
/**
* clearFieldForSearch<p>
* ClearFieldForSearch<br>
* ClearFieldForSearch clears out the contents of a<br>
* field (including any input template, default<br>
* value, etc.) in preparation for search criteria.<br>
* <p>
* @param field Type: JComponent
*/
public void clearFieldForSearch(JComponent field) {
if (field instanceof DataField) {
TextValue.get(((DataField)field)).clear();
}
}
/**
* handleValueChange<p>
* HandleValueChange<br>
* HandleValueChange responds to the user's change<br>
* of a field on the window.<br>
* <p>
* <p>
* <p>
* Ignore the change if the user is in search mode.<br>
* <p>
* @param attrNumber Type: int
* @param attrValue Type: DataValue
*/
public void handleValueChange(int attrNumber, DataValue attrValue) {
try {
if (this.getWindowMode().intValue() == ExpressContainerWindow.WM_EDIT) {
//
// Call any user provided validation. If any errors
// occur, this method will raise an exception and abort
// the value change.
//
this.validateField(attrNumber, attrValue);
//
// Mark the field as changed.
//
if (this.getBusinessClient() != null && this.getCurRec() != null) {
this.getBusinessClient().logAttr(this.getCurRec(), attrNumber);
}
//
// Mark the result set as modified.
//
this.setIsResultSetModified(true);
//
// Clear associated record (if any)
//
this.clearAssociated(attrNumber);
//
// Notify user provided methods that a value has changed.
//
this.fieldValueChanged(attrNumber, attrValue);
//
// Notify anyone who's listening that this window's
// result set has changed
//
EventManager.postEvent( this, ExpressClassWindow.cEVENT_AFTER_RESULT_SET_CHANGE );
}
}
catch (Throwable qq_ElseException) {
UIutils.purgeEvents();
throw (RuntimeException)qq_ElseException;
}
}
// ------------------
// Window Definitions
// ------------------
// <editor-fold defaultstate="collapsed" desc="Window Definitions">
private int qq_defaultSet = 1;
private int qq_msgNumber = 0;
private int qq_msgSet = 0;
public JMenu qq_ScrollMenu;
public JMenu qq_editMenu;
public JMenu qq_fileMenu;
public JMenu qq_resultSetMenu;
public JMenuBar qq_MainMenuBar;
public JMenuItem qq_CancelMC;
public JMenuItem qq_ClearMC;
public JMenuItem qq_CloseMC;
public JMenuItem qq_DeleteMC;
public JMenuItem qq_EditCopyMC;
public JMenuItem qq_EditCutMC;
public JMenuItem qq_EditDeleteMC;
public JMenuItem qq_EditPasteMC;
public JMenuItem qq_EditSelectallMC;
public JMenuItem qq_ExitAllMC;
public JMenuItem qq_FirstMC;
public JMenuItem qq_InsertMC;
public JMenuItem qq_LastMC;
public JMenuItem qq_NextMC;
public JMenuItem qq_PreferencesMC;
public JMenuItem qq_PrevMC;
public JMenuItem qq_PrintMC;
public JMenuItem qq_PrintSetupMC;
public JMenuItem qq_RevertMC;
public JMenuItem qq_SaveMC;
public JMenuItem qq_SearchMC;
public MenuList qq_ModeMC;
public MenuSeparator qq_CancelSP;
public MenuSeparator qq_ClearSP;
public MenuSeparator qq_CloseSP;
public MenuSeparator qq_ModeSP;
public MenuSeparator qq_PreferencesSP;
public MenuSeparator qq_PrintSP;
public MenuSeparator qq_RevertSP;
public MenuSeparator qq_SaveSP;
public MenuSeparator qq_ScrollSP;
public MenuSeparator qq_ScrollToSP;
/**
* qq_PreferencesMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_PreferencesMC() {
if (qq_PreferencesMC == null) {
qq_PreferencesMC = MenuFactory.newMenuItem("PreferencesMC", true);
qq_PreferencesMC.setVerifyInputWhenFocusTarget(true);
this.qq_PreferencesMC.setMnemonic( 'P' );
qq_PreferencesMC.setText( "Preferences..." );
UIutils.setMsgSet(qq_PreferencesMC, 60100);
UIutils.setMsgNumber(qq_PreferencesMC, 663);
qq_PreferencesMC.setVisible(true);
}
return qq_PreferencesMC;
}
public void setqq_PreferencesMC(JMenuItem value) {
JMenuItem oldValue = qq_PreferencesMC;
qq_PreferencesMC = value;
this.qq_Listeners.firePropertyChange("qq_PreferencesMC", oldValue, value);
}
/**
* qq_PreferencesSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_PreferencesSP() {
if (qq_PreferencesSP == null) {
qq_PreferencesSP = new MenuSeparator();
qq_PreferencesSP.setName("PreferencesSP");
qq_PreferencesSP.setVisible( true );
}
return qq_PreferencesSP;
}
public void setqq_PreferencesSP(MenuSeparator value) {
MenuSeparator oldValue = qq_PreferencesSP;
qq_PreferencesSP = value;
this.qq_Listeners.firePropertyChange("qq_PreferencesSP", oldValue, value);
}
/**
* qq_RevertMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_RevertMC() {
if (qq_RevertMC == null) {
qq_RevertMC = MenuFactory.newMenuItem("RevertMC", true);
qq_RevertMC.setVerifyInputWhenFocusTarget(true);
this.qq_RevertMC.setMnemonic( 'v' );
qq_RevertMC.setText( "Revert to Saved" );
UIutils.setMsgSet(qq_RevertMC, 60100);
UIutils.setMsgNumber(qq_RevertMC, 666);
qq_RevertMC.setVisible(true);
}
return qq_RevertMC;
}
public void setqq_RevertMC(JMenuItem value) {
JMenuItem oldValue = qq_RevertMC;
qq_RevertMC = value;
this.qq_Listeners.firePropertyChange("qq_RevertMC", oldValue, value);
}
/**
* qq_RevertSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_RevertSP() {
if (qq_RevertSP == null) {
qq_RevertSP = new MenuSeparator();
qq_RevertSP.setName("RevertSP");
qq_RevertSP.setVisible( true );
}
return qq_RevertSP;
}
public void setqq_RevertSP(MenuSeparator value) {
MenuSeparator oldValue = qq_RevertSP;
qq_RevertSP = value;
this.qq_Listeners.firePropertyChange("qq_RevertSP", oldValue, value);
}
/**
* qq_PrintMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_PrintMC() {
if (qq_PrintMC == null) {
qq_PrintMC = MenuFactory.newMenuItem("PrintMC", true);
qq_PrintMC.setVerifyInputWhenFocusTarget(true);
qq_PrintMC.addActionListener(new PrintActionListener(this));
qq_PrintMC.setText( "Print..." );
qq_PrintMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK));
qq_PrintMC.setVisible(true);
}
return qq_PrintMC;
}
public void setqq_PrintMC(JMenuItem value) {
JMenuItem oldValue = qq_PrintMC;
qq_PrintMC = value;
this.qq_Listeners.firePropertyChange("qq_PrintMC", oldValue, value);
}
/**
* qq_PrintSetupMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_PrintSetupMC() {
if (qq_PrintSetupMC == null) {
qq_PrintSetupMC = MenuFactory.newMenuItem("PrintSetupMC", true);
qq_PrintSetupMC.setVerifyInputWhenFocusTarget(true);
qq_PrintSetupMC.addActionListener(new PrintSetupActionListener());
qq_PrintSetupMC.setText( "Print Setup..." );
qq_PrintSetupMC.setVisible(true);
}
return qq_PrintSetupMC;
}
public void setqq_PrintSetupMC(JMenuItem value) {
JMenuItem oldValue = qq_PrintSetupMC;
qq_PrintSetupMC = value;
this.qq_Listeners.firePropertyChange("qq_PrintSetupMC", oldValue, value);
}
/**
* qq_PrintSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_PrintSP() {
if (qq_PrintSP == null) {
qq_PrintSP = new MenuSeparator();
qq_PrintSP.setName("PrintSP");
qq_PrintSP.setVisible( true );
}
return qq_PrintSP;
}
public void setqq_PrintSP(MenuSeparator value) {
MenuSeparator oldValue = qq_PrintSP;
qq_PrintSP = value;
this.qq_Listeners.firePropertyChange("qq_PrintSP", oldValue, value);
}
/**
* qq_SaveMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_SaveMC() {
if (qq_SaveMC == null) {
qq_SaveMC = MenuFactory.newMenuItem("SaveMC", true);
qq_SaveMC.setVerifyInputWhenFocusTarget(true);
this.qq_SaveMC.setMnemonic( 'S' );
qq_SaveMC.setText( "Save" );
UIutils.setMsgSet(qq_SaveMC, 60100);
UIutils.setMsgNumber(qq_SaveMC, 667);
qq_SaveMC.setVisible(true);
}
return qq_SaveMC;
}
public void setqq_SaveMC(JMenuItem value) {
JMenuItem oldValue = qq_SaveMC;
qq_SaveMC = value;
this.qq_Listeners.firePropertyChange("qq_SaveMC", oldValue, value);
}
/**
* qq_SaveSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_SaveSP() {
if (qq_SaveSP == null) {
qq_SaveSP = new MenuSeparator();
qq_SaveSP.setName("SaveSP");
qq_SaveSP.setVisible( true );
}
return qq_SaveSP;
}
public void setqq_SaveSP(MenuSeparator value) {
MenuSeparator oldValue = qq_SaveSP;
qq_SaveSP = value;
this.qq_Listeners.firePropertyChange("qq_SaveSP", oldValue, value);
}
/**
* qq_CancelMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_CancelMC() {
if (qq_CancelMC == null) {
qq_CancelMC = MenuFactory.newMenuItem("CancelMC", false);
qq_CancelMC.setVerifyInputWhenFocusTarget(false);
this.qq_CancelMC.setMnemonic( 'n' );
qq_CancelMC.setText( "Cancel" );
UIutils.setMsgSet(qq_CancelMC, 60100);
UIutils.setMsgNumber(qq_CancelMC, 651);
qq_CancelMC.setVisible(true);
}
return qq_CancelMC;
}
public void setqq_CancelMC(JMenuItem value) {
JMenuItem oldValue = qq_CancelMC;
qq_CancelMC = value;
this.qq_Listeners.firePropertyChange("qq_CancelMC", oldValue, value);
}
/**
* qq_CancelSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_CancelSP() {
if (qq_CancelSP == null) {
qq_CancelSP = new MenuSeparator();
qq_CancelSP.setName("CancelSP");
qq_CancelSP.setVisible( true );
}
return qq_CancelSP;
}
public void setqq_CancelSP(MenuSeparator value) {
MenuSeparator oldValue = qq_CancelSP;
qq_CancelSP = value;
this.qq_Listeners.firePropertyChange("qq_CancelSP", oldValue, value);
}
/**
* qq_CloseMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_CloseMC() {
if (qq_CloseMC == null) {
qq_CloseMC = MenuFactory.newMenuItem("CloseMC", true);
qq_CloseMC.setVerifyInputWhenFocusTarget(true);
qq_CloseMC.setText( "Close" );
qq_CloseMC.setVisible(true);
}
return qq_CloseMC;
}
public void setqq_CloseMC(JMenuItem value) {
JMenuItem oldValue = qq_CloseMC;
qq_CloseMC = value;
this.qq_Listeners.firePropertyChange("qq_CloseMC", oldValue, value);
}
/**
* qq_CloseSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_CloseSP() {
if (qq_CloseSP == null) {
qq_CloseSP = new MenuSeparator();
qq_CloseSP.setName("CloseSP");
qq_CloseSP.setVisible( true );
}
return qq_CloseSP;
}
public void setqq_CloseSP(MenuSeparator value) {
MenuSeparator oldValue = qq_CloseSP;
qq_CloseSP = value;
this.qq_Listeners.firePropertyChange("qq_CloseSP", oldValue, value);
}
/**
* qq_ExitAllMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_ExitAllMC() {
if (qq_ExitAllMC == null) {
qq_ExitAllMC = MenuFactory.newMenuItem("ExitAllMC", true);
qq_ExitAllMC.setVerifyInputWhenFocusTarget(true);
this.qq_ExitAllMC.setMnemonic( 'A' );
qq_ExitAllMC.setText( "Exit All" );
UIutils.setMsgSet(qq_ExitAllMC, 60100);
UIutils.setMsgNumber(qq_ExitAllMC, 655);
qq_ExitAllMC.setVisible(true);
}
return qq_ExitAllMC;
}
public void setqq_ExitAllMC(JMenuItem value) {
JMenuItem oldValue = qq_ExitAllMC;
qq_ExitAllMC = value;
this.qq_Listeners.firePropertyChange("qq_ExitAllMC", oldValue, value);
}
/**
* qq_fileMenu: transformed from: qqds_Submenu
*/
public JMenu getqq_fileMenu() {
if (qq_fileMenu == null) {
qq_fileMenu = new JMenu();
qq_fileMenu.setName("fileMenu");
this.qq_fileMenu.setMnemonic( 'F' );
qq_fileMenu.setText( "File" );
UIutils.setMsgSet(qq_fileMenu, 60100);
UIutils.setMsgNumber(qq_fileMenu, 656);
qq_fileMenu.setVisible(true);
qq_fileMenu.add(getqq_PreferencesMC());
qq_fileMenu.add(getqq_PreferencesSP());
qq_fileMenu.add(getqq_RevertMC());
qq_fileMenu.add(getqq_RevertSP());
qq_fileMenu.add(getqq_PrintMC());
qq_fileMenu.add(getqq_PrintSetupMC());
qq_fileMenu.add(getqq_PrintSP());
qq_fileMenu.add(getqq_SaveMC());
qq_fileMenu.add(getqq_SaveSP());
qq_fileMenu.add(getqq_CancelMC());
qq_fileMenu.add(getqq_CancelSP());
qq_fileMenu.add(getqq_CloseMC());
qq_fileMenu.add(getqq_CloseSP());
qq_fileMenu.add(getqq_ExitAllMC());
}
return qq_fileMenu;
}
/**
* qq_EditCutMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_EditCutMC() {
if (qq_EditCutMC == null) {
qq_EditCutMC = MenuFactory.newMenuItem("EditCutMC", true);
qq_EditCutMC.setVerifyInputWhenFocusTarget(true);
qq_EditCutMC.addActionListener(new DefaultEditorKit.CutAction());
qq_EditCutMC.setRequestFocusEnabled(false);
qq_EditCutMC.setText( "Cut" );
qq_EditCutMC.setVisible(true);
}
return qq_EditCutMC;
}
public void setqq_EditCutMC(JMenuItem value) {
JMenuItem oldValue = qq_EditCutMC;
qq_EditCutMC = value;
this.qq_Listeners.firePropertyChange("qq_EditCutMC", oldValue, value);
}
/**
* qq_EditCopyMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_EditCopyMC() {
if (qq_EditCopyMC == null) {
qq_EditCopyMC = MenuFactory.newMenuItem("EditCopyMC", true);
qq_EditCopyMC.setVerifyInputWhenFocusTarget(true);
qq_EditCopyMC.addActionListener(new DefaultEditorKit.CopyAction());
qq_EditCopyMC.setRequestFocusEnabled(false);
qq_EditCopyMC.setText( "Copy" );
qq_EditCopyMC.setVisible(true);
}
return qq_EditCopyMC;
}
public void setqq_EditCopyMC(JMenuItem value) {
JMenuItem oldValue = qq_EditCopyMC;
qq_EditCopyMC = value;
this.qq_Listeners.firePropertyChange("qq_EditCopyMC", oldValue, value);
}
/**
* qq_EditPasteMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_EditPasteMC() {
if (qq_EditPasteMC == null) {
qq_EditPasteMC = MenuFactory.newMenuItem("EditPasteMC", true);
qq_EditPasteMC.setVerifyInputWhenFocusTarget(true);
qq_EditPasteMC.addActionListener(new DefaultEditorKit.PasteAction());
qq_EditPasteMC.setRequestFocusEnabled(false);
qq_EditPasteMC.setText( "Paste" );
qq_EditPasteMC.setVisible(true);
}
return qq_EditPasteMC;
}
public void setqq_EditPasteMC(JMenuItem value) {
JMenuItem oldValue = qq_EditPasteMC;
qq_EditPasteMC = value;
this.qq_Listeners.firePropertyChange("qq_EditPasteMC", oldValue, value);
}
/**
* qq_EditDeleteMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_EditDeleteMC() {
if (qq_EditDeleteMC == null) {
qq_EditDeleteMC = MenuFactory.newMenuItem("EditDeleteMC", true);
qq_EditDeleteMC.setVerifyInputWhenFocusTarget(true);
qq_EditDeleteMC.setText( "Delete" );
qq_EditDeleteMC.setVisible(true);
}
return qq_EditDeleteMC;
}
public void setqq_EditDeleteMC(JMenuItem value) {
JMenuItem oldValue = qq_EditDeleteMC;
qq_EditDeleteMC = value;
this.qq_Listeners.firePropertyChange("qq_EditDeleteMC", oldValue, value);
}
/**
* qq_EditSelectallMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_EditSelectallMC() {
if (qq_EditSelectallMC == null) {
qq_EditSelectallMC = MenuFactory.newMenuItem("EditSelectallMC", true);
qq_EditSelectallMC.setVerifyInputWhenFocusTarget(true);
qq_EditSelectallMC.addActionListener(new UIutils.SelectAllAction());
qq_EditSelectallMC.setText( "Select All" );
qq_EditSelectallMC.setVisible(true);
}
return qq_EditSelectallMC;
}
public void setqq_EditSelectallMC(JMenuItem value) {
JMenuItem oldValue = qq_EditSelectallMC;
qq_EditSelectallMC = value;
this.qq_Listeners.firePropertyChange("qq_EditSelectallMC", oldValue, value);
}
/**
* qq_editMenu: transformed from: qqds_Submenu
*/
public JMenu getqq_editMenu() {
if (qq_editMenu == null) {
qq_editMenu = new JMenu();
qq_editMenu.setName("editMenu");
this.qq_editMenu.setMnemonic( 'E' );
qq_editMenu.setText( "Edit" );
UIutils.setMsgSet(qq_editMenu, 60100);
UIutils.setMsgNumber(qq_editMenu, 654);
qq_editMenu.setVisible(true);
qq_editMenu.add(getqq_EditCutMC());
qq_editMenu.add(getqq_EditCopyMC());
qq_editMenu.add(getqq_EditPasteMC());
qq_editMenu.add(getqq_EditDeleteMC());
qq_editMenu.add(getqq_EditSelectallMC());
}
return qq_editMenu;
}
/**
* qq_ModeMC: transformed from: qqds_MenuList
*/
public MenuList getqq_ModeMC() {
if (qq_ModeMC == null) {
qq_ModeMC = new MenuList();
qq_ModeMC.setName("ModeMC");
String[] names = {"Edit Mode", "Search Mode"};
Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
ListElement elements1 = new ListElement( 1, names[0], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements1.setTextValueMsgNum( 660 );
elements.add( elements1 );
ListElement elements2 = new ListElement( 2, names[1], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements2.setTextValueMsgNum( 661 );
elements.add( elements2 );
getBindingManager().bindComponent(qq_ModeMC, "modeMC", elements);
}
return qq_ModeMC;
}
public void setqq_ModeMC(MenuList value) {
MenuList oldValue = qq_ModeMC;
qq_ModeMC = value;
this.qq_Listeners.firePropertyChange("qq_ModeMC", oldValue, value);
}
/**
* qq_ModeSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_ModeSP() {
if (qq_ModeSP == null) {
qq_ModeSP = new MenuSeparator();
qq_ModeSP.setName("ModeSP");
qq_ModeSP.setVisible( true );
}
return qq_ModeSP;
}
public void setqq_ModeSP(MenuSeparator value) {
MenuSeparator oldValue = qq_ModeSP;
qq_ModeSP = value;
this.qq_Listeners.firePropertyChange("qq_ModeSP", oldValue, value);
}
/**
* qq_ClearMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_ClearMC() {
if (qq_ClearMC == null) {
qq_ClearMC = MenuFactory.newMenuItem("ClearMC", false);
qq_ClearMC.setVerifyInputWhenFocusTarget(false);
this.qq_ClearMC.setMnemonic( 'C' );
qq_ClearMC.setText( "Clear Result Set" );
UIutils.setMsgSet(qq_ClearMC, 60100);
UIutils.setMsgNumber(qq_ClearMC, 652);
qq_ClearMC.setVisible(true);
}
return qq_ClearMC;
}
public void setqq_ClearMC(JMenuItem value) {
JMenuItem oldValue = qq_ClearMC;
qq_ClearMC = value;
this.qq_Listeners.firePropertyChange("qq_ClearMC", oldValue, value);
}
/**
* qq_ClearSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_ClearSP() {
if (qq_ClearSP == null) {
qq_ClearSP = new MenuSeparator();
qq_ClearSP.setName("ClearSP");
qq_ClearSP.setVisible( true );
}
return qq_ClearSP;
}
public void setqq_ClearSP(MenuSeparator value) {
MenuSeparator oldValue = qq_ClearSP;
qq_ClearSP = value;
this.qq_Listeners.firePropertyChange("qq_ClearSP", oldValue, value);
}
/**
* qq_InsertMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_InsertMC() {
if (qq_InsertMC == null) {
qq_InsertMC = MenuFactory.newMenuItem("InsertMC", true);
qq_InsertMC.setVerifyInputWhenFocusTarget(true);
this.qq_InsertMC.setMnemonic( 'I' );
qq_InsertMC.setText( "Insert Record" );
UIutils.setMsgSet(qq_InsertMC, 60100);
UIutils.setMsgNumber(qq_InsertMC, 658);
qq_InsertMC.setVisible(true);
}
return qq_InsertMC;
}
public void setqq_InsertMC(JMenuItem value) {
JMenuItem oldValue = qq_InsertMC;
qq_InsertMC = value;
this.qq_Listeners.firePropertyChange("qq_InsertMC", oldValue, value);
}
/**
* qq_DeleteMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_DeleteMC() {
if (qq_DeleteMC == null) {
qq_DeleteMC = MenuFactory.newMenuItem("DeleteMC", false);
qq_DeleteMC.setVerifyInputWhenFocusTarget(false);
this.qq_DeleteMC.setMnemonic( 'D' );
qq_DeleteMC.setText( "Delete Record" );
UIutils.setMsgSet(qq_DeleteMC, 60100);
UIutils.setMsgNumber(qq_DeleteMC, 653);
qq_DeleteMC.setVisible(true);
}
return qq_DeleteMC;
}
public void setqq_DeleteMC(JMenuItem value) {
JMenuItem oldValue = qq_DeleteMC;
qq_DeleteMC = value;
this.qq_Listeners.firePropertyChange("qq_DeleteMC", oldValue, value);
}
/**
* qq_ScrollToSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_ScrollToSP() {
if (qq_ScrollToSP == null) {
qq_ScrollToSP = new MenuSeparator();
qq_ScrollToSP.setName("ScrollToSP");
qq_ScrollToSP.setVisible( true );
}
return qq_ScrollToSP;
}
public void setqq_ScrollToSP(MenuSeparator value) {
MenuSeparator oldValue = qq_ScrollToSP;
qq_ScrollToSP = value;
this.qq_Listeners.firePropertyChange("qq_ScrollToSP", oldValue, value);
}
/**
* qq_FirstMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_FirstMC() {
if (qq_FirstMC == null) {
qq_FirstMC = MenuFactory.newMenuItem("FirstMC", true);
qq_FirstMC.setVerifyInputWhenFocusTarget(true);
this.qq_FirstMC.setMnemonic( 'F' );
qq_FirstMC.setText( "First Record" );
UIutils.setMsgSet(qq_FirstMC, 60100);
UIutils.setMsgNumber(qq_FirstMC, 657);
qq_FirstMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
qq_FirstMC.setVisible(true);
}
return qq_FirstMC;
}
public void setqq_FirstMC(JMenuItem value) {
JMenuItem oldValue = qq_FirstMC;
qq_FirstMC = value;
this.qq_Listeners.firePropertyChange("qq_FirstMC", oldValue, value);
}
/**
* qq_LastMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_LastMC() {
if (qq_LastMC == null) {
qq_LastMC = MenuFactory.newMenuItem("LastMC", true);
qq_LastMC.setVerifyInputWhenFocusTarget(true);
this.qq_LastMC.setMnemonic( 'L' );
qq_LastMC.setText( "Last Record" );
UIutils.setMsgSet(qq_LastMC, 60100);
UIutils.setMsgNumber(qq_LastMC, 659);
qq_LastMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
qq_LastMC.setVisible(true);
}
return qq_LastMC;
}
public void setqq_LastMC(JMenuItem value) {
JMenuItem oldValue = qq_LastMC;
qq_LastMC = value;
this.qq_Listeners.firePropertyChange("qq_LastMC", oldValue, value);
}
/**
* qq_ScrollSP: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_ScrollSP() {
if (qq_ScrollSP == null) {
qq_ScrollSP = new MenuSeparator();
qq_ScrollSP.setName("ScrollSP");
qq_ScrollSP.setVisible( true );
}
return qq_ScrollSP;
}
public void setqq_ScrollSP(MenuSeparator value) {
MenuSeparator oldValue = qq_ScrollSP;
qq_ScrollSP = value;
this.qq_Listeners.firePropertyChange("qq_ScrollSP", oldValue, value);
}
/**
* qq_PrevMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_PrevMC() {
if (qq_PrevMC == null) {
qq_PrevMC = MenuFactory.newMenuItem("PrevMC", true);
qq_PrevMC.setVerifyInputWhenFocusTarget(true);
this.qq_PrevMC.setMnemonic( 'P' );
qq_PrevMC.setText( "Previous Record" );
UIutils.setMsgSet(qq_PrevMC, 60100);
UIutils.setMsgNumber(qq_PrevMC, 664);
qq_PrevMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
qq_PrevMC.setVisible(true);
}
return qq_PrevMC;
}
public void setqq_PrevMC(JMenuItem value) {
JMenuItem oldValue = qq_PrevMC;
qq_PrevMC = value;
this.qq_Listeners.firePropertyChange("qq_PrevMC", oldValue, value);
}
/**
* qq_NextMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_NextMC() {
if (qq_NextMC == null) {
qq_NextMC = MenuFactory.newMenuItem("NextMC", true);
qq_NextMC.setVerifyInputWhenFocusTarget(true);
this.qq_NextMC.setMnemonic( 'N' );
qq_NextMC.setText( "Next Record" );
UIutils.setMsgSet(qq_NextMC, 60100);
UIutils.setMsgNumber(qq_NextMC, 662);
qq_NextMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
qq_NextMC.setVisible(true);
}
return qq_NextMC;
}
public void setqq_NextMC(JMenuItem value) {
JMenuItem oldValue = qq_NextMC;
qq_NextMC = value;
this.qq_Listeners.firePropertyChange("qq_NextMC", oldValue, value);
}
/**
* qq_ScrollMenu: transformed from: qqds_Submenu
*/
public JMenu getqq_ScrollMenu() {
if (qq_ScrollMenu == null) {
qq_ScrollMenu = new JMenu();
qq_ScrollMenu.setName("ScrollMenu");
this.qq_ScrollMenu.setMnemonic( 'T' );
qq_ScrollMenu.setText( "Scroll To" );
UIutils.setMsgSet(qq_ScrollMenu, 60100);
UIutils.setMsgNumber(qq_ScrollMenu, 668);
qq_ScrollMenu.setVisible(true);
qq_ScrollMenu.add(getqq_FirstMC());
qq_ScrollMenu.add(getqq_LastMC());
qq_ScrollMenu.add(getqq_ScrollSP());
qq_ScrollMenu.add(getqq_PrevMC());
qq_ScrollMenu.add(getqq_NextMC());
}
return qq_ScrollMenu;
}
/**
* qq_SearchMC: transformed from: qqds_MenuCommand
*/
public JMenuItem getqq_SearchMC() {
if (qq_SearchMC == null) {
qq_SearchMC = MenuFactory.newMenuItem("SearchMC", true);
qq_SearchMC.setVerifyInputWhenFocusTarget(true);
this.qq_SearchMC.setMnemonic( 'r' );
qq_SearchMC.setText( "Search" );
UIutils.setMsgSet(qq_SearchMC, 60100);
UIutils.setMsgNumber(qq_SearchMC, 669);
qq_SearchMC.setVisible(true);
}
return qq_SearchMC;
}
public void setqq_SearchMC(JMenuItem value) {
JMenuItem oldValue = qq_SearchMC;
qq_SearchMC = value;
this.qq_Listeners.firePropertyChange("qq_SearchMC", oldValue, value);
}
/**
* qq_resultSetMenu: transformed from: qqds_Submenu
*/
public JMenu getqq_resultSetMenu() {
if (qq_resultSetMenu == null) {
qq_resultSetMenu = new JMenu();
qq_resultSetMenu.setName("resultSetMenu");
this.qq_resultSetMenu.setMnemonic( 'R' );
qq_resultSetMenu.setText( "Result Set" );
UIutils.setMsgSet(qq_resultSetMenu, 60100);
UIutils.setMsgNumber(qq_resultSetMenu, 665);
qq_resultSetMenu.setVisible(true);
qq_resultSetMenu.add(getqq_ModeMC());
qq_resultSetMenu.add(getqq_ModeSP());
qq_resultSetMenu.add(getqq_ClearMC());
qq_resultSetMenu.add(getqq_ClearSP());
qq_resultSetMenu.add(getqq_InsertMC());
qq_resultSetMenu.add(getqq_DeleteMC());
qq_resultSetMenu.add(getqq_ScrollToSP());
qq_resultSetMenu.add(getqq_ScrollMenu());
qq_resultSetMenu.add(getqq_SearchMC());
}
return qq_resultSetMenu;
}
/**
* qq_MainMenuBar: transformed from: qqds_MenuBar
*/
public JMenuBar getqq_MenuBar() {
if (qq_MainMenuBar == null) {
qq_MainMenuBar = MenuFactory.newMenuBar();
qq_MainMenuBar.setName("MainMenuBar");
qq_MainMenuBar.setBorderPainted(false);
this.qq_MainMenuBar.add(getqq_fileMenu());
this.qq_MainMenuBar.add(getqq_editMenu());
this.qq_MainMenuBar.add(getqq_resultSetMenu());
}
return qq_MainMenuBar;
}
public void setqq_MainMenuBar(JMenuBar value) {
JMenuBar oldValue = qq_MainMenuBar;
qq_MainMenuBar = value;
this.qq_Listeners.firePropertyChange("qq_MainMenuBar", oldValue, value);
}
/**
* qq_DummyGraphic: transformed from: qqds_TextGraphic
* TagId=65537
* isInherited=TRUE
*/
public TextGraphic getqq_DummyGraphic() {
if (qq_DummyGraphic == null) {
super.getqq_DummyGraphic();
// OPTIONAL UIutils.reloadLabelText(qq_DummyGraphic, mcat);
}
return qq_DummyGraphic;
}
public void setqq_DummyGraphic(TextGraphic value) {
TextGraphic oldValue = qq_DummyGraphic;
qq_DummyGraphic = value;
this.qq_Listeners.firePropertyChange("qq_DummyGraphic", oldValue, value);
}
/**
* qq_DataGrid: transformed from: qqds_GridField
* TagId=131067
* isInherited=TRUE
* 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_DataGridProperties() {
super.setqq_DataGridProperties();
qq_DataGrid.setHeightPolicy(Constants.SP_TO_PARENT);
qq_DataGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_DataGrid() {
if (qq_DataGrid == null) {
qq_DataGrid = CompoundFieldFactory.newGridField("DataGrid", false);
setqq_DataGridProperties();
qq_DataGrid.setBackground(null);
// OPTIONAL qq_DataGrid.setSize(new Dimension(333, 59));
// OPTIONAL qq_DataGrid.setMinimumSize(new Dimension(333, 59));
// OPTIONAL qq_DataGrid.setPreferredSize(new Dimension(333, 59));
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(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_DataGrid.add( getqq_DummyGraphic(), qq_gbc );
}
return qq_DataGrid;
}
public void setqq_DataGrid(GridField value) {
GridField oldValue = qq_DataGrid;
qq_DataGrid = value;
this.qq_Listeners.firePropertyChange("qq_DataGrid", oldValue, value);
}
/**
* qq_InsertBC: transformed from: qqds_PushButton
* TagId=131037
* isInherited=TRUE
*/
public JButton getqq_InsertBC() {
if (qq_InsertBC == null) {
super.getqq_InsertBC();
}
return qq_InsertBC;
}
public void setqq_InsertBC(JButton value) {
JButton oldValue = qq_InsertBC;
qq_InsertBC = value;
this.qq_Listeners.firePropertyChange("qq_InsertBC", oldValue, value);
}
/**
* qq_DeleteBC: transformed from: qqds_PushButton
* TagId=131036
* isInherited=TRUE
*/
public JButton getqq_DeleteBC() {
if (qq_DeleteBC == null) {
super.getqq_DeleteBC();
}
return qq_DeleteBC;
}
public void setqq_DeleteBC(JButton value) {
JButton oldValue = qq_DeleteBC;
qq_DeleteBC = value;
this.qq_Listeners.firePropertyChange("qq_DeleteBC", oldValue, value);
}
/**
* qq_SideBCGrid: transformed from: qqds_GridField
* TagId=131038
* isInherited=TRUE
* In forte this was a 1x2 grid field.
* The cell margins are all 50 mils
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_SideBCGridProperties() {
super.setqq_SideBCGridProperties();
qq_SideBCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_SideBCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_SideBCGrid() {
if (qq_SideBCGrid == null) {
qq_SideBCGrid = CompoundFieldFactory.newGridField("SideBCGrid", false);
setqq_SideBCGridProperties();
qq_SideBCGrid.setBackground(null);
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_CENTER 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_SideBCGrid.add( getqq_InsertBC(), 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_CENTER gf
qq_gbc1.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_SideBCGrid.add( getqq_DeleteBC(), qq_gbc1 );
}
return qq_SideBCGrid;
}
public void setqq_SideBCGrid(GridField value) {
GridField oldValue = qq_SideBCGrid;
qq_SideBCGrid = value;
this.qq_Listeners.firePropertyChange("qq_SideBCGrid", oldValue, value);
}
/**
* qq_TopContentsGrid: transformed from: qqds_GridField
* TagId=131068
* isInherited=TRUE
* 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 Parent.
*/
protected void setqq_TopContentsGridProperties() {
super.setqq_TopContentsGridProperties();
qq_TopContentsGrid.setHeightPolicy(Constants.SP_TO_PARENT);
qq_TopContentsGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_TopContentsGrid() {
if (qq_TopContentsGrid == null) {
qq_TopContentsGrid = CompoundFieldFactory.newGridField("TopContentsGrid", false);
setqq_TopContentsGridProperties();
qq_TopContentsGrid.setBackground(null);
// OPTIONAL qq_TopContentsGrid.setSize(new Dimension(406, 59));
// OPTIONAL qq_TopContentsGrid.setMinimumSize(new Dimension(406, 59));
// OPTIONAL qq_TopContentsGrid.setPreferredSize(new Dimension(406, 59));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 1;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_TopContentsGrid.add( getqq_DataGrid(), 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.NORTHEAST; // Gravity - original: CG_TOPRIGHT
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_TopContentsGrid.add( getqq_SideBCGrid(), qq_gbc1 );
}
return qq_TopContentsGrid;
}
public void setqq_TopContentsGrid(GridField value) {
GridField oldValue = qq_TopContentsGrid;
qq_TopContentsGrid = value;
this.qq_Listeners.firePropertyChange("qq_TopContentsGrid", oldValue, value);
}
/**
* qq_IndexBC: transformed from: qqds_DataField
* TagId=131030
* isInherited=TRUE
*/
public DataField getqq_IndexBC() {
if (qq_IndexBC == null) {
// Mask type: MK_NONE
super.getqq_IndexBC();
qq_IndexBC.setOriginalFormatText(null);
qq_IndexBC.setHorizontalAlignment(JTextField.RIGHT);
getBindingManager().bindComponent(qq_IndexBC, "indexBC");
}
return qq_IndexBC;
}
public void setqq_IndexBC(DataField value) {
DataField oldValue = qq_IndexBC;
qq_IndexBC = value;
this.qq_Listeners.firePropertyChange("qq_IndexBC", oldValue, value);
}
/**
* qq_MaxIndexBC: transformed from: qqds_DataField
* TagId=131028
* isInherited=TRUE
*/
public DataField getqq_MaxIndexBC() {
if (qq_MaxIndexBC == null) {
// Mask type: MK_NONE
super.getqq_MaxIndexBC();
qq_MaxIndexBC.setOriginalFormatText(null);
qq_MaxIndexBC.setHorizontalAlignment(JTextField.LEFT);
qq_MaxIndexBC.setBorder(null);
qq_MaxIndexBC.setBackground(null);
getBindingManager().bindComponent(qq_MaxIndexBC, "maxIndexBC");
}
return qq_MaxIndexBC;
}
public void setqq_MaxIndexBC(DataField value) {
DataField oldValue = qq_MaxIndexBC;
qq_MaxIndexBC = value;
this.qq_Listeners.firePropertyChange("qq_MaxIndexBC", oldValue, value);
}
/**
* qq_OfBC: transformed from: qqds_TextGraphic
* TagId=65538
* isInherited=TRUE
*/
public TextGraphic getqq_OfBC() {
if (qq_OfBC == null) {
super.getqq_OfBC();
UIutils.setMsgSet(qq_OfBC, 60100);
UIutils.setMsgNumber(qq_OfBC, 606);
// OPTIONAL UIutils.reloadLabelText(qq_OfBC, mcat);
}
return qq_OfBC;
}
public void setqq_OfBC(TextGraphic value) {
TextGraphic oldValue = qq_OfBC;
qq_OfBC = value;
this.qq_Listeners.firePropertyChange("qq_OfBC", oldValue, value);
}
/**
* qq_IndexesBCGrid: transformed from: qqds_GridField
* TagId=131031
* isInherited=TRUE
* 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_IndexesBCGridProperties() {
super.setqq_IndexesBCGridProperties();
qq_IndexesBCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_IndexesBCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_IndexesBCGrid() {
if (qq_IndexesBCGrid == null) {
qq_IndexesBCGrid = CompoundFieldFactory.newGridField("IndexesBCGrid", false);
setqq_IndexesBCGridProperties();
qq_IndexesBCGrid.setBackground(null);
// OPTIONAL qq_IndexesBCGrid.setSize(new Dimension(108, 19));
// OPTIONAL qq_IndexesBCGrid.setMinimumSize(new Dimension(108, 19));
// OPTIONAL qq_IndexesBCGrid.setPreferredSize(new Dimension(108, 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_CENTER 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_IndexesBCGrid.add( getqq_IndexBC(), 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_CENTER
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 4, 0, 4); // Top, Left, Bottom, Right Margin
qq_IndexesBCGrid.add( getqq_OfBC(), 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_CENTER
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_IndexesBCGrid.add( getqq_MaxIndexBC(), qq_gbc2 );
}
return qq_IndexesBCGrid;
}
public void setqq_IndexesBCGrid(GridField value) {
GridField oldValue = qq_IndexesBCGrid;
qq_IndexesBCGrid = value;
this.qq_Listeners.firePropertyChange("qq_IndexesBCGrid", oldValue, value);
}
/**
* qq_ScrollBCGrid: transformed from: qqds_GridField
* TagId=131032
* isInherited=TRUE
* In forte this was a 1x1 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_ScrollBCGridProperties() {
super.setqq_ScrollBCGridProperties();
qq_ScrollBCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_ScrollBCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_ScrollBCGrid() {
if (qq_ScrollBCGrid == null) {
qq_ScrollBCGrid = CompoundFieldFactory.newGridField("ScrollBCGrid", false);
setqq_ScrollBCGridProperties();
qq_ScrollBCGrid.setBackground(null);
// OPTIONAL qq_ScrollBCGrid.setSize(new Dimension(112, 24));
// OPTIONAL qq_ScrollBCGrid.setMinimumSize(new Dimension(112, 24));
// OPTIONAL qq_ScrollBCGrid.setPreferredSize(new Dimension(112, 24));
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_CENTER
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 4); // Top, Left, Bottom, Right Margin
qq_ScrollBCGrid.add( getqq_IndexesBCGrid(), qq_gbc );
}
return qq_ScrollBCGrid;
}
public void setqq_ScrollBCGrid(GridField value) {
GridField oldValue = qq_ScrollBCGrid;
qq_ScrollBCGrid = value;
this.qq_Listeners.firePropertyChange("qq_ScrollBCGrid", oldValue, value);
}
/**
* qq_OKBC: transformed from: qqds_PushButton
* TagId=131022
* isInherited=TRUE
*/
public JButton getqq_OKBC() {
if (qq_OKBC == null) {
super.getqq_OKBC();
LayoutManagerHelper.setWidthPartner(qq_OKBC, getqq_ClearBC());
}
return qq_OKBC;
}
public void setqq_OKBC(JButton value) {
JButton oldValue = qq_OKBC;
qq_OKBC = value;
this.qq_Listeners.firePropertyChange("qq_OKBC", oldValue, value);
}
/**
* qq_SearchBC: transformed from: qqds_PushButton
* TagId=131021
* isInherited=TRUE
*/
public JButton getqq_SearchBC() {
if (qq_SearchBC == null) {
super.getqq_SearchBC();
LayoutManagerHelper.setWidthPartner(qq_SearchBC, getqq_CancelBC());
}
return qq_SearchBC;
}
public void setqq_SearchBC(JButton value) {
JButton oldValue = qq_SearchBC;
qq_SearchBC = value;
this.qq_Listeners.firePropertyChange("qq_SearchBC", oldValue, value);
}
/**
* qq_CancelBC: transformed from: qqds_PushButton
* TagId=131019
* isInherited=TRUE
*/
public JButton getqq_CancelBC() {
if (qq_CancelBC == null) {
super.getqq_CancelBC();
LayoutManagerHelper.setWidthPartner(qq_CancelBC, getqq_OKBC());
}
return qq_CancelBC;
}
public void setqq_CancelBC(JButton value) {
JButton oldValue = qq_CancelBC;
qq_CancelBC = value;
this.qq_Listeners.firePropertyChange("qq_CancelBC", oldValue, value);
}
/**
* qq_ClearBC: transformed from: qqds_PushButton
* TagId=131015
* isInherited=TRUE
*/
public JButton getqq_ClearBC() {
if (qq_ClearBC == null) {
super.getqq_ClearBC();
LayoutManagerHelper.setWidthPartner(qq_ClearBC, getqq_SearchBC());
}
return qq_ClearBC;
}
public void setqq_ClearBC(JButton value) {
JButton oldValue = qq_ClearBC;
qq_ClearBC = value;
this.qq_Listeners.firePropertyChange("qq_ClearBC", oldValue, value);
}
/**
* qq_ButtonGrid: transformed from: qqds_GridField
* TagId=131035
* isInherited=TRUE
* In forte this was a 5x1 grid field.
* The top and bottom cell margins are both 100 mils and the left and right cell margins are both 50 mils.
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_ButtonGridProperties() {
super.setqq_ButtonGridProperties();
qq_ButtonGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_ButtonGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_ButtonGrid() {
if (qq_ButtonGrid == null) {
qq_ButtonGrid = CompoundFieldFactory.newGridField("ButtonGrid", false);
setqq_ButtonGridProperties();
qq_ButtonGrid.setBackground(null);
// OPTIONAL qq_ButtonGrid.setSize(new Dimension(406, 52));
// OPTIONAL qq_ButtonGrid.setMinimumSize(new Dimension(406, 52));
// OPTIONAL qq_ButtonGrid.setPreferredSize(new Dimension(406, 52));
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_CENTER gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
qq_ButtonGrid.add( getqq_OKBC(), 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_CENTER gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
qq_ButtonGrid.add( getqq_ClearBC(), 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_CENTER gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
qq_ButtonGrid.add( getqq_SearchBC(), 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_CENTER gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
qq_ButtonGrid.add( getqq_CancelBC(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 4; // Column 5
qq_gbc4.gridy = 0; // Row 1
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
qq_ButtonGrid.add( getqq_ScrollBCGrid(), qq_gbc4 );
}
return qq_ButtonGrid;
}
public void setqq_ButtonGrid(GridField value) {
GridField oldValue = qq_ButtonGrid;
qq_ButtonGrid = value;
this.qq_Listeners.firePropertyChange("qq_ButtonGrid", oldValue, value);
}
/**
* qq_FolderPanel: transformed from: qqds_Panel
* TagId=130953
* isInherited=TRUE
*/
public Panel getqq_FolderPanel() {
if (qq_FolderPanel == null) {
super.getqq_FolderPanel();
FrameWeight.set(qq_FolderPanel, Constants.W_NONE);
Caption.set(qq_FolderPanel, "");
// OPTIONAL UIutils.reloadLabelText(qq_FolderPanel, mcat);
qq_FolderPanel.setSize(new Dimension(10006, 60));
// OPTIONAL qq_FolderPanel.setMinimumSize(new Dimension(10006, 60));
// OPTIONAL qq_FolderPanel.setPreferredSize(new Dimension(10006, 60));
}
return qq_FolderPanel;
}
public void setqq_FolderPanel(Panel value) {
Panel oldValue = qq_FolderPanel;
qq_FolderPanel = value;
this.qq_Listeners.firePropertyChange("qq_FolderPanel", oldValue, value);
}
/**
* qq_NestedGrid: transformed from: qqds_GridField
* TagId=130956
* isInherited=TRUE
* In forte this was a 1x1 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_NestedGridProperties() {
super.setqq_NestedGridProperties();
qq_NestedGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_NestedGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_NestedGrid() {
if (qq_NestedGrid == null) {
qq_NestedGrid = CompoundFieldFactory.newGridField("NestedGrid", false);
setqq_NestedGridProperties();
qq_NestedGrid.setBackground(null);
// OPTIONAL qq_NestedGrid.setSize(new Dimension(406, 71));
// OPTIONAL qq_NestedGrid.setMinimumSize(new Dimension(406, 71));
// OPTIONAL qq_NestedGrid.setPreferredSize(new Dimension(406, 71));
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.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
qq_gbc.insets = new Insets(2, 0, 2, 0); // Top, Left, Bottom, Right Margin
qq_NestedGrid.add( getqq_FolderPanel(), qq_gbc );
}
return qq_NestedGrid;
}
public void setqq_NestedGrid(GridField value) {
GridField oldValue = qq_NestedGrid;
qq_NestedGrid = value;
this.qq_Listeners.firePropertyChange("qq_NestedGrid", oldValue, value);
}
/**
* qq_ContentsGrid: transformed from: qqds_GridField
* TagId=131069
* isInherited=TRUE
* 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_ContentsGridProperties() {
super.setqq_ContentsGridProperties();
qq_ContentsGrid.setHeightPolicy(Constants.SP_TO_PARENT);
qq_ContentsGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_ContentsGrid() {
if (qq_ContentsGrid == null) {
qq_ContentsGrid = CompoundFieldFactory.newGridField("ContentsGrid", false);
setqq_ContentsGridProperties();
qq_ContentsGrid.setBackground(null);
// OPTIONAL qq_ContentsGrid.setSize(new Dimension(406, 182));
// OPTIONAL qq_ContentsGrid.setMinimumSize(new Dimension(406, 182));
// OPTIONAL qq_ContentsGrid.setPreferredSize(new Dimension(406, 182));
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
qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_ContentsGrid.add( getqq_TopContentsGrid(), 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_CENTER 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_ContentsGrid.add( getqq_NestedGrid(), 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_CENTER
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_ContentsGrid.add( getqq_ButtonGrid(), qq_gbc2 );
}
return qq_ContentsGrid;
}
public void setqq_ContentsGrid(GridField value) {
GridField oldValue = qq_ContentsGrid;
qq_ContentsGrid = value;
this.qq_Listeners.firePropertyChange("qq_ContentsGrid", oldValue, value);
}
/**
* qq_StatusText: transformed from: qqds_DataField
* TagId=131013
* isInherited=TRUE
*/
public DataField getqq_StatusText() {
if (qq_StatusText == null) {
// Mask type: MK_NONE
super.getqq_StatusText();
qq_StatusText.setOriginalFormatText(null);
qq_StatusText.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_StatusText, "statusText");
// OPTIONAL qq_StatusText.setSize(new Dimension(331, 19));
qq_StatusText.setMinimumSize(new Dimension(331, 19));
qq_StatusText.setPreferredSize(new Dimension(331, 19));
qq_StatusText.setFont(new Font("Default", Font.PLAIN, 12));
}
return qq_StatusText;
}
public void setqq_StatusText(DataField value) {
DataField oldValue = qq_StatusText;
qq_StatusText = value;
this.qq_Listeners.firePropertyChange("qq_StatusText", oldValue, value);
}
/**
* qq_ModeText: transformed from: qqds_DataField
* TagId=131085
* isInherited=TRUE
*/
public DataField getqq_ModeText() {
if (qq_ModeText == null) {
// Mask type: MK_NONE
super.getqq_ModeText();
qq_ModeText.setOriginalFormatText(null);
qq_ModeText.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_ModeText, "modeText");
qq_ModeText.setFont(new Font("Default", Font.PLAIN, 12));
}
return qq_ModeText;
}
public void setqq_ModeText(DataField value) {
DataField oldValue = qq_ModeText;
qq_ModeText = value;
this.qq_Listeners.firePropertyChange("qq_ModeText", oldValue, value);
}
/**
* qq_StatusLineGrid: transformed from: qqds_GridField
* TagId=131014
* isInherited=TRUE
* 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_StatusLineGridProperties() {
super.setqq_StatusLineGridProperties();
qq_StatusLineGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_StatusLineGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_StatusLineGrid() {
if (qq_StatusLineGrid == null) {
qq_StatusLineGrid = CompoundFieldFactory.newGridField("StatusLineGrid", false);
setqq_StatusLineGridProperties();
// OPTIONAL qq_StatusLineGrid.setSize(new Dimension(406, 19));
// OPTIONAL qq_StatusLineGrid.setMinimumSize(new Dimension(406, 19));
// OPTIONAL qq_StatusLineGrid.setPreferredSize(new Dimension(406, 19));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 1;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.SOUTHWEST; // Gravity - original: CG_BOTTOMLEFT
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_StatusLineGrid.add( getqq_StatusText(), 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_CENTER 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_StatusLineGrid.add( getqq_ModeText(), qq_gbc1 );
}
return qq_StatusLineGrid;
}
public void setqq_StatusLineGrid(GridField value) {
GridField oldValue = qq_StatusLineGrid;
qq_StatusLineGrid = value;
this.qq_Listeners.firePropertyChange("qq_StatusLineGrid", oldValue, value);
}
/**
* qq_ModeTC: transformed from: qqds_PaletteList
* TagId=131009
* isInherited=TRUE
*/
public PaletteList getqq_ModeTC() {
if (qq_ModeTC == null) {
super.getqq_ModeTC();
qq_ModeTC.setOrientation( Constants.FO_VERTICAL );
qq_ModeTC.setWrapSize( 2 );
Array_Of_ListElement<ListElement> aole = new Array_Of_ListElement<ListElement>();
aole.add(new ListElement(new ImageData(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_ModeTC_1.png"))),
1, "Edit Mode\nAllows you to view, insert, update, and delete records.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
aole.add(new ListElement(new ImageData(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_ModeTC_2.png"))),
2, "Search Mode\nAllows you to define and perform searches.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
getBindingManager().bindComponent(qq_ModeTC, "modeTC", aole);
// HelpTopic
CSH.setHelpIDString(qq_ModeTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_ModeTC, 509, 60100);
// FloatOverText
qq_ModeTC.setToolTipText("Mode");
// StatusText
StatusText.set(qq_ModeTC, "Allows you to change between Search Mode and Edit Mode.");
}
return qq_ModeTC;
}
public void setqq_ModeTC(PaletteList value) {
PaletteList oldValue = qq_ModeTC;
qq_ModeTC = value;
this.qq_Listeners.firePropertyChange("qq_ModeTC", oldValue, value);
}
/**
* qq_IndexTC: transformed from: qqds_DataField
* TagId=131002
* isInherited=TRUE
*/
public DataField getqq_IndexTC() {
if (qq_IndexTC == null) {
// Mask type: MK_NONE
super.getqq_IndexTC();
qq_IndexTC.setOriginalFormatText(null);
qq_IndexTC.setHorizontalAlignment(JTextField.RIGHT);
getBindingManager().bindComponent(qq_IndexTC, "indexTC");
}
return qq_IndexTC;
}
public void setqq_IndexTC(DataField value) {
DataField oldValue = qq_IndexTC;
qq_IndexTC = value;
this.qq_Listeners.firePropertyChange("qq_IndexTC", oldValue, value);
}
/**
* qq_MaxIndexTC: transformed from: qqds_DataField
* TagId=131000
* isInherited=TRUE
*/
public DataField getqq_MaxIndexTC() {
if (qq_MaxIndexTC == null) {
// Mask type: MK_NONE
super.getqq_MaxIndexTC();
qq_MaxIndexTC.setOriginalFormatText(null);
qq_MaxIndexTC.setHorizontalAlignment(JTextField.LEFT);
qq_MaxIndexTC.setBorder(null);
qq_MaxIndexTC.setBackground(null);
getBindingManager().bindComponent(qq_MaxIndexTC, "maxIndexTC");
}
return qq_MaxIndexTC;
}
public void setqq_MaxIndexTC(DataField value) {
DataField oldValue = qq_MaxIndexTC;
qq_MaxIndexTC = value;
this.qq_Listeners.firePropertyChange("qq_MaxIndexTC", oldValue, value);
}
/**
* qq_OfTC: transformed from: qqds_TextGraphic
* TagId=65539
* isInherited=TRUE
*/
public TextGraphic getqq_OfTC() {
if (qq_OfTC == null) {
super.getqq_OfTC();
UIutils.setMsgSet(qq_OfTC, 60100);
UIutils.setMsgNumber(qq_OfTC, 606);
// OPTIONAL UIutils.reloadLabelText(qq_OfTC, mcat);
}
return qq_OfTC;
}
public void setqq_OfTC(TextGraphic value) {
TextGraphic oldValue = qq_OfTC;
qq_OfTC = value;
this.qq_Listeners.firePropertyChange("qq_OfTC", oldValue, value);
}
/**
* qq_IndexesTCGrid: transformed from: qqds_GridField
* TagId=131003
* isInherited=TRUE
* 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_IndexesTCGridProperties() {
super.setqq_IndexesTCGridProperties();
qq_IndexesTCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_IndexesTCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_IndexesTCGrid() {
if (qq_IndexesTCGrid == null) {
qq_IndexesTCGrid = CompoundFieldFactory.newGridField("IndexesTCGrid", false);
setqq_IndexesTCGridProperties();
qq_IndexesTCGrid.setBackground(null);
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_CENTER
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_IndexesTCGrid.add( getqq_IndexTC(), 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_CENTER
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 4, 0, 4); // Top, Left, Bottom, Right Margin
qq_IndexesTCGrid.add( getqq_OfTC(), 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_CENTER 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_IndexesTCGrid.add( getqq_MaxIndexTC(), qq_gbc2 );
}
return qq_IndexesTCGrid;
}
public void setqq_IndexesTCGrid(GridField value) {
GridField oldValue = qq_IndexesTCGrid;
qq_IndexesTCGrid = value;
this.qq_Listeners.firePropertyChange("qq_IndexesTCGrid", oldValue, value);
}
/**
* qq_ScrollTCGrid: transformed from: qqds_GridField
* TagId=131008
* isInherited=TRUE
* In forte this was a 1x1 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_ScrollTCGridProperties() {
super.setqq_ScrollTCGridProperties();
qq_ScrollTCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_ScrollTCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_ScrollTCGrid() {
if (qq_ScrollTCGrid == null) {
qq_ScrollTCGrid = CompoundFieldFactory.newGridField("ScrollTCGrid", false);
setqq_ScrollTCGridProperties();
qq_ScrollTCGrid.setBackground(null);
// OPTIONAL qq_ScrollTCGrid.setSize(new Dimension(113, 24));
// OPTIONAL qq_ScrollTCGrid.setMinimumSize(new Dimension(113, 24));
// OPTIONAL qq_ScrollTCGrid.setPreferredSize(new Dimension(113, 24));
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_CENTER
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_ScrollTCGrid.add( getqq_IndexesTCGrid(), qq_gbc );
}
return qq_ScrollTCGrid;
}
public void setqq_ScrollTCGrid(GridField value) {
GridField oldValue = qq_ScrollTCGrid;
qq_ScrollTCGrid = value;
this.qq_Listeners.firePropertyChange("qq_ScrollTCGrid", oldValue, value);
}
/**
* qq_SaveTC: transformed from: qqds_PictureButton
* TagId=130998
* isInherited=TRUE
*/
public JButton getqq_SaveTC() {
if (qq_SaveTC == null) {
super.getqq_SaveTC();
qq_SaveTC.setIcon(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_SaveTC.png")));
// HelpTopic
CSH.setHelpIDString(qq_SaveTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_SaveTC, 515, 60100);
// FloatOverText
qq_SaveTC.setToolTipText("Save");
// StatusText
StatusText.set(qq_SaveTC, "Saves all changes to result set in the database.");
}
return qq_SaveTC;
}
public void setqq_SaveTC(JButton value) {
JButton oldValue = qq_SaveTC;
qq_SaveTC = value;
this.qq_Listeners.firePropertyChange("qq_SaveTC", oldValue, value);
}
/**
* qq_InsertTC: transformed from: qqds_PictureButton
* TagId=130996
* isInherited=TRUE
*/
public JButton getqq_InsertTC() {
if (qq_InsertTC == null) {
super.getqq_InsertTC();
qq_InsertTC.setIcon(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_InsertTC.png")));
// HelpTopic
CSH.setHelpIDString(qq_InsertTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_InsertTC, 507, 60100);
// FloatOverText
qq_InsertTC.setToolTipText("Insert Record into Result Set");
// StatusText
StatusText.set(qq_InsertTC, "Inserts a new, empty record into the result set.");
}
return qq_InsertTC;
}
public void setqq_InsertTC(JButton value) {
JButton oldValue = qq_InsertTC;
qq_InsertTC = value;
this.qq_Listeners.firePropertyChange("qq_InsertTC", oldValue, value);
}
/**
* qq_DeleteTC: transformed from: qqds_PictureButton
* TagId=130995
* isInherited=TRUE
*/
public JButton getqq_DeleteTC() {
if (qq_DeleteTC == null) {
super.getqq_DeleteTC();
qq_DeleteTC.setIcon(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_DeleteTC.png")));
// HelpTopic
CSH.setHelpIDString(qq_DeleteTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_DeleteTC, 504, 60100);
// FloatOverText
qq_DeleteTC.setToolTipText("Delete Record from Result Set");
// StatusText
StatusText.set(qq_DeleteTC, "Removes the selected record from the result set.");
}
return qq_DeleteTC;
}
public void setqq_DeleteTC(JButton value) {
JButton oldValue = qq_DeleteTC;
qq_DeleteTC = value;
this.qq_Listeners.firePropertyChange("qq_DeleteTC", oldValue, value);
}
/**
* qq_EditTCGrid: transformed from: qqds_GridField
* TagId=130999
* isInherited=TRUE
* 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_EditTCGridProperties() {
super.setqq_EditTCGridProperties();
qq_EditTCGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_EditTCGrid.setWidthPolicy(Constants.SP_NATURAL);
}
public GridField getqq_EditTCGrid() {
if (qq_EditTCGrid == null) {
qq_EditTCGrid = CompoundFieldFactory.newGridField("EditTCGrid", false);
setqq_EditTCGridProperties();
qq_EditTCGrid.setBackground(null);
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_CENTER
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 6); // Top, Left, Bottom, Right Margin
qq_EditTCGrid.add( getqq_SaveTC(), 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_CENTER
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_EditTCGrid.add( getqq_InsertTC(), 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_CENTER
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_EditTCGrid.add( getqq_DeleteTC(), qq_gbc2 );
}
return qq_EditTCGrid;
}
public void setqq_EditTCGrid(GridField value) {
GridField oldValue = qq_EditTCGrid;
qq_EditTCGrid = value;
this.qq_Listeners.firePropertyChange("qq_EditTCGrid", oldValue, value);
}
/**
* qq_ClearTC: transformed from: qqds_PictureButton
* TagId=130997
* isInherited=TRUE
*/
public JButton getqq_ClearTC() {
if (qq_ClearTC == null) {
super.getqq_ClearTC();
qq_ClearTC.setIcon(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_ClearTC.png")));
// HelpTopic
CSH.setHelpIDString(qq_ClearTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_ClearTC, 501, 60100);
// FloatOverText
qq_ClearTC.setToolTipText("Clear Result Set");
// StatusText
StatusText.set(qq_ClearTC, "Aborts any changes and creates an empty result set.");
}
return qq_ClearTC;
}
public void setqq_ClearTC(JButton value) {
JButton oldValue = qq_ClearTC;
qq_ClearTC = value;
this.qq_Listeners.firePropertyChange("qq_ClearTC", oldValue, value);
}
/**
* qq_SearchTC: transformed from: qqds_PictureButton
* TagId=131010
* isInherited=TRUE
*/
public JButton getqq_SearchTC() {
if (qq_SearchTC == null) {
super.getqq_SearchTC();
qq_SearchTC.setIcon(new ImageIcon(ExpressArrayWindow.class.getResource("ExpressArrayWindow.qq_SearchTC.png")));
// HelpTopic
CSH.setHelpIDString(qq_SearchTC, "");
// Help Msg catalog
UIutils.setFloatOverMsgAndSetNumber(qq_SearchTC, 516, 60100);
// FloatOverText
qq_SearchTC.setToolTipText("Search");
// StatusText
StatusText.set(qq_SearchTC, "Allows you to define and perform searches.");
}
return qq_SearchTC;
}
public void setqq_SearchTC(JButton value) {
JButton oldValue = qq_SearchTC;
qq_SearchTC = value;
this.qq_Listeners.firePropertyChange("qq_SearchTC", oldValue, value);
}
/**
* qq_ToolBarBackgroundGrid: transformed from: qqds_GridField
* TagId=131011
* isInherited=TRUE
* In forte this was a 5x1 grid field.
* The top and bottom cell margins are both 30 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_ToolBarBackgroundGridProperties() {
super.setqq_ToolBarBackgroundGridProperties();
qq_ToolBarBackgroundGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_ToolBarBackgroundGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_ToolBarBackgroundGrid() {
if (qq_ToolBarBackgroundGrid == null) {
qq_ToolBarBackgroundGrid = CompoundFieldFactory.newGridField("ToolBarBackgroundGrid", false);
setqq_ToolBarBackgroundGridProperties();
// OPTIONAL qq_ToolBarBackgroundGrid.setSize(new Dimension(403, 38));
// OPTIONAL qq_ToolBarBackgroundGrid.setMinimumSize(new Dimension(403, 38));
// OPTIONAL qq_ToolBarBackgroundGrid.setPreferredSize(new Dimension(403, 38));
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_CENTER
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(1, 2, 1, 4); // Top, Left, Bottom, Right Margin
qq_ToolBarBackgroundGrid.add( getqq_ModeTC(), 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_CENTER
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
qq_ToolBarBackgroundGrid.add( getqq_ClearTC(), 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_CENTER
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
qq_ToolBarBackgroundGrid.add( getqq_SearchTC(), 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_CENTER
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
qq_ToolBarBackgroundGrid.add( getqq_EditTCGrid(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 4; // Column 5
qq_gbc4.gridy = 0; // Row 1
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.EAST; // Gravity - original: CG_MIDDLERIGHT
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(1, 0, 1, 9); // Top, Left, Bottom, Right Margin
qq_ToolBarBackgroundGrid.add( getqq_ScrollTCGrid(), qq_gbc4 );
}
return qq_ToolBarBackgroundGrid;
}
public void setqq_ToolBarBackgroundGrid(GridField value) {
GridField oldValue = qq_ToolBarBackgroundGrid;
qq_ToolBarBackgroundGrid = value;
this.qq_Listeners.firePropertyChange("qq_ToolBarBackgroundGrid", oldValue, value);
}
/**
* qq_ToolBarGrid: transformed from: qqds_GridField
* TagId=131012
* isInherited=TRUE
* 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_ToolBarGridProperties() {
super.setqq_ToolBarGridProperties();
qq_ToolBarGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_ToolBarGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_ToolBarGrid() {
if (qq_ToolBarGrid == null) {
qq_ToolBarGrid = CompoundFieldFactory.newGridField("ToolBarGrid", false);
setqq_ToolBarGridProperties();
// OPTIONAL qq_ToolBarGrid.setSize(new Dimension(406, 43));
// OPTIONAL qq_ToolBarGrid.setMinimumSize(new Dimension(406, 43));
// OPTIONAL qq_ToolBarGrid.setPreferredSize(new Dimension(406, 43));
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
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_ToolBarGrid.add( getqq_ToolBarBackgroundGrid(), qq_gbc );
}
return qq_ToolBarGrid;
}
public void setqq_ToolBarGrid(GridField value) {
GridField oldValue = qq_ToolBarGrid;
qq_ToolBarGrid = value;
this.qq_Listeners.firePropertyChange("qq_ToolBarGrid", oldValue, value);
}
/**
* qq_TopGrid: transformed from: qqds_GridField
* TagId=131070
* isInherited=TRUE
* 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_TopGridProperties() {
super.setqq_TopGridProperties();
qq_TopGrid.setHeightPolicy(Constants.SP_TO_PARENT);
qq_TopGrid.setWidthPolicy(Constants.SP_TO_PARENT);
}
public GridField getqq_TopGrid() {
if (qq_TopGrid == null) {
qq_TopGrid = CompoundFieldFactory.newGridField("TopGrid", false);
setqq_TopGridProperties();
qq_TopGrid.setBackground(null);
// OPTIONAL qq_TopGrid.setSize(new Dimension(406, 244));
// OPTIONAL qq_TopGrid.setMinimumSize(new Dimension(406, 244));
// OPTIONAL qq_TopGrid.setPreferredSize(new Dimension(406, 244));
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_CENTER 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_TopGrid.add( getqq_ToolBarGrid(), 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
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_TopGrid.add( getqq_ContentsGrid(), 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.SOUTHWEST; // Gravity - original: CG_BOTTOMLEFT
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_TopGrid.add( getqq_StatusLineGrid(), qq_gbc2 );
}
return qq_TopGrid;
}
public void setqq_TopGrid(GridField value) {
GridField oldValue = qq_TopGrid;
qq_TopGrid = value;
this.qq_Listeners.firePropertyChange("qq_TopGrid", oldValue, value);
}
/**
* Form: transformed from: qqds_Panel
* TagId=1
* isInherited=FALSE
*/
public JPanel getForm() {
if (Form == null) {
super.getForm();
Form.setLayout(new WindowFormLayout(this));
Form.setOpaque( true );
}
return Form;
}
public void setForm(JPanel value) {
JPanel oldValue = Form;
Form = value;
this.qq_Listeners.firePropertyChange("Form", oldValue, 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.
*/
private void initialize() {
this.qq_setupWindowUsage();
this.setName( "ExpressArrayWindow" );
this.setTitle( "" );
this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
this.setJMenuBar( getqq_MenuBar() );
if (this.getContentPane() != this.getForm()) {
this.setContentPane(getForm());
}
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
//-----------------
public void qq_setupWindowUsage() {
this.usage.add(getqq_PreferencesMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PreferencesSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_RevertMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_RevertSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PrintMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PrintSetupMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PrintSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_SaveMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_SaveSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_CancelMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_CancelSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_CloseMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_CloseSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ExitAllMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_fileMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_EditCutMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_EditCopyMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_EditPasteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_EditDeleteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_EditSelectallMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_editMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ModeMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ModeSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ClearMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ClearSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_InsertMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_DeleteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ScrollToSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_FirstMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_LastMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ScrollSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PrevMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_NextMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_ScrollMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_SearchMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_resultSetMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_TopGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ContentsGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_TopContentsGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_DataGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_DummyGraphic(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_SideBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_InsertBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_DeleteBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_ButtonGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ScrollBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_IndexesBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_IndexBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_MaxIndexBC(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_OfBC(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_OKBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_SearchBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_CancelBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_ClearBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_NestedGrid(), Constants.FS_INVISIBLE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_FolderPanel(), Constants.FS_INVISIBLE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_StatusLineGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_StatusText(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ModeText(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ToolBarGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ToolBarBackgroundGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ModeTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ScrollTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_IndexesTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_IndexTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_MaxIndexTC(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_OfTC(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_DISABLED, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_EditTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_SaveTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_InsertTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_DeleteTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_ClearTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_SearchTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
}
// </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);
ExpressArrayWindow myClass = new ExpressArrayWindow();
myClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
myClass.setVisible(true);
UIutils.processGUIActions();
}
} // end class ExpressArrayWindow
// c Pass 2 Conversion Time: 1109 milliseconds