package ArrayExample;
import ArrayExample.Array_Of_TabAvgCompCloneObject;
import ArrayExample.TabAvgCompCloneObject;
import DisplayProject.ArrayColumn;
import DisplayProject.ArrayFieldModel;
import DisplayProject.CloseHideAdaptor;
import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.GridField;
import DisplayProject.PaletteList;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.ColourChange;
import DisplayProject.actions.DateTemplate;
import DisplayProject.actions.FrameColor;
import DisplayProject.actions.FrameWeight;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.ArrayField;
import DisplayProject.controls.MenuSeparator;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.MenuFactory;
import DisplayProject.factory.PaletteListFactory;
import DisplayProject.factory.TableFactory;
import DisplayProject.factory.ToggleFieldFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import DisplayProject.table.ArrayFieldCellHelper;
import DisplayProject.table.CheckBoxCellEditor;
import DisplayProject.table.CheckBoxCellRenderer;
import DisplayProject.table.FormattedCellEditor;
import DisplayProject.table.FormattedCellRenderer;
import Framework.Array_Of_ListElement;
import Framework.DateTimeData;
import Framework.DecimalData;
import Framework.DecimalNullable;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.File;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.ImageData;
import Framework.ListElement;
import Framework.RuntimeProperties;
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.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.UIManager;
/**
* TabAvgCompensationClone<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class TabAvgCompensationClone
extends JFrame
implements Serializable, Observable
{
// ---------
// Constants
// ---------
public static final int C_NoHelp = 24001;
public static final int WN_ErrorPath = 5;
// ----------
// Attributes
// ----------
protected File DefaultHelpFile;
protected BindingManager bindingManager = null;
public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
private Array_Of_TabAvgCompCloneObject<TabAvgCompCloneObject> aoBEFASPyrl;
private String empl_Grp;
// ------------
// Constructors
// ------------
public TabAvgCompensationClone() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.initialize();
this.setAoBEFASPyrl(new Array_Of_TabAvgCompCloneObject<TabAvgCompCloneObject>());
TabAvgCompCloneObject item = new TabAvgCompCloneObject("1");
this.getAoBEFASPyrl().set(0, item);
item = new TabAvgCompCloneObject("2");
this.getAoBEFASPyrl().set(1, item);
item = new TabAvgCompCloneObject("3");
this.getAoBEFASPyrl().set(2, item);
item = new TabAvgCompCloneObject("4");
this.getAoBEFASPyrl().set(3, item);
item = new TabAvgCompCloneObject("5");
this.getAoBEFASPyrl().set(4, item);
item = new TabAvgCompCloneObject("6");
this.getAoBEFASPyrl().set(5, item);
item = new TabAvgCompCloneObject("7");
this.getAoBEFASPyrl().set(6, item);
item = new TabAvgCompCloneObject("8");
this.getAoBEFASPyrl().set(7, item);
item = new TabAvgCompCloneObject("9");
this.getAoBEFASPyrl().set(8, item);
item = new TabAvgCompCloneObject("10");
this.getAoBEFASPyrl().set(9, item);
item = new TabAvgCompCloneObject("11");
this.getAoBEFASPyrl().set(10, item);
item = new TabAvgCompCloneObject("12");
this.getAoBEFASPyrl().set(11, item);
item = new TabAvgCompCloneObject("13");
this.getAoBEFASPyrl().set(12, item);
item = new TabAvgCompCloneObject("14");
this.getAoBEFASPyrl().set(13, item);
item = new TabAvgCompCloneObject("15");
this.getAoBEFASPyrl().set(14, item);
}
// ----------------------
// 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 setAoBEFASPyrl(Array_Of_TabAvgCompCloneObject<TabAvgCompCloneObject> aoBEFASPyrl) {
Array_Of_TabAvgCompCloneObject<TabAvgCompCloneObject> oldValue = this.aoBEFASPyrl;
this.aoBEFASPyrl = aoBEFASPyrl;
this.qq_Listeners.firePropertyChange("aoBEFASPyrl", oldValue, this.aoBEFASPyrl);
}
public Array_Of_TabAvgCompCloneObject<TabAvgCompCloneObject> getAoBEFASPyrl() {
return this.aoBEFASPyrl;
}
public void setEmpl_Grp(String empl_Grp) {
String oldValue = this.empl_Grp;
this.empl_Grp = empl_Grp;
this.qq_Listeners.firePropertyChange("empl_Grp", oldValue, this.empl_Grp);
}
public String getEmpl_Grp() {
return this.empl_Grp;
}
// -------
// 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);
// ----------
// Event Loop
// ----------
EventManager.startEventLoop();
try {
EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
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 ArrayField qq_aoBEFASPyrl;
public DataField qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt;
public DataField qq_aoBEFASPyrlArray_augmented_sal;
public DataField qq_aoBEFASPyrlArray_factored_sal;
public DataField qq_aoBEFASPyrlArray_org_Cli_cd;
public DataField qq_aoBEFASPyrlArray_wag_amt;
public GridField qq_GridField1128;
public GridField qq_GridField1134;
public GridField qq_GridField1140;
public GridField qq_WgdSizingGrid;
public JCheckBox qq_aoBEFASPyrlArray_sal_ovrrd_in;
public JMenu qq_WindowMenu;
public JMenu qq_file;
public JMenuBar qq_MainMenuBar;
public JPanel Form;
public JScrollPane qq_aoBEFASPyrl_sp;
public MenuSeparator qq_separator1;
public MenuSeparator qq_separator2;
public MenuSeparator qq_separator3;
public MenuSeparator qq_separator;
public PaletteList qq_PaletteList1124;
public PaletteList qq_PaletteList1125;
/**
* qq_separator: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_separator() {
if (qq_separator == null) {
qq_separator = new MenuSeparator();
qq_separator.setName("");
qq_separator.setVisible( true );
}
return qq_separator;
}
public void setqq_separator(MenuSeparator value) {
MenuSeparator oldValue = qq_separator;
qq_separator = value;
this.qq_Listeners.firePropertyChange("qq_separator", oldValue, value);
}
/**
* qq_separator1: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_separator1() {
if (qq_separator1 == null) {
qq_separator1 = new MenuSeparator();
qq_separator1.setName("");
qq_separator1.setVisible( true );
}
return qq_separator1;
}
public void setqq_separator1(MenuSeparator value) {
MenuSeparator oldValue = qq_separator1;
qq_separator1 = value;
this.qq_Listeners.firePropertyChange("qq_separator1", oldValue, value);
}
/**
* qq_separator2: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_separator2() {
if (qq_separator2 == null) {
qq_separator2 = new MenuSeparator();
qq_separator2.setName("");
qq_separator2.setVisible( true );
}
return qq_separator2;
}
public void setqq_separator2(MenuSeparator value) {
MenuSeparator oldValue = qq_separator2;
qq_separator2 = value;
this.qq_Listeners.firePropertyChange("qq_separator2", oldValue, value);
}
/**
* qq_file: transformed from: qqds_Submenu
*/
public JMenu getqq_file() {
if (qq_file == null) {
qq_file = new JMenu();
qq_file.setName("file");
qq_file.setMnemonic( 'f' );
qq_file.setText( "File" );
qq_file.setVisible(true);
qq_file.add(getqq_separator());
qq_file.add(getqq_separator1());
qq_file.add(getqq_separator2());
}
return qq_file;
}
/**
* qq_separator3: transformed from: qqds_MenuSeparator
*/
public MenuSeparator getqq_separator3() {
if (qq_separator3 == null) {
qq_separator3 = new MenuSeparator();
qq_separator3.setName("");
qq_separator3.setVisible( true );
}
return qq_separator3;
}
public void setqq_separator3(MenuSeparator value) {
MenuSeparator oldValue = qq_separator3;
qq_separator3 = value;
this.qq_Listeners.firePropertyChange("qq_separator3", oldValue, value);
}
/**
* qq_WindowMenu: transformed from: qqds_Submenu
*/
public JMenu getqq_WindowMenu() {
if (qq_WindowMenu == null) {
qq_WindowMenu = new JMenu();
qq_WindowMenu.setName("WindowMenu");
qq_WindowMenu.setMnemonic( 'W' );
qq_WindowMenu.setText( "Window" );
qq_WindowMenu.setVisible(true);
qq_WindowMenu.add(getqq_separator3());
}
return qq_WindowMenu;
}
/**
* 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_file());
this.qq_MainMenuBar.add(getqq_WindowMenu());
}
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_PaletteList1124: transformed from: qqds_PaletteList
* TagId=1124
* isInherited=FALSE
*/
public PaletteList getqq_PaletteList1124() {
if (qq_PaletteList1124 == null) {
qq_PaletteList1124 = PaletteListFactory.newPaletteList();
qq_PaletteList1124.setOrientation( Constants.FO_DEFAULT );
qq_PaletteList1124.setWrapSize( 1 );
Array_Of_ListElement<ListElement> aole = new Array_Of_ListElement<ListElement>();
aole.add(new ListElement(new ImageData(new ImageIcon(TabAvgCompensationClone.class.getResource("TabAvgCompensationClone.qq_PaletteList1124_1.png"))),
1, "Item 1", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
qq_PaletteList1124.setElementList( aole );
WidthPolicy.set(qq_PaletteList1124, Constants.SP_NATURAL);
HeightPolicy.set(qq_PaletteList1124, Constants.SP_NATURAL);
qq_PaletteList1124.setSize(new Dimension(24, 24));
qq_PaletteList1124.setMinimumSize(new Dimension(24, 24));
qq_PaletteList1124.setPreferredSize(new Dimension(24, 24));
qq_PaletteList1124.setLocation(660, 393);
}
return qq_PaletteList1124;
}
public void setqq_PaletteList1124(PaletteList value) {
PaletteList oldValue = qq_PaletteList1124;
qq_PaletteList1124 = value;
this.qq_Listeners.firePropertyChange("qq_PaletteList1124", oldValue, value);
}
/**
* qq_PaletteList1125: transformed from: qqds_PaletteList
* TagId=1125
* isInherited=FALSE
*/
public PaletteList getqq_PaletteList1125() {
if (qq_PaletteList1125 == null) {
qq_PaletteList1125 = PaletteListFactory.newPaletteList();
qq_PaletteList1125.setOrientation( Constants.FO_DEFAULT );
qq_PaletteList1125.setWrapSize( 2 );
Array_Of_ListElement<ListElement> aole = new Array_Of_ListElement<ListElement>();
aole.add(new ListElement(new ImageData(new ImageIcon(TabAvgCompensationClone.class.getResource("TabAvgCompensationClone.qq_PaletteList1125_1.png"))),
1, "Item 1", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
aole.add(new ListElement(new ImageData(new ImageIcon(TabAvgCompensationClone.class.getResource("TabAvgCompensationClone.qq_PaletteList1125_2.png"))),
2, "Item 2", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
qq_PaletteList1125.setElementList( aole );
WidthPolicy.set(qq_PaletteList1125, Constants.SP_NATURAL);
HeightPolicy.set(qq_PaletteList1125, Constants.SP_NATURAL);
qq_PaletteList1125.setSize(new Dimension(43, 24));
qq_PaletteList1125.setMinimumSize(new Dimension(43, 24));
qq_PaletteList1125.setPreferredSize(new Dimension(43, 24));
qq_PaletteList1125.setLocation(672, 381);
}
return qq_PaletteList1125;
}
public void setqq_PaletteList1125(PaletteList value) {
PaletteList oldValue = qq_PaletteList1125;
qq_PaletteList1125 = value;
this.qq_Listeners.firePropertyChange("qq_PaletteList1125", oldValue, value);
}
/**
* qq_GridField1128: transformed from: qqds_GridField
* TagId=1128
* isInherited=FALSE
* In forte this was a 0x0 grid field.
* The cell margins are all 30 mils
* The width policy is set to Parent, and the height policy is set to Natural.
*/
protected void setqq_GridField1128Properties() {
FrameWeight.set(qq_GridField1128, Constants.W_DEFAULT);
qq_GridField1128.setCellTopMargin(15);
qq_GridField1128.setCellBottomMargin(15);
qq_GridField1128.setCellLeftMargin(15);
qq_GridField1128.setCellRightMargin(15);
qq_GridField1128.setCellGravity(Constants.CG_CENTER);
qq_GridField1128.setCollapsed(true);
qq_GridField1128.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField1128.setWidthPolicy(Constants.SP_TO_PARENT);
qq_GridField1128.setBackground(null);
}
public GridField getqq_GridField1128() {
if (qq_GridField1128 == null) {
qq_GridField1128 = CompoundFieldFactory.newGridField("qq_GridField1128", true);
setqq_GridField1128Properties();
qq_GridField1128.setMinimumSize(new Dimension(0, 52));
}
return qq_GridField1128;
}
public void setqq_GridField1128(GridField value) {
GridField oldValue = qq_GridField1128;
qq_GridField1128 = value;
this.qq_Listeners.firePropertyChange("qq_GridField1128", oldValue, value);
}
/**
* qq_GridField1134: transformed from: qqds_GridField
* TagId=1134
* isInherited=FALSE
* In forte this was a 0x0 grid field.
* Neither the top nor the bottom cell margins are set, but the left and right cell margins are both 30 mils.
* The width policy is set to Parent, and the height policy is set to Natural.
*/
protected void setqq_GridField1134Properties() {
FrameWeight.set(qq_GridField1134, Constants.W_DEFAULT);
qq_GridField1134.setCellLeftMargin(15);
qq_GridField1134.setCellRightMargin(15);
qq_GridField1134.setCellGravity(Constants.CG_CENTER);
qq_GridField1134.setIgnoreInvisibleChildren(true);
qq_GridField1134.setCollapsed(true);
qq_GridField1134.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField1134.setWidthPolicy(Constants.SP_TO_PARENT);
qq_GridField1134.setBackground(null);
}
public GridField getqq_GridField1134() {
if (qq_GridField1134 == null) {
qq_GridField1134 = CompoundFieldFactory.newGridField("qq_GridField1134", true);
setqq_GridField1134Properties();
qq_GridField1134.setMinimumSize(new Dimension(0, 52));
}
return qq_GridField1134;
}
public void setqq_GridField1134(GridField value) {
GridField oldValue = qq_GridField1134;
qq_GridField1134 = value;
this.qq_Listeners.firePropertyChange("qq_GridField1134", oldValue, value);
}
/**
* qq_aoBEFASPyrl_sp: transformed from: qqds_ArrayField
* TagId=860
* isInherited=FALSE
*/
public JScrollPane getqq_aoBEFASPyrl_sp() {
if (qq_aoBEFASPyrl_sp == null) {
qq_aoBEFASPyrl_sp = CompoundFieldFactory.newScrollPane();
qq_aoBEFASPyrl_sp.setName("aoBEFASPyrl");
qq_aoBEFASPyrl_sp.setViewportView(getqq_aoBEFASPyrl());
qq_aoBEFASPyrl_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
qq_aoBEFASPyrl_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
qq_aoBEFASPyrl_sp.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1));
qq_aoBEFASPyrl_sp.setBackground(null);
qq_aoBEFASPyrl_sp.getViewport().setBackground(null);
FrameColor.set(qq_aoBEFASPyrl_sp, Constants.C_INHERIT);
WidthPolicy.set(qq_aoBEFASPyrl_sp, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_aoBEFASPyrl_sp, Constants.SP_TO_PARENT);
// OPTIONAL qq_aoBEFASPyrl_sp.setSize(new Dimension(501, 340));
qq_aoBEFASPyrl_sp.setMinimumSize(new Dimension(501, 340));
qq_aoBEFASPyrl_sp.setPreferredSize(new Dimension(501, 340));
}
return qq_aoBEFASPyrl_sp;
}
public void setqq_aoBEFASPyrl_sp(JScrollPane value) {
JScrollPane oldValue = qq_aoBEFASPyrl_sp;
qq_aoBEFASPyrl_sp = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrl_sp", oldValue, value);
}
/**
* qq_aoBEFASPyrl: transformed from: qqds_ArrayField
* TagId=860
* isInherited=FALSE
*/
public ArrayField getqq_aoBEFASPyrl() {
if (qq_aoBEFASPyrl == null) {
qq_aoBEFASPyrl = TableFactory.newArrayField("aoBEFASPyrl", 19);
this.getBindingManager().bindComponent(qq_aoBEFASPyrl, "aoBEFASPyrl", TabAvgCompCloneObject.class,
new String[] { "org_Cli_cd",
"aff_rpt_mnth_yr_dt",
"wag_amt",
"sal_ovrrd_in",
"augmented_sal",
"factored_sal" });
qq_aoBEFASPyrl.setVisibleRows(15);
((ArrayFieldModel)qq_aoBEFASPyrl.getModel()).setAllowsAppend(true);
// === Column model setup ===
// org_Cli_cd converted from qqds_DataField
ArrayColumn qq_aoBEFASPyrlArray_org_Cli_cd_Column = new ArrayColumn("org_Cli_cd", 0, 69, new FormattedCellRenderer(getqq_aoBEFASPyrlArray_org_Cli_cd()), new FormattedCellEditor(getqq_aoBEFASPyrlArray_org_Cli_cd()), false);
qq_aoBEFASPyrlArray_org_Cli_cd_Column.setHeaderValue("Agy");
qq_aoBEFASPyrlArray_org_Cli_cd_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_org_Cli_cd_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_org_Cli_cd_Column);
// aff_rpt_mnth_yr_dt converted from qqds_DataField
ArrayColumn qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt_Column = new ArrayColumn("aff_rpt_mnth_yr_dt", 1, 83, new FormattedCellRenderer(getqq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt()), new FormattedCellEditor(getqq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt()), false);
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt_Column.setHeaderValue("Mth/Yr");
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt_Column);
// wag_amt converted from qqds_DataField
ArrayColumn qq_aoBEFASPyrlArray_wag_amt_Column = new ArrayColumn("wag_amt", 2, 93, new FormattedCellRenderer(getqq_aoBEFASPyrlArray_wag_amt()), new FormattedCellEditor(getqq_aoBEFASPyrlArray_wag_amt()), true);
qq_aoBEFASPyrlArray_wag_amt_Column.setHeaderValue("Salary Amt ");
qq_aoBEFASPyrlArray_wag_amt_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_wag_amt_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_wag_amt_Column);
// sal_ovrrd_in converted from qqds_ToggleField
ArrayColumn qq_aoBEFASPyrlArray_sal_ovrrd_in_Column = new ArrayColumn("sal_ovrrd_in", 3, 33, new CheckBoxCellRenderer(getqq_aoBEFASPyrlArray_sal_ovrrd_in()), new CheckBoxCellEditor(getqq_aoBEFASPyrlArray_sal_ovrrd_in()), true);
qq_aoBEFASPyrlArray_sal_ovrrd_in_Column.setHeaderValue("Ovrd");
qq_aoBEFASPyrlArray_sal_ovrrd_in_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_sal_ovrrd_in_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_sal_ovrrd_in_Column);
// augmented_sal converted from qqds_DataField
ArrayColumn qq_aoBEFASPyrlArray_augmented_sal_Column = new ArrayColumn("augmented_sal", 4, 102, new FormattedCellRenderer(getqq_aoBEFASPyrlArray_augmented_sal()), new FormattedCellEditor(getqq_aoBEFASPyrlArray_augmented_sal()), false);
qq_aoBEFASPyrlArray_augmented_sal_Column.setHeaderValue("Augmented Sal");
qq_aoBEFASPyrlArray_augmented_sal_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_augmented_sal_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_augmented_sal_Column);
// factored_sal converted from qqds_DataField
ArrayColumn qq_aoBEFASPyrlArray_factored_sal_Column = new ArrayColumn("factored_sal", 5, 102, new FormattedCellRenderer(getqq_aoBEFASPyrlArray_factored_sal()), new FormattedCellEditor(getqq_aoBEFASPyrlArray_factored_sal()), false);
qq_aoBEFASPyrlArray_factored_sal_Column.setHeaderValue("Factored Sal");
qq_aoBEFASPyrlArray_factored_sal_Column.setHeaderFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_factored_sal_Column.setVisible(true);
qq_aoBEFASPyrl.addColumn(qq_aoBEFASPyrlArray_factored_sal_Column);
// === End column model ===
TableFactory.postModelArrayField(qq_aoBEFASPyrl);
}
return qq_aoBEFASPyrl;
}
public void setqq_aoBEFASPyrl(ArrayField value) {
ArrayField oldValue = qq_aoBEFASPyrl;
qq_aoBEFASPyrl = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrl", oldValue, value);
}
/**
* qq_GridField1140: transformed from: qqds_GridField
* TagId=1140
* isInherited=FALSE
* In forte this was a 1x1 grid field.
* The top and bottom cell margins are both 30 mils and the left and right cell margins are both 20 mils.
* The width policy is set to Parent, and the height policy is set to Parent.
*/
protected void setqq_GridField1140Properties() {
FrameWeight.set(qq_GridField1140, Constants.W_DEFAULT);
qq_GridField1140.setCellTopMargin(15);
qq_GridField1140.setCellBottomMargin(15);
qq_GridField1140.setCellLeftMargin(10);
qq_GridField1140.setCellRightMargin(10);
qq_GridField1140.setCollapsed(true);
qq_GridField1140.setHeightPolicy(Constants.SP_TO_PARENT);
qq_GridField1140.setWidthPolicy(Constants.SP_TO_PARENT);
qq_GridField1140.setBackground(null);
}
public GridField getqq_GridField1140() {
if (qq_GridField1140 == null) {
qq_GridField1140 = CompoundFieldFactory.newGridField("qq_GridField1140", true);
setqq_GridField1140Properties();
qq_GridField1140.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.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc.insets = new Insets(1, 0, 1, 0); // Top, Left, Bottom, Right Margin
qq_GridField1140.add( getqq_aoBEFASPyrl_sp(), qq_gbc );
}
return qq_GridField1140;
}
public void setqq_GridField1140(GridField value) {
GridField oldValue = qq_GridField1140;
qq_GridField1140 = value;
this.qq_Listeners.firePropertyChange("qq_GridField1140", oldValue, value);
}
/**
* qq_WgdSizingGrid: transformed from: qqds_GridField
* TagId=1141
* isInherited=FALSE
* In forte this was a 1x3 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 Parent.
*/
protected void setqq_WgdSizingGridProperties() {
qq_WgdSizingGrid.setCellTopMargin(15);
qq_WgdSizingGrid.setCellBottomMargin(15);
qq_WgdSizingGrid.setCollapsed(true);
qq_WgdSizingGrid.setHeightPolicy(Constants.SP_TO_PARENT);
qq_WgdSizingGrid.setWidthPolicy(Constants.SP_TO_PARENT);
qq_WgdSizingGrid.setBackground(null);
qq_WgdSizingGrid.setLocation(2, 0);
}
public GridField getqq_WgdSizingGrid() {
if (qq_WgdSizingGrid == null) {
qq_WgdSizingGrid = CompoundFieldFactory.newGridField("WgdSizingGrid", false);
setqq_WgdSizingGridProperties();
qq_WgdSizingGrid.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_CENTER
qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
qq_gbc.insets = new Insets(1, 0, 1, 0); // Top, Left, Bottom, Right Margin
qq_WgdSizingGrid.add( getqq_GridField1134(), 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(1, 0, 1, 0); // Top, Left, Bottom, Right Margin
qq_WgdSizingGrid.add( getqq_GridField1140(), 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 = 1;
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(1, 0, 1, 0); // Top, Left, Bottom, Right Margin
qq_WgdSizingGrid.add( getqq_GridField1128(), qq_gbc2 );
}
return qq_WgdSizingGrid;
}
public void setqq_WgdSizingGrid(GridField value) {
GridField oldValue = qq_WgdSizingGrid;
qq_WgdSizingGrid = value;
this.qq_Listeners.firePropertyChange("qq_WgdSizingGrid", 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_WgdSizingGrid() );
Form.add( getqq_PaletteList1125() );
Form.add( getqq_PaletteList1124() );
}
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;
}
/**
* qq_aoBEFASPyrlArray_org_Cli_cd: transformed from: qqds_DataField
* TagId=861
* isInherited=FALSE
*/
public DataField getqq_aoBEFASPyrlArray_org_Cli_cd() {
if (qq_aoBEFASPyrlArray_org_Cli_cd == null) {
// Mask type: MK_NONE
qq_aoBEFASPyrlArray_org_Cli_cd = DataFieldFactory.newDataField("org_Cli_cd", 9, Constants.MK_NONE);
qq_aoBEFASPyrlArray_org_Cli_cd.setOriginalFormatText(null);
qq_aoBEFASPyrlArray_org_Cli_cd.setHorizontalAlignment(JTextField.LEFT);
qq_aoBEFASPyrlArray_org_Cli_cd.setBorder(null);
qq_aoBEFASPyrlArray_org_Cli_cd.setBackground(null);
WidthPolicy.set(qq_aoBEFASPyrlArray_org_Cli_cd, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aoBEFASPyrlArray_org_Cli_cd, Constants.SP_NATURAL);
qq_aoBEFASPyrlArray_org_Cli_cd.setMinimumSize(new Dimension(69, 14));
qq_aoBEFASPyrlArray_org_Cli_cd.setSize(new Dimension(69, 14));
qq_aoBEFASPyrlArray_org_Cli_cd.setFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_org_Cli_cd.setLocation(4, 1);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_org_Cli_cd, qq_aoBEFASPyrl, 0, false);
ColourChange.setBackground(qq_aoBEFASPyrlArray_org_Cli_cd, Constants.C_YELLOW);
ColourChange.setForeground(qq_aoBEFASPyrlArray_org_Cli_cd, Constants.C_BRIGHTBLUE);
}
return qq_aoBEFASPyrlArray_org_Cli_cd;
}
public void setqq_aoBEFASPyrlArray_org_Cli_cd(DataField value) {
DataField oldValue = qq_aoBEFASPyrlArray_org_Cli_cd;
qq_aoBEFASPyrlArray_org_Cli_cd = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_org_Cli_cd", oldValue, value);
}
/**
* qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt: transformed from: qqds_DataField
* TagId=863
* isInherited=FALSE
*/
public DataField getqq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt() {
if (qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->mm/yyyy<--
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt = DataFieldFactory.newDataField("aff_rpt_mnth_yr_dt", 11, DateTimeData.class);
DateTemplate.set(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, "mm/yyyy", DateTimeData.class);
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setOriginalFormatText("mm/yyyy");
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setHorizontalAlignment(JTextField.LEFT);
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setBorder(null);
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setBackground(null);
WidthPolicy.set(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, Constants.SP_NATURAL);
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setMinimumSize(new Dimension(83, 14));
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setSize(new Dimension(83, 14));
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt.setLocation(59, 62);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, qq_aoBEFASPyrl, 1, false);
ColourChange.setBackground(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, Constants.C_PALEGREEN);
ColourChange.setForeground(qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt, Constants.C_BRIGHTBLUE);
}
return qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt;
}
public void setqq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt(DataField value) {
DataField oldValue = qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt;
qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt", oldValue, value);
}
/**
* qq_aoBEFASPyrlArray_wag_amt: transformed from: qqds_DataField
* TagId=865
* isInherited=FALSE
*/
public DataField getqq_aoBEFASPyrlArray_wag_amt() {
if (qq_aoBEFASPyrlArray_wag_amt == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->CURRENCY<--
this.qq_aoBEFASPyrlArray_wag_amt = DataFieldFactory.newDataField("wag_amt", 12, "$#,##0.00", DecimalData.class);
qq_aoBEFASPyrlArray_wag_amt.setOriginalFormatText("CURRENCY");
qq_aoBEFASPyrlArray_wag_amt.setHorizontalAlignment(JTextField.RIGHT);
WidthPolicy.set(qq_aoBEFASPyrlArray_wag_amt, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aoBEFASPyrlArray_wag_amt, Constants.SP_NATURAL);
qq_aoBEFASPyrlArray_wag_amt.setMinimumSize(new Dimension(93, 19));
qq_aoBEFASPyrlArray_wag_amt.setSize(new Dimension(93, 19));
qq_aoBEFASPyrlArray_wag_amt.setFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_wag_amt.setLocation(84, 0);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_wag_amt, qq_aoBEFASPyrl, 2, false);
ColourChange.setBackground(qq_aoBEFASPyrlArray_wag_amt, Constants.C_BRIGHTGREEN);
}
return qq_aoBEFASPyrlArray_wag_amt;
}
public void setqq_aoBEFASPyrlArray_wag_amt(DataField value) {
DataField oldValue = qq_aoBEFASPyrlArray_wag_amt;
qq_aoBEFASPyrlArray_wag_amt = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_wag_amt", oldValue, value);
}
/**
* qq_aoBEFASPyrlArray_sal_ovrrd_in: transformed from: qqds_ToggleField
* TagId=955
* isInherited=FALSE
*/
public JCheckBox getqq_aoBEFASPyrlArray_sal_ovrrd_in() {
if (qq_aoBEFASPyrlArray_sal_ovrrd_in == null) {
qq_aoBEFASPyrlArray_sal_ovrrd_in = ToggleFieldFactory.newToggleField("", "sal_ovrrd_in");
qq_aoBEFASPyrlArray_sal_ovrrd_in.setFont(new Font("Tahoma", Font.BOLD, 11));
// OPTIONAL UIutils.reloadLabelText(qq_aoBEFASPyrlArray_sal_ovrrd_in, mcat);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_sal_ovrrd_in, qq_aoBEFASPyrl, 3, false);
qq_aoBEFASPyrlArray_sal_ovrrd_in.setLocation(204, 63);
}
return qq_aoBEFASPyrlArray_sal_ovrrd_in;
}
public void setqq_aoBEFASPyrlArray_sal_ovrrd_in(JCheckBox value) {
JCheckBox oldValue = qq_aoBEFASPyrlArray_sal_ovrrd_in;
qq_aoBEFASPyrlArray_sal_ovrrd_in = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_sal_ovrrd_in", oldValue, value);
}
/**
* qq_aoBEFASPyrlArray_augmented_sal: transformed from: qqds_DataField
* TagId=867
* isInherited=FALSE
*/
public DataField getqq_aoBEFASPyrlArray_augmented_sal() {
if (qq_aoBEFASPyrlArray_augmented_sal == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->CURRENCY<--
this.qq_aoBEFASPyrlArray_augmented_sal = DataFieldFactory.newDataField("augmented_sal", 13, "$#,##0.00", DecimalNullable.class);
qq_aoBEFASPyrlArray_augmented_sal.setOriginalFormatText("CURRENCY");
qq_aoBEFASPyrlArray_augmented_sal.setHorizontalAlignment(JTextField.RIGHT);
qq_aoBEFASPyrlArray_augmented_sal.setBorder(null);
qq_aoBEFASPyrlArray_augmented_sal.setBackground(null);
WidthPolicy.set(qq_aoBEFASPyrlArray_augmented_sal, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aoBEFASPyrlArray_augmented_sal, Constants.SP_NATURAL);
qq_aoBEFASPyrlArray_augmented_sal.setMinimumSize(new Dimension(102, 14));
qq_aoBEFASPyrlArray_augmented_sal.setSize(new Dimension(102, 14));
qq_aoBEFASPyrlArray_augmented_sal.setFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_augmented_sal.setLocation(214, 1);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_augmented_sal, qq_aoBEFASPyrl, 4, false);
ColourChange.setBackground(qq_aoBEFASPyrlArray_augmented_sal, Constants.C_PALEMAGENTA);
}
return qq_aoBEFASPyrlArray_augmented_sal;
}
public void setqq_aoBEFASPyrlArray_augmented_sal(DataField value) {
DataField oldValue = qq_aoBEFASPyrlArray_augmented_sal;
qq_aoBEFASPyrlArray_augmented_sal = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_augmented_sal", oldValue, value);
}
/**
* qq_aoBEFASPyrlArray_factored_sal: transformed from: qqds_DataField
* TagId=869
* isInherited=FALSE
*/
public DataField getqq_aoBEFASPyrlArray_factored_sal() {
if (qq_aoBEFASPyrlArray_factored_sal == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->CURRENCY<--
this.qq_aoBEFASPyrlArray_factored_sal = DataFieldFactory.newDataField("factored_sal", 13, "$#,##0.00", DecimalNullable.class);
qq_aoBEFASPyrlArray_factored_sal.setOriginalFormatText("CURRENCY");
qq_aoBEFASPyrlArray_factored_sal.setHorizontalAlignment(JTextField.RIGHT);
qq_aoBEFASPyrlArray_factored_sal.setBorder(null);
qq_aoBEFASPyrlArray_factored_sal.setBackground(null);
WidthPolicy.set(qq_aoBEFASPyrlArray_factored_sal, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aoBEFASPyrlArray_factored_sal, Constants.SP_NATURAL);
qq_aoBEFASPyrlArray_factored_sal.setMinimumSize(new Dimension(102, 14));
qq_aoBEFASPyrlArray_factored_sal.setSize(new Dimension(102, 14));
qq_aoBEFASPyrlArray_factored_sal.setFont(new Font("Tahoma", Font.BOLD, 11));
qq_aoBEFASPyrlArray_factored_sal.setLocation(304, 1);
ArrayFieldCellHelper.setUpCellEditor(qq_aoBEFASPyrlArray_factored_sal, qq_aoBEFASPyrl, 5, false);
ColourChange.setBackground(qq_aoBEFASPyrlArray_factored_sal, Constants.C_PALECYAN);
}
return qq_aoBEFASPyrlArray_factored_sal;
}
public void setqq_aoBEFASPyrlArray_factored_sal(DataField value) {
DataField oldValue = qq_aoBEFASPyrlArray_factored_sal;
qq_aoBEFASPyrlArray_factored_sal = value;
this.qq_Listeners.firePropertyChange("qq_aoBEFASPyrlArray_factored_sal", oldValue, value);
}
/**
* Initialise the window and all its children.
*/
protected void initialize() {
if (this.Form == null) {
this.setName( "TabAvgCompensationClone" );
this.setTitle( "Final Average Salary" );
this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
this.setJMenuBar( getqq_MenuBar() );
if (this.getContentPane() != this.getForm()) {
this.setContentPane(getForm());
}
this.qq_setupWindowUsage();
this.setResizable( true );
this.setAlwaysOnTop(false);
UserWindow.setIconizeEnabled(this, true);
UserWindow.setMaximizeEnabled(this, false);
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_separator(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_separator1(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_separator2(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_file(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_separator3(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_WindowMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
this.usage.add(getqq_PaletteList1124(), Constants.FS_INVISIBLE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_PaletteList1125(), Constants.FS_INVISIBLE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_WgdSizingGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField1128(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField1134(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField1140(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrl(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_org_Cli_cd(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_aff_rpt_mnth_yr_dt(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_wag_amt(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_sal_ovrrd_in(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_augmented_sal(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aoBEFASPyrlArray_factored_sal(), Constants.FS_INACTIVE, 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 ) {
FrameworkUtils.setCmdLineArgs(args);
AppletConnectionInfo client = null;
try {
// Install our own focus manager. MUST be done prior to setting the
// UIManager, otherwise you'll run into issues like things have the wrong focus.
KeyboardFocusManager.setCurrentKeyboardFocusManager(new ForteKeyboardFocusManager());
UIManager.setLookAndFeel(new Win32LookAndFeel());
client = UserWindow.postAPPLETStarted();
TabAvgCompensationClone tabAvgCompensationClone_start = new TabAvgCompensationClone();
tabAvgCompensationClone_start.display();
UserWindow.postAPPLETStopped(client);
System.exit(0);
} catch (Throwable e) {
ErrorMgr.showErrors(null, "Unhandled exception", e);
UserWindow.postAPPLETStopped(client);
System.exit(0);
}
}
} // end class TabAvgCompensationClone
// c Pass 2 Conversion Time: 592 milliseconds