package ComplexMappingTest;
import ComplexMappingTest.Address;
import ComplexMappingTest.Customer;
import ComplexMappingTest.Postcode;
import DisplayProject.ArrayColumn;
import DisplayProject.ArrayFieldModel;
import DisplayProject.CloseHideAdaptor;
import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.DropListModel;
import DisplayProject.GridField;
import DisplayProject.RadioList;
import DisplayProject.RadioListModel;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.Caption;
import DisplayProject.actions.DateTemplate;
import DisplayProject.actions.ExitOnTab;
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.binding.list.SelectionInList;
import DisplayProject.controls.ArrayField;
import DisplayProject.controls.DropList;
import DisplayProject.controls.MultiLineTextField;
import DisplayProject.controls.TextGraphic;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.DropFillinFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.ListFieldFactory;
import DisplayProject.factory.PushButtonFactory;
import DisplayProject.factory.TableFactory;
import DisplayProject.factory.TextEditFactory;
import DisplayProject.factory.ToggleFieldFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import DisplayProject.table.ArrayFieldCellHelper;
import DisplayProject.table.CheckBoxCellEditor;
import DisplayProject.table.CheckBoxCellRenderer;
import DisplayProject.table.ComboBoxCellRenderer;
import DisplayProject.table.FormattedCellEditor;
import DisplayProject.table.FormattedCellRenderer;
import DisplayProject.table.RadioListCellEditor;
import DisplayProject.table.RadioListCellRenderer;
import Framework.Array_Of_ListElement;
import Framework.DateTimeData;
import Framework.DateTimeNullable;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.File;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.ListElement;
import Framework.RuntimeProperties;
import Framework.TextData;
import Framework.UsageException;
import java.awt.Dimension;
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 java.util.Random;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
/**
* MappingWindow<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class MappingWindow
extends JFrame
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
protected File DefaultHelpFile;
protected BindingManager bindingManager = null;
public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
private Customer aCustomer;
private TextData status;
// ------------
// Constructors
// ------------
public MappingWindow() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.initialize();
this.setStatus(new TextData());
}
// ----------------------
// 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 setACustomer(Customer aCustomer) {
Customer oldValue = this.aCustomer;
this.aCustomer = aCustomer;
this.qq_Listeners.firePropertyChange("ACustomer", oldValue, this.aCustomer);
}
public Customer getACustomer() {
return this.aCustomer;
}
public void setStatus(TextData status) {
TextData oldValue = this.status;
this.status = status;
this.qq_Listeners.firePropertyChange("status", oldValue, this.status);
}
public TextData getStatus() {
return this.status;
}
// -------
// 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 PushButton_Click_getqq_UpdateOnePostCodeBtn = ClientEventManager.register( this.getqq_UpdateOnePostCodeBtn(), "Click" );
EventRegistration PushButton_Click_getqq_UpdateOneAddressBtn = ClientEventManager.register( this.getqq_UpdateOneAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_RemoveOneAddressBtn = ClientEventManager.register( this.getqq_RemoveOneAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_PrintCustomerBtn = ClientEventManager.register( this.getqq_PrintCustomerBtn(), "Click" );
EventRegistration PushButton_Click_getqq_CreatePostCodeBtn = ClientEventManager.register( this.getqq_CreatePostCodeBtn(), "Click" );
EventRegistration PushButton_Click_getqq_CreateCustomerBtn = ClientEventManager.register( this.getqq_CreateCustomerBtn(), "Click" );
EventRegistration PushButton_Click_getqq_CreateAddressBtn = ClientEventManager.register( this.getqq_CreateAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_AddOneAddressBtn = ClientEventManager.register( this.getqq_AddOneAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_CreateOneNewAddressBtn = ClientEventManager.register( this.getqq_CreateOneNewAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_CreateOneNewPostcodeBtn = ClientEventManager.register( this.getqq_CreateOneNewPostcodeBtn(), "Click" );
EventRegistration PushButton_Click_getqq_UpdatePostcodeBtn = ClientEventManager.register( this.getqq_UpdatePostcodeBtn(), "Click" );
EventRegistration PushButton_Click_getqq_UpdateAddressBtn = ClientEventManager.register( this.getqq_UpdateAddressBtn(), "Click" );
EventRegistration PushButton_Click_getqq_ClearBtn = ClientEventManager.register( this.getqq_ClearBtn(), "Click" );
EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// ---------------------------------
// self.<UpdateOnePostCodeBtn>.Click
// ---------------------------------
if (qq_currentEvent.isEvent(PushButton_Click_getqq_UpdateOnePostCodeBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Address anAddress = this.selectOneAddress();
if (anAddress != null) {
Postcode aPostCode = new Postcode().create();
anAddress.getR_Postcode().setCity(aPostCode.getCity());
anAddress.getR_Postcode().setState(aPostCode.getState());
anAddress.getR_Postcode().setPostCodeNumber(aPostCode.getPostCodeNumber());
this.getStatus().concat("Updated postcode to: ").concat(aPostCode.toString()).concat("\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------
// self.<UpdateOneAddressBtn>.Click
// --------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_UpdateOneAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Address anAddress = this.selectOneAddress();
if (anAddress != null) {
Address newAddress = new Address().create();
anAddress.setLine1(newAddress.getLine1());
anAddress.setLine2(newAddress.getLine2());
anAddress.setLine3(newAddress.getLine3());
this.getStatus().concat("Updated Address to: ").concat(newAddress.toString()).concat("\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------
// self.<RemoveOneAddressBtn>.Click
// --------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_RemoveOneAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Address anAddress = this.selectOneAddress();
if (anAddress != null) {
// TODO [1037,Major]: If you are deleting a row inside a loop, use the Iterator in place of the array
this.getACustomer().getL_Address().deleteRow(anAddress);
this.getStatus().concat("Row removed\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------
// self.<PrintCustomerBtn>.Click
// -----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_PrintCustomerBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getStatus().concat(this.getACustomer().toString()).concat("\n");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------
// self.<CreatePostCodeBtn>.Click
// ------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CreatePostCodeBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getACustomer() != null && this.getACustomer().getR_Address() != null) {
Postcode aPostCode = new Postcode().create();
this.getStatus().concat("Created postcode: ").concat(aPostCode.toString()).concat("\n");
this.getACustomer().getR_Address().setR_Postcode(aPostCode);
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------
// self.<CreateCustomerBtn>.Click
// ------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CreateCustomerBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Customer aCustomer = new Customer().create();
this.getStatus().concat("Created customer: ").concat(aCustomer.toString()).concat("\n");
this.setACustomer(aCustomer);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------
// self.<CreateAddressBtn>.Click
// -----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CreateAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getACustomer() != null) {
Address anAddress = new Address().create();
this.getStatus().concat("Created address: ").concat(anAddress.toString()).concat("\n");
this.getACustomer().setR_Address(anAddress);
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------
// self.<AddOneAddressBtn>.Click
// -----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_AddOneAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getACustomer() != null && this.getACustomer().getL_Address() != null) {
Address anAddress = new Address().create();
this.getStatus().concat("Added address: ").concat(anAddress.toString()).concat("\n");
this.getACustomer().getL_Address().add(anAddress);
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------------
// self.<CreateOneNewAddressBtn>.Click
// -----------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CreateOneNewAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Address anAddress = this.selectOneAddress();
if (anAddress != null) {
int row = this.getACustomer().getL_Address().indexOf(anAddress)+1;
anAddress = new Address().create();
this.getStatus().concat("Created new address: ").concat(anAddress.toString()).concat("\n");
this.getACustomer().getL_Address().set(row-1, anAddress);
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------------
// self.<CreateOneNewPostcodeBtn>.Click
// ------------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CreateOneNewPostcodeBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Address anAddress = this.selectOneAddress();
if (anAddress != null) {
Postcode aPostCode = new Postcode().create();
anAddress.setR_Postcode(aPostCode);
this.getStatus().concat("Created new postcode: ").concat(aPostCode.toString()).concat("\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------
// self.<UpdatePostcodeBtn>.Click
// ------------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_UpdatePostcodeBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getACustomer() != null && this.getACustomer().getR_Address() != null) {
Postcode aPostCode = new Postcode().create();
this.getACustomer().getR_Address().getR_Postcode().setCity(aPostCode.getCity());
this.getACustomer().getR_Address().getR_Postcode().setState(aPostCode.getState());
this.getACustomer().getR_Address().getR_Postcode().setPostCodeNumber(aPostCode.getPostCodeNumber());
this.getStatus().concat("Updated postcode to: ").concat(aPostCode.toString()).concat("\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------
// self.<UpdateAddressBtn>.Click
// -----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_UpdateAddressBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getACustomer() != null) {
Address newAddress = new Address().create();
this.getACustomer().getR_Address().setLine1(newAddress.getLine1());
this.getACustomer().getR_Address().setLine2(newAddress.getLine2());
this.getACustomer().getR_Address().setLine3(newAddress.getLine3());
this.getStatus().concat("Updated Address to: ").concat(newAddress.toString()).concat("\n");
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------
// self.<ClearBtn>.Click
// ---------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_ClearBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getStatus().clear();
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------
// task.Shutdown
// -------------
else 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( PushButton_Click_getqq_UpdateOnePostCodeBtn );
EventManager.deregister( PushButton_Click_getqq_UpdateOneAddressBtn );
EventManager.deregister( PushButton_Click_getqq_RemoveOneAddressBtn );
EventManager.deregister( PushButton_Click_getqq_PrintCustomerBtn );
EventManager.deregister( PushButton_Click_getqq_CreatePostCodeBtn );
EventManager.deregister( PushButton_Click_getqq_CreateCustomerBtn );
EventManager.deregister( PushButton_Click_getqq_CreateAddressBtn );
EventManager.deregister( PushButton_Click_getqq_AddOneAddressBtn );
EventManager.deregister( PushButton_Click_getqq_CreateOneNewAddressBtn );
EventManager.deregister( PushButton_Click_getqq_CreateOneNewPostcodeBtn );
EventManager.deregister( PushButton_Click_getqq_UpdatePostcodeBtn );
EventManager.deregister( PushButton_Click_getqq_UpdateAddressBtn );
EventManager.deregister( PushButton_Click_getqq_ClearBtn );
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);
}
}
/**
* selectOneAddress<p>
* <p>
* @return Address
*/
public Address selectOneAddress() {
Random x = new Random();
if (this.getACustomer() != null && this.getACustomer().getL_Address() != null && this.getACustomer().getL_Address().size() > 0) {
int index = (x.nextInt(65536) % this.getACustomer().getL_Address().size())+1;
this.getStatus().concat("Selected row ").concat(index).concat("\n");
return this.getACustomer().getL_Address().get(index-1);
}
return null;
}
// ------------------
// 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_aCustomer_L_Address;
public DataField qq_aCustomer_DOB;
public DataField qq_aCustomer_FirstName;
public DataField qq_aCustomer_L_AddressArray_DateBuilt;
public DataField qq_aCustomer_L_AddressArray_Line1;
public DataField qq_aCustomer_L_AddressArray_Line2;
public DataField qq_aCustomer_L_AddressArray_Line3;
public DataField qq_aCustomer_L_AddressArray_R_Postcode_City;
public DataField qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber;
public DataField qq_aCustomer_R_Address_DateBuilt;
public DataField qq_aCustomer_R_Address_Line1;
public DataField qq_aCustomer_R_Address_Line2;
public DataField qq_aCustomer_R_Address_Line3;
public DataField qq_aCustomer_R_Address_R_Postcode_City;
public DataField qq_aCustomer_R_Address_R_Postcode_PostCodeNumber;
public DataField qq_aCustomer_Surname;
public DropList qq_aCustomer_L_AddressArray_R_Postcode_State;
public DropList qq_aCustomer_R_Address_R_Postcode_State;
public GridField qq_GridField100;
public GridField qq_GridField101;
public GridField qq_GridField105;
public GridField qq_GridField115;
public GridField qq_GridField116;
public GridField qq_GridField98;
public GridField qq_GridField99;
public GridField qq_aCustomer;
public GridField qq_aCustomer_R_Address;
public GridField qq_aCustomer_R_Address_R_Postcode;
public JButton qq_AddOneAddressBtn;
public JButton qq_ClearBtn;
public JButton qq_CreateAddressBtn;
public JButton qq_CreateCustomerBtn;
public JButton qq_CreateOneNewAddressBtn;
public JButton qq_CreateOneNewPostcodeBtn;
public JButton qq_CreatePostCodeBtn;
public JButton qq_PrintCustomerBtn;
public JButton qq_RemoveOneAddressBtn;
public JButton qq_UpdateAddressBtn;
public JButton qq_UpdateOneAddressBtn;
public JButton qq_UpdateOnePostCodeBtn;
public JButton qq_UpdatePostcodeBtn;
public JCheckBox qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo;
public JCheckBox qq_aCustomer_R_Address_R_Postcode_CanLendTo;
public JPanel Form;
public JScrollPane qq_Status_sp;
public JScrollPane qq_aCustomer_L_Address_sp;
public MultiLineTextField qq_Status;
public RadioList qq_aCustomer_L_AddressArray_PropertyType;
public RadioList qq_aCustomer_R_Address_PropertyType;
public TextGraphic qq_CanLendToLbl;
public TextGraphic qq_CityLbl;
public TextGraphic qq_DOBLbl;
public TextGraphic qq_DateBuiltLbl;
public TextGraphic qq_FirstNameLbl;
public TextGraphic qq_Line1Lbl;
public TextGraphic qq_Line2Lbl;
public TextGraphic qq_Line3Lbl;
public TextGraphic qq_NumberLbl;
public TextGraphic qq_StateLbl;
public TextGraphic qq_SurnameLbl;
/**
* qq_FirstNameLbl: transformed from: qqds_TextGraphic
* TagId=102
* isInherited=FALSE
*/
public TextGraphic getqq_FirstNameLbl() {
if (qq_FirstNameLbl == null) {
qq_FirstNameLbl = GraphicFactory.newTextGraphic("First Name:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_FirstNameLbl, mcat);
WidthPolicy.set(qq_FirstNameLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_FirstNameLbl, Constants.SP_NATURAL);
qq_FirstNameLbl.setMinimumSize(new Dimension(61, 16));
}
return qq_FirstNameLbl;
}
public void setqq_FirstNameLbl(TextGraphic value) {
TextGraphic oldValue = qq_FirstNameLbl;
qq_FirstNameLbl = value;
this.qq_Listeners.firePropertyChange("qq_FirstNameLbl", oldValue, value);
}
/**
* qq_aCustomer_FirstName: transformed from: qqds_DataField
* TagId=36
* isInherited=FALSE
*/
public DataField getqq_aCustomer_FirstName() {
if (qq_aCustomer_FirstName == null) {
// Mask type: MK_NONE
qq_aCustomer_FirstName = DataFieldFactory.newDataField("FirstName", 10, Constants.MK_NONE);
qq_aCustomer_FirstName.setOriginalFormatText(null);
qq_aCustomer_FirstName.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_FirstName, "ACustomer.firstName");
WidthPolicy.set(qq_aCustomer_FirstName, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_FirstName, Constants.SP_NATURAL);
qq_aCustomer_FirstName.setMinimumSize(new Dimension(73, 19));
qq_aCustomer_FirstName.setSize(new Dimension(73, 19));
}
return qq_aCustomer_FirstName;
}
public void setqq_aCustomer_FirstName(DataField value) {
DataField oldValue = qq_aCustomer_FirstName;
qq_aCustomer_FirstName = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_FirstName", oldValue, value);
}
/**
* qq_SurnameLbl: transformed from: qqds_TextGraphic
* TagId=103
* isInherited=FALSE
*/
public TextGraphic getqq_SurnameLbl() {
if (qq_SurnameLbl == null) {
qq_SurnameLbl = GraphicFactory.newTextGraphic("Surname:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_SurnameLbl, mcat);
WidthPolicy.set(qq_SurnameLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_SurnameLbl, Constants.SP_NATURAL);
qq_SurnameLbl.setMinimumSize(new Dimension(54, 16));
}
return qq_SurnameLbl;
}
public void setqq_SurnameLbl(TextGraphic value) {
TextGraphic oldValue = qq_SurnameLbl;
qq_SurnameLbl = value;
this.qq_Listeners.firePropertyChange("qq_SurnameLbl", oldValue, value);
}
/**
* qq_aCustomer_Surname: transformed from: qqds_DataField
* TagId=38
* isInherited=FALSE
*/
public DataField getqq_aCustomer_Surname() {
if (qq_aCustomer_Surname == null) {
// Mask type: MK_NONE
qq_aCustomer_Surname = DataFieldFactory.newDataField("Surname", 10, TextData.class, Constants.MK_NONE);
qq_aCustomer_Surname.setOriginalFormatText(null);
qq_aCustomer_Surname.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_Surname, "ACustomer.surname");
WidthPolicy.set(qq_aCustomer_Surname, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_Surname, Constants.SP_NATURAL);
qq_aCustomer_Surname.setMinimumSize(new Dimension(74, 19));
qq_aCustomer_Surname.setSize(new Dimension(74, 19));
}
return qq_aCustomer_Surname;
}
public void setqq_aCustomer_Surname(DataField value) {
DataField oldValue = qq_aCustomer_Surname;
qq_aCustomer_Surname = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_Surname", oldValue, value);
}
/**
* qq_DOBLbl: transformed from: qqds_TextGraphic
* TagId=104
* isInherited=FALSE
*/
public TextGraphic getqq_DOBLbl() {
if (qq_DOBLbl == null) {
qq_DOBLbl = GraphicFactory.newTextGraphic("DOB:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_DOBLbl, mcat);
WidthPolicy.set(qq_DOBLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_DOBLbl, Constants.SP_NATURAL);
qq_DOBLbl.setMinimumSize(new Dimension(32, 16));
}
return qq_DOBLbl;
}
public void setqq_DOBLbl(TextGraphic value) {
TextGraphic oldValue = qq_DOBLbl;
qq_DOBLbl = value;
this.qq_Listeners.firePropertyChange("qq_DOBLbl", oldValue, value);
}
/**
* qq_aCustomer_DOB: transformed from: qqds_DataField
* TagId=40
* isInherited=FALSE
*/
public DataField getqq_aCustomer_DOB() {
if (qq_aCustomer_DOB == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->dd/mm/yyyy<--
qq_aCustomer_DOB = DataFieldFactory.newDataField("DOB", 11, DateTimeData.class);
DateTemplate.set(qq_aCustomer_DOB, "dd/mm/yyyy", DateTimeData.class);
qq_aCustomer_DOB.setOriginalFormatText("dd/mm/yyyy");
qq_aCustomer_DOB.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_DOB, "ACustomer.DOB");
WidthPolicy.set(qq_aCustomer_DOB, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_DOB, Constants.SP_NATURAL);
qq_aCustomer_DOB.setMinimumSize(new Dimension(82, 19));
qq_aCustomer_DOB.setSize(new Dimension(82, 19));
}
return qq_aCustomer_DOB;
}
public void setqq_aCustomer_DOB(DataField value) {
DataField oldValue = qq_aCustomer_DOB;
qq_aCustomer_DOB = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_DOB", oldValue, value);
}
/**
* qq_GridField101: transformed from: qqds_GridField
* TagId=101
* isInherited=FALSE
* In forte this was a 2x3 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_GridField101Properties() {
qq_GridField101.setCellTopMargin(25);
qq_GridField101.setCellBottomMargin(25);
qq_GridField101.setCellLeftMargin(25);
qq_GridField101.setCellRightMargin(25);
qq_GridField101.setCollapsed(true);
qq_GridField101.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField101.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField101.setBackground(null);
}
public GridField getqq_GridField101() {
if (qq_GridField101 == null) {
qq_GridField101 = CompoundFieldFactory.newGridField("qq_GridField101", true);
setqq_GridField101Properties();
qq_GridField101.setMinimumSize(new Dimension(167, 93));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_FirstNameLbl(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_aCustomer_FirstName(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 0; // Column 1
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_SurnameLbl(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 1; // Column 2
qq_gbc3.gridy = 1; // Row 2
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_aCustomer_Surname(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 0; // Column 1
qq_gbc4.gridy = 2; // Row 3
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_DOBLbl(), qq_gbc4 );
GridBagConstraints qq_gbc5 = new GridBagConstraints();
qq_gbc5.gridx = 1; // Column 2
qq_gbc5.gridy = 2; // Row 3
qq_gbc5.weightx = 0;
qq_gbc5.weighty = 0;
qq_gbc5.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc5.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField101.add( getqq_aCustomer_DOB(), qq_gbc5 );
}
return qq_GridField101;
}
public void setqq_GridField101(GridField value) {
GridField oldValue = qq_GridField101;
qq_GridField101 = value;
this.qq_Listeners.firePropertyChange("qq_GridField101", oldValue, value);
}
/**
* qq_Line1Lbl: transformed from: qqds_TextGraphic
* TagId=106
* isInherited=FALSE
*/
public TextGraphic getqq_Line1Lbl() {
if (qq_Line1Lbl == null) {
qq_Line1Lbl = GraphicFactory.newTextGraphic("Line 1:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_Line1Lbl, mcat);
WidthPolicy.set(qq_Line1Lbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_Line1Lbl, Constants.SP_NATURAL);
qq_Line1Lbl.setMinimumSize(new Dimension(39, 16));
}
return qq_Line1Lbl;
}
public void setqq_Line1Lbl(TextGraphic value) {
TextGraphic oldValue = qq_Line1Lbl;
qq_Line1Lbl = value;
this.qq_Listeners.firePropertyChange("qq_Line1Lbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_Line1: transformed from: qqds_DataField
* TagId=44
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_Line1() {
if (qq_aCustomer_R_Address_Line1 == null) {
// Mask type: MK_NONE
qq_aCustomer_R_Address_Line1 = DataFieldFactory.newDataField("Line1", 10, Constants.MK_NONE);
qq_aCustomer_R_Address_Line1.setOriginalFormatText(null);
qq_aCustomer_R_Address_Line1.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_Line1, "ACustomer.r_Address.line1");
WidthPolicy.set(qq_aCustomer_R_Address_Line1, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_Line1, Constants.SP_NATURAL);
qq_aCustomer_R_Address_Line1.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_R_Address_Line1.setSize(new Dimension(78, 19));
}
return qq_aCustomer_R_Address_Line1;
}
public void setqq_aCustomer_R_Address_Line1(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_Line1;
qq_aCustomer_R_Address_Line1 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_Line1", oldValue, value);
}
/**
* qq_Line2Lbl: transformed from: qqds_TextGraphic
* TagId=107
* isInherited=FALSE
*/
public TextGraphic getqq_Line2Lbl() {
if (qq_Line2Lbl == null) {
qq_Line2Lbl = GraphicFactory.newTextGraphic("Line 2:\n", "");
qq_Line2Lbl.setHorizontalAlignment( SwingConstants.LEFT );
// OPTIONAL UIutils.reloadLabelText(qq_Line2Lbl, mcat);
WidthPolicy.set(qq_Line2Lbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_Line2Lbl, Constants.SP_NATURAL);
qq_Line2Lbl.setMinimumSize(new Dimension(39, 16));
}
return qq_Line2Lbl;
}
public void setqq_Line2Lbl(TextGraphic value) {
TextGraphic oldValue = qq_Line2Lbl;
qq_Line2Lbl = value;
this.qq_Listeners.firePropertyChange("qq_Line2Lbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_Line2: transformed from: qqds_DataField
* TagId=46
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_Line2() {
if (qq_aCustomer_R_Address_Line2 == null) {
// Mask type: MK_NONE
qq_aCustomer_R_Address_Line2 = DataFieldFactory.newDataField("Line2", 10, Constants.MK_NONE);
qq_aCustomer_R_Address_Line2.setOriginalFormatText(null);
qq_aCustomer_R_Address_Line2.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_Line2, "ACustomer.r_Address.line2");
WidthPolicy.set(qq_aCustomer_R_Address_Line2, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_Line2, Constants.SP_NATURAL);
qq_aCustomer_R_Address_Line2.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_R_Address_Line2.setSize(new Dimension(78, 19));
}
return qq_aCustomer_R_Address_Line2;
}
public void setqq_aCustomer_R_Address_Line2(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_Line2;
qq_aCustomer_R_Address_Line2 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_Line2", oldValue, value);
}
/**
* qq_Line3Lbl: transformed from: qqds_TextGraphic
* TagId=108
* isInherited=FALSE
*/
public TextGraphic getqq_Line3Lbl() {
if (qq_Line3Lbl == null) {
qq_Line3Lbl = GraphicFactory.newTextGraphic("Line 3:\n", "");
qq_Line3Lbl.setHorizontalAlignment( SwingConstants.LEFT );
// OPTIONAL UIutils.reloadLabelText(qq_Line3Lbl, mcat);
WidthPolicy.set(qq_Line3Lbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_Line3Lbl, Constants.SP_NATURAL);
qq_Line3Lbl.setMinimumSize(new Dimension(39, 16));
}
return qq_Line3Lbl;
}
public void setqq_Line3Lbl(TextGraphic value) {
TextGraphic oldValue = qq_Line3Lbl;
qq_Line3Lbl = value;
this.qq_Listeners.firePropertyChange("qq_Line3Lbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_Line3: transformed from: qqds_DataField
* TagId=48
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_Line3() {
if (qq_aCustomer_R_Address_Line3 == null) {
// Mask type: MK_NONE
qq_aCustomer_R_Address_Line3 = DataFieldFactory.newDataField("Line3", 10, Constants.MK_NONE);
qq_aCustomer_R_Address_Line3.setOriginalFormatText(null);
qq_aCustomer_R_Address_Line3.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_Line3, "ACustomer.r_Address.line3");
WidthPolicy.set(qq_aCustomer_R_Address_Line3, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_Line3, Constants.SP_NATURAL);
qq_aCustomer_R_Address_Line3.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_R_Address_Line3.setSize(new Dimension(78, 19));
}
return qq_aCustomer_R_Address_Line3;
}
public void setqq_aCustomer_R_Address_Line3(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_Line3;
qq_aCustomer_R_Address_Line3 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_Line3", oldValue, value);
}
/**
* qq_aCustomer_R_Address_PropertyType: transformed from: qqds_RadioList
* TagId=109
* isInherited=FALSE
*/
public RadioList getqq_aCustomer_R_Address_PropertyType() {
if (qq_aCustomer_R_Address_PropertyType == null) {
String[] names = {"Residential", "Commercial"};
qq_aCustomer_R_Address_PropertyType = ListFieldFactory.newRadioList(Constants.FO_VERTICAL, "", names, 1, Constants.LP_CONSTANT);
Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
elements.add( new ListElement( 1, names[0], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 2, names[1], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
qq_aCustomer_R_Address_PropertyType.setName("PropertyType");
getBindingManager().bindComponent(qq_aCustomer_R_Address_PropertyType, "ACustomer.r_Address.propertyType", elements);
if (qq_aCustomer_R_Address_PropertyType.getSelectedIndex() == -1)
qq_aCustomer_R_Address_PropertyType.setSelectedIndex(0);
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_R_Address_PropertyType, mcat);
}
return qq_aCustomer_R_Address_PropertyType;
}
public void setqq_aCustomer_R_Address_PropertyType(RadioList value) {
RadioList oldValue = qq_aCustomer_R_Address_PropertyType;
qq_aCustomer_R_Address_PropertyType = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_PropertyType", oldValue, value);
}
/**
* qq_DateBuiltLbl: transformed from: qqds_TextGraphic
* TagId=121
* isInherited=FALSE
*/
public TextGraphic getqq_DateBuiltLbl() {
if (qq_DateBuiltLbl == null) {
qq_DateBuiltLbl = GraphicFactory.newTextGraphic("Date Built:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_DateBuiltLbl, mcat);
WidthPolicy.set(qq_DateBuiltLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_DateBuiltLbl, Constants.SP_NATURAL);
qq_DateBuiltLbl.setMinimumSize(new Dimension(56, 16));
}
return qq_DateBuiltLbl;
}
public void setqq_DateBuiltLbl(TextGraphic value) {
TextGraphic oldValue = qq_DateBuiltLbl;
qq_DateBuiltLbl = value;
this.qq_Listeners.firePropertyChange("qq_DateBuiltLbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_DateBuilt: transformed from: qqds_DataField
* TagId=122
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_DateBuilt() {
if (qq_aCustomer_R_Address_DateBuilt == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->dd/mm/yyyy<--
qq_aCustomer_R_Address_DateBuilt = DataFieldFactory.newDataField("DateBuilt", 9, DateTimeNullable.class);
DateTemplate.set(qq_aCustomer_R_Address_DateBuilt, "dd/mm/yyyy", DateTimeNullable.class);
qq_aCustomer_R_Address_DateBuilt.setOriginalFormatText("dd/mm/yyyy");
qq_aCustomer_R_Address_DateBuilt.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_DateBuilt, "ACustomer.r_Address.dateBuilt");
WidthPolicy.set(qq_aCustomer_R_Address_DateBuilt, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_DateBuilt, Constants.SP_NATURAL);
qq_aCustomer_R_Address_DateBuilt.setMinimumSize(new Dimension(70, 19));
qq_aCustomer_R_Address_DateBuilt.setSize(new Dimension(70, 19));
}
return qq_aCustomer_R_Address_DateBuilt;
}
public void setqq_aCustomer_R_Address_DateBuilt(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_DateBuilt;
qq_aCustomer_R_Address_DateBuilt = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_DateBuilt", oldValue, value);
}
/**
* qq_GridField105: transformed from: qqds_GridField
* TagId=105
* isInherited=FALSE
* In forte this was a 2x5 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_GridField105Properties() {
qq_GridField105.setCellTopMargin(25);
qq_GridField105.setCellBottomMargin(25);
qq_GridField105.setCellLeftMargin(25);
qq_GridField105.setCellRightMargin(25);
qq_GridField105.setCollapsed(true);
qq_GridField105.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField105.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField105.setBackground(null);
}
public GridField getqq_GridField105() {
if (qq_GridField105 == null) {
qq_GridField105 = CompoundFieldFactory.newGridField("qq_GridField105", true);
setqq_GridField105Properties();
qq_GridField105.setMinimumSize(new Dimension(166, 187));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_Line1Lbl(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_aCustomer_R_Address_Line1(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 0; // Column 1
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_Line2Lbl(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 1; // Column 2
qq_gbc3.gridy = 1; // Row 2
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_aCustomer_R_Address_Line2(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 0; // Column 1
qq_gbc4.gridy = 2; // Row 3
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_Line3Lbl(), qq_gbc4 );
GridBagConstraints qq_gbc5 = new GridBagConstraints();
qq_gbc5.gridx = 1; // Column 2
qq_gbc5.gridy = 2; // Row 3
qq_gbc5.weightx = 0;
qq_gbc5.weighty = 0;
qq_gbc5.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc5.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_aCustomer_R_Address_Line3(), qq_gbc5 );
GridBagConstraints qq_gbc6 = new GridBagConstraints();
qq_gbc6.gridx = 0; // Column 1
qq_gbc6.gridy = 3; // Row 4
qq_gbc6.weightx = 0;
qq_gbc6.weighty = 0;
qq_gbc6.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc6.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc6.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_DateBuiltLbl(), qq_gbc6 );
GridBagConstraints qq_gbc7 = new GridBagConstraints();
qq_gbc7.gridx = 1; // Column 2
qq_gbc7.gridy = 3; // Row 4
qq_gbc7.weightx = 0;
qq_gbc7.weighty = 0;
qq_gbc7.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc7.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc7.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_aCustomer_R_Address_DateBuilt(), qq_gbc7 );
GridBagConstraints qq_gbc8 = new GridBagConstraints();
qq_gbc8.gridx = 1; // Column 2
qq_gbc8.gridy = 4; // Row 5
qq_gbc8.weightx = 0;
qq_gbc8.weighty = 0;
qq_gbc8.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc8.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc8.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField105.add( getqq_aCustomer_R_Address_PropertyType(), qq_gbc8 );
}
return qq_GridField105;
}
public void setqq_GridField105(GridField value) {
GridField oldValue = qq_GridField105;
qq_GridField105 = value;
this.qq_Listeners.firePropertyChange("qq_GridField105", oldValue, value);
}
/**
* qq_CityLbl: transformed from: qqds_TextGraphic
* TagId=110
* isInherited=FALSE
*/
public TextGraphic getqq_CityLbl() {
if (qq_CityLbl == null) {
qq_CityLbl = GraphicFactory.newTextGraphic("City:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_CityLbl, mcat);
WidthPolicy.set(qq_CityLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_CityLbl, Constants.SP_NATURAL);
qq_CityLbl.setMinimumSize(new Dimension(29, 16));
}
return qq_CityLbl;
}
public void setqq_CityLbl(TextGraphic value) {
TextGraphic oldValue = qq_CityLbl;
qq_CityLbl = value;
this.qq_Listeners.firePropertyChange("qq_CityLbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_R_Postcode_City: transformed from: qqds_DataField
* TagId=51
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_R_Postcode_City() {
if (qq_aCustomer_R_Address_R_Postcode_City == null) {
// Mask type: MK_NONE
qq_aCustomer_R_Address_R_Postcode_City = DataFieldFactory.newDataField("City", 10, Constants.MK_NONE);
qq_aCustomer_R_Address_R_Postcode_City.setOriginalFormatText(null);
qq_aCustomer_R_Address_R_Postcode_City.setHorizontalAlignment(JTextField.LEFT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_R_Postcode_City, "ACustomer.r_Address.r_Postcode.city");
WidthPolicy.set(qq_aCustomer_R_Address_R_Postcode_City, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_R_Postcode_City, Constants.SP_NATURAL);
qq_aCustomer_R_Address_R_Postcode_City.setMinimumSize(new Dimension(79, 19));
qq_aCustomer_R_Address_R_Postcode_City.setSize(new Dimension(79, 19));
}
return qq_aCustomer_R_Address_R_Postcode_City;
}
public void setqq_aCustomer_R_Address_R_Postcode_City(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_R_Postcode_City;
qq_aCustomer_R_Address_R_Postcode_City = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_R_Postcode_City", oldValue, value);
}
/**
* qq_StateLbl: transformed from: qqds_TextGraphic
* TagId=111
* isInherited=FALSE
*/
public TextGraphic getqq_StateLbl() {
if (qq_StateLbl == null) {
qq_StateLbl = GraphicFactory.newTextGraphic("State:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_StateLbl, mcat);
WidthPolicy.set(qq_StateLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_StateLbl, Constants.SP_NATURAL);
qq_StateLbl.setMinimumSize(new Dimension(36, 16));
}
return qq_StateLbl;
}
public void setqq_StateLbl(TextGraphic value) {
TextGraphic oldValue = qq_StateLbl;
qq_StateLbl = value;
this.qq_Listeners.firePropertyChange("qq_StateLbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_R_Postcode_State: transformed from: qqds_DropList
* TagId=53
* isInherited=FALSE
*/
public DropList getqq_aCustomer_R_Address_R_Postcode_State() {
if (qq_aCustomer_R_Address_R_Postcode_State == null) {
Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
elements.add( new ListElement( 1, "NSW", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 2, "ACT", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 3, "WA", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 4, "NT", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 5, "QLD", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
qq_aCustomer_R_Address_R_Postcode_State = DropFillinFactory.newDropList();
qq_aCustomer_R_Address_R_Postcode_State.setName("State");
getBindingManager().bindComponent(qq_aCustomer_R_Address_R_Postcode_State, "ACustomer.r_Address.r_Postcode.state", elements);
qq_aCustomer_R_Address_R_Postcode_State.addActionListener( (DropListModel)qq_aCustomer_R_Address_R_Postcode_State.getModel() );
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_R_Address_R_Postcode_State, mcat);
qq_aCustomer_R_Address_R_Postcode_State.setMaximumRowCount(4);
WidthPolicy.set(qq_aCustomer_R_Address_R_Postcode_State, Constants.SP_NATURAL);
HeightPolicy.set(qq_aCustomer_R_Address_R_Postcode_State, Constants.SP_NATURAL);
qq_aCustomer_R_Address_R_Postcode_State.setMinimumSize(new Dimension(59, 19));
}
return qq_aCustomer_R_Address_R_Postcode_State;
}
public void setqq_aCustomer_R_Address_R_Postcode_State(DropList value) {
DropList oldValue = qq_aCustomer_R_Address_R_Postcode_State;
qq_aCustomer_R_Address_R_Postcode_State = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_R_Postcode_State", oldValue, value);
}
/**
* qq_NumberLbl: transformed from: qqds_TextGraphic
* TagId=112
* isInherited=FALSE
*/
public TextGraphic getqq_NumberLbl() {
if (qq_NumberLbl == null) {
qq_NumberLbl = GraphicFactory.newTextGraphic("Number:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_NumberLbl, mcat);
WidthPolicy.set(qq_NumberLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_NumberLbl, Constants.SP_NATURAL);
qq_NumberLbl.setMinimumSize(new Dimension(49, 16));
}
return qq_NumberLbl;
}
public void setqq_NumberLbl(TextGraphic value) {
TextGraphic oldValue = qq_NumberLbl;
qq_NumberLbl = value;
this.qq_Listeners.firePropertyChange("qq_NumberLbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_R_Postcode_PostCodeNumber: transformed from: qqds_DataField
* TagId=55
* isInherited=FALSE
*/
public DataField getqq_aCustomer_R_Address_R_Postcode_PostCodeNumber() {
if (qq_aCustomer_R_Address_R_Postcode_PostCodeNumber == null) {
// Mask type: MK_NONE
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber = DataFieldFactory.newDataField("PostCodeNumber", 11, Constants.MK_NONE);
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber.setValue(new Integer(0));
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber.setOriginalFormatText(null);
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber.setHorizontalAlignment(JTextField.RIGHT);
getBindingManager().bindComponent(qq_aCustomer_R_Address_R_Postcode_PostCodeNumber, "ACustomer.r_Address.r_Postcode.postCodeNumber");
WidthPolicy.set(qq_aCustomer_R_Address_R_Postcode_PostCodeNumber, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_R_Address_R_Postcode_PostCodeNumber, Constants.SP_NATURAL);
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber.setMinimumSize(new Dimension(80, 19));
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber.setSize(new Dimension(80, 19));
}
return qq_aCustomer_R_Address_R_Postcode_PostCodeNumber;
}
public void setqq_aCustomer_R_Address_R_Postcode_PostCodeNumber(DataField value) {
DataField oldValue = qq_aCustomer_R_Address_R_Postcode_PostCodeNumber;
qq_aCustomer_R_Address_R_Postcode_PostCodeNumber = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_R_Postcode_PostCodeNumber", oldValue, value);
}
/**
* qq_aCustomer_R_Address_R_Postcode_CanLendTo: transformed from: qqds_ToggleField
* TagId=117
* isInherited=FALSE
*/
public JCheckBox getqq_aCustomer_R_Address_R_Postcode_CanLendTo() {
if (qq_aCustomer_R_Address_R_Postcode_CanLendTo == null) {
qq_aCustomer_R_Address_R_Postcode_CanLendTo = ToggleFieldFactory.newToggleField("", "CanLendTo");
getBindingManager().bindComponent(qq_aCustomer_R_Address_R_Postcode_CanLendTo, "ACustomer.r_Address.r_Postcode.canLendTo");
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_R_Address_R_Postcode_CanLendTo, mcat);
}
return qq_aCustomer_R_Address_R_Postcode_CanLendTo;
}
public void setqq_aCustomer_R_Address_R_Postcode_CanLendTo(JCheckBox value) {
JCheckBox oldValue = qq_aCustomer_R_Address_R_Postcode_CanLendTo;
qq_aCustomer_R_Address_R_Postcode_CanLendTo = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_R_Postcode_CanLendTo", oldValue, value);
}
/**
* qq_CanLendToLbl: transformed from: qqds_TextGraphic
* TagId=118
* isInherited=FALSE
*/
public TextGraphic getqq_CanLendToLbl() {
if (qq_CanLendToLbl == null) {
qq_CanLendToLbl = GraphicFactory.newTextGraphic("Can lend to:\n", "");
// OPTIONAL UIutils.reloadLabelText(qq_CanLendToLbl, mcat);
WidthPolicy.set(qq_CanLendToLbl, Constants.SP_NATURAL);
HeightPolicy.set(qq_CanLendToLbl, Constants.SP_NATURAL);
qq_CanLendToLbl.setMinimumSize(new Dimension(66, 16));
}
return qq_CanLendToLbl;
}
public void setqq_CanLendToLbl(TextGraphic value) {
TextGraphic oldValue = qq_CanLendToLbl;
qq_CanLendToLbl = value;
this.qq_Listeners.firePropertyChange("qq_CanLendToLbl", oldValue, value);
}
/**
* qq_aCustomer_R_Address_R_Postcode: transformed from: qqds_GridField
* TagId=49
* isInherited=FALSE
* In forte this was a 2x4 grid field, displaying a Postcode object.
* 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_aCustomer_R_Address_R_PostcodeProperties() {
Caption.set(qq_aCustomer_R_Address_R_Postcode, "R_Postcode");
FrameWeight.set(qq_aCustomer_R_Address_R_Postcode, Constants.W_DEFAULT);
qq_aCustomer_R_Address_R_Postcode.setCellTopMargin(25);
qq_aCustomer_R_Address_R_Postcode.setCellBottomMargin(25);
qq_aCustomer_R_Address_R_Postcode.setCellLeftMargin(25);
qq_aCustomer_R_Address_R_Postcode.setCellRightMargin(25);
qq_aCustomer_R_Address_R_Postcode.setCollapsed(true);
qq_aCustomer_R_Address_R_Postcode.setHeightPolicy(Constants.SP_NATURAL);
qq_aCustomer_R_Address_R_Postcode.setWidthPolicy(Constants.SP_NATURAL);
qq_aCustomer_R_Address_R_Postcode.setBackground(null);
}
public GridField getqq_aCustomer_R_Address_R_Postcode() {
if (qq_aCustomer_R_Address_R_Postcode == null) {
qq_aCustomer_R_Address_R_Postcode = CompoundFieldFactory.newGridField("R_Postcode", false);
getBindingManager().bindComponent(qq_aCustomer_R_Address_R_Postcode, "ACustomer.r_Address.r_Postcode");
setqq_aCustomer_R_Address_R_PostcodeProperties();
qq_aCustomer_R_Address_R_Postcode.setMinimumSize(new Dimension(170, 136));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_CityLbl(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_aCustomer_R_Address_R_Postcode_City(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 0; // Column 1
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_StateLbl(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 1; // Column 2
qq_gbc3.gridy = 1; // Row 2
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_aCustomer_R_Address_R_Postcode_State(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 0; // Column 1
qq_gbc4.gridy = 2; // Row 3
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_NumberLbl(), qq_gbc4 );
GridBagConstraints qq_gbc5 = new GridBagConstraints();
qq_gbc5.gridx = 1; // Column 2
qq_gbc5.gridy = 2; // Row 3
qq_gbc5.weightx = 0;
qq_gbc5.weighty = 0;
qq_gbc5.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc5.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_aCustomer_R_Address_R_Postcode_PostCodeNumber(), qq_gbc5 );
GridBagConstraints qq_gbc6 = new GridBagConstraints();
qq_gbc6.gridx = 0; // Column 1
qq_gbc6.gridy = 3; // Row 4
qq_gbc6.weightx = 0;
qq_gbc6.weighty = 0;
qq_gbc6.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc6.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc6.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_CanLendToLbl(), qq_gbc6 );
GridBagConstraints qq_gbc7 = new GridBagConstraints();
qq_gbc7.gridx = 1; // Column 2
qq_gbc7.gridy = 3; // Row 4
qq_gbc7.weightx = 0;
qq_gbc7.weighty = 0;
qq_gbc7.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc7.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc7.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address_R_Postcode.add( getqq_aCustomer_R_Address_R_Postcode_CanLendTo(), qq_gbc7 );
}
return qq_aCustomer_R_Address_R_Postcode;
}
public void setqq_aCustomer_R_Address_R_Postcode(GridField value) {
GridField oldValue = qq_aCustomer_R_Address_R_Postcode;
qq_aCustomer_R_Address_R_Postcode = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address_R_Postcode", oldValue, value);
}
/**
* qq_aCustomer_R_Address: transformed from: qqds_GridField
* TagId=41
* isInherited=FALSE
* In forte this was a 2x1 grid field, displaying a Address object.
* 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_aCustomer_R_AddressProperties() {
Caption.set(qq_aCustomer_R_Address, "R_Address");
FrameWeight.set(qq_aCustomer_R_Address, Constants.W_DEFAULT);
qq_aCustomer_R_Address.setCellTopMargin(25);
qq_aCustomer_R_Address.setCellBottomMargin(25);
qq_aCustomer_R_Address.setCellLeftMargin(25);
qq_aCustomer_R_Address.setCellRightMargin(25);
qq_aCustomer_R_Address.setCollapsed(true);
qq_aCustomer_R_Address.setHeightPolicy(Constants.SP_NATURAL);
qq_aCustomer_R_Address.setWidthPolicy(Constants.SP_NATURAL);
qq_aCustomer_R_Address.setBackground(null);
}
public GridField getqq_aCustomer_R_Address() {
if (qq_aCustomer_R_Address == null) {
qq_aCustomer_R_Address = CompoundFieldFactory.newGridField("R_Address", false);
getBindingManager().bindComponent(qq_aCustomer_R_Address, "ACustomer.r_Address");
setqq_aCustomer_R_AddressProperties();
qq_aCustomer_R_Address.setMinimumSize(new Dimension(360, 212));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address.add( getqq_GridField105(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer_R_Address.add( getqq_aCustomer_R_Address_R_Postcode(), qq_gbc1 );
}
return qq_aCustomer_R_Address;
}
public void setqq_aCustomer_R_Address(GridField value) {
GridField oldValue = qq_aCustomer_R_Address;
qq_aCustomer_R_Address = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_R_Address", oldValue, value);
}
/**
* qq_GridField100: transformed from: qqds_GridField
* TagId=100
* isInherited=FALSE
* In forte this was a 2x1 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_GridField100Properties() {
qq_GridField100.setCollapsed(true);
qq_GridField100.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField100.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField100.setBackground(null);
}
public GridField getqq_GridField100() {
if (qq_GridField100 == null) {
qq_GridField100 = CompoundFieldFactory.newGridField("qq_GridField100", true);
setqq_GridField100Properties();
qq_GridField100.setMinimumSize(new Dimension(531, 216));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField100.add( getqq_GridField101(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField100.add( getqq_aCustomer_R_Address(), qq_gbc1 );
}
return qq_GridField100;
}
public void setqq_GridField100(GridField value) {
GridField oldValue = qq_GridField100;
qq_GridField100 = value;
this.qq_Listeners.firePropertyChange("qq_GridField100", oldValue, value);
}
/**
* qq_aCustomer_L_Address_sp: transformed from: qqds_ArrayField
* TagId=68
* isInherited=FALSE
*/
public JScrollPane getqq_aCustomer_L_Address_sp() {
if (qq_aCustomer_L_Address_sp == null) {
qq_aCustomer_L_Address_sp = CompoundFieldFactory.newScrollPane();
qq_aCustomer_L_Address_sp.setName("L_Address");
qq_aCustomer_L_Address_sp.setViewportView(getqq_aCustomer_L_Address());
qq_aCustomer_L_Address_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
qq_aCustomer_L_Address_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
qq_aCustomer_L_Address_sp.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1));
qq_aCustomer_L_Address_sp.setBackground(null);
qq_aCustomer_L_Address_sp.getViewport().setBackground(null);
FrameColor.set(qq_aCustomer_L_Address_sp, Constants.C_INHERIT);
WidthPolicy.set(qq_aCustomer_L_Address_sp, Constants.SP_NATURAL);
HeightPolicy.set(qq_aCustomer_L_Address_sp, Constants.SP_NATURAL);
// OPTIONAL qq_aCustomer_L_Address_sp.setSize(new Dimension(689, 211));
qq_aCustomer_L_Address_sp.setMinimumSize(new Dimension(689, 211));
qq_aCustomer_L_Address_sp.setPreferredSize(new Dimension(689, 211));
}
return qq_aCustomer_L_Address_sp;
}
public void setqq_aCustomer_L_Address_sp(JScrollPane value) {
JScrollPane oldValue = qq_aCustomer_L_Address_sp;
qq_aCustomer_L_Address_sp = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_Address_sp", oldValue, value);
}
/**
* qq_aCustomer_L_Address: transformed from: qqds_ArrayField
* TagId=68
* isInherited=FALSE
*/
public ArrayField getqq_aCustomer_L_Address() {
if (qq_aCustomer_L_Address == null) {
qq_aCustomer_L_Address = TableFactory.newArrayField("L_Address", 36);
this.getBindingManager().bindComponent(qq_aCustomer_L_Address, "ACustomer.l_Address", Address.class,
new String[] { "line1",
"line2",
"line3",
"propertyType",
"dateBuilt",
"r_Postcode.city",
"r_Postcode.state",
"r_Postcode.canLendTo",
"r_Postcode.postCodeNumber" });
qq_aCustomer_L_Address.setVisibleRows(5);
((ArrayFieldModel)qq_aCustomer_L_Address.getModel()).setAllowsAppend(true);
// === Column model setup ===
// Line1 converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_Line1_Column = new ArrayColumn("Line1", 0, 78, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_Line1()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_Line1()), true);
qq_aCustomer_L_AddressArray_Line1_Column.setHeaderValue("Line1");
qq_aCustomer_L_AddressArray_Line1_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_Line1_Column);
// Line2 converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_Line2_Column = new ArrayColumn("Line2", 1, 78, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_Line2()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_Line2()), true);
qq_aCustomer_L_AddressArray_Line2_Column.setHeaderValue("Line2");
qq_aCustomer_L_AddressArray_Line2_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_Line2_Column);
// Line3 converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_Line3_Column = new ArrayColumn("Line3", 2, 78, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_Line3()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_Line3()), true);
qq_aCustomer_L_AddressArray_Line3_Column.setHeaderValue("Line3");
qq_aCustomer_L_AddressArray_Line3_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_Line3_Column);
// PropertyType converted from qqds_RadioList
ArrayColumn qq_aCustomer_L_AddressArray_PropertyType_Column = new ArrayColumn("PropertyType", 3, 64, new RadioListCellRenderer(getqq_aCustomer_L_AddressArray_PropertyType()), new RadioListCellEditor(getqq_aCustomer_L_AddressArray_PropertyType()), true);
qq_aCustomer_L_AddressArray_PropertyType_Column.setHeaderValue("Prop Type");
qq_aCustomer_L_AddressArray_PropertyType_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_PropertyType_Column);
// DateBuilt converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_DateBuilt_Column = new ArrayColumn("DateBuilt", 4, 70, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_DateBuilt()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_DateBuilt()), true);
qq_aCustomer_L_AddressArray_DateBuilt_Column.setHeaderValue("DateBuilt");
qq_aCustomer_L_AddressArray_DateBuilt_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_DateBuilt_Column);
// R_Postcode.City converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_R_Postcode_City_Column = new ArrayColumn("R_Postcode.City", 5, 79, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_R_Postcode_City()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_R_Postcode_City()), true);
qq_aCustomer_L_AddressArray_R_Postcode_City_Column.setHeaderValue("City");
qq_aCustomer_L_AddressArray_R_Postcode_City_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_R_Postcode_City_Column);
// R_Postcode.State converted from qqds_DropList
ArrayColumn qq_aCustomer_L_AddressArray_R_Postcode_State_Column = new ArrayColumn("R_Postcode.State", 6, getqq_aCustomer_L_AddressArray_R_Postcode_State().getMinimumSize().width, new ComboBoxCellRenderer(getqq_aCustomer_L_AddressArray_R_Postcode_State()), DropFillinFactory.newDropListEditor(getqq_aCustomer_L_AddressArray_R_Postcode_State()), true);
qq_aCustomer_L_AddressArray_R_Postcode_State_Column.setHeaderValue("State");
qq_aCustomer_L_AddressArray_R_Postcode_State_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_R_Postcode_State_Column);
// R_Postcode.CanLendTo converted from qqds_ToggleField
ArrayColumn qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo_Column = new ArrayColumn("R_Postcode.CanLendTo", 7, 68, new CheckBoxCellRenderer(getqq_aCustomer_L_AddressArray_R_Postcode_CanLendTo()), new CheckBoxCellEditor(getqq_aCustomer_L_AddressArray_R_Postcode_CanLendTo()), true);
qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo_Column.setHeaderValue("Can Lend To");
qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo_Column);
// R_Postcode.PostCodeNumber converted from qqds_DataField
ArrayColumn qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber_Column = new ArrayColumn("R_Postcode.PostCodeNumber", 8, 80, new FormattedCellRenderer(getqq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber()), new FormattedCellEditor(getqq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber()), true);
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber_Column.setHeaderValue("PostCodeNumber");
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber_Column.setVisible(true);
qq_aCustomer_L_Address.addColumn(qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber_Column);
// === End column model ===
TableFactory.postModelArrayField(qq_aCustomer_L_Address);
}
return qq_aCustomer_L_Address;
}
public void setqq_aCustomer_L_Address(ArrayField value) {
ArrayField oldValue = qq_aCustomer_L_Address;
qq_aCustomer_L_Address = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_Address", oldValue, value);
}
/**
* qq_aCustomer: transformed from: qqds_GridField
* TagId=33
* isInherited=FALSE
* In forte this was a 1x2 grid field, displaying a Customer object.
* 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_aCustomerProperties() {
Caption.set(qq_aCustomer, "aCustomer");
FrameWeight.set(qq_aCustomer, Constants.W_DEFAULT);
qq_aCustomer.setCellTopMargin(25);
qq_aCustomer.setCellBottomMargin(25);
qq_aCustomer.setCellLeftMargin(25);
qq_aCustomer.setCellRightMargin(25);
qq_aCustomer.setCollapsed(true);
qq_aCustomer.setHeightPolicy(Constants.SP_NATURAL);
qq_aCustomer.setWidthPolicy(Constants.SP_NATURAL);
qq_aCustomer.setBackground(null);
}
public GridField getqq_aCustomer() {
if (qq_aCustomer == null) {
qq_aCustomer = CompoundFieldFactory.newGridField("aCustomer", false);
getBindingManager().bindComponent(qq_aCustomer, "ACustomer");
setqq_aCustomerProperties();
qq_aCustomer.setMinimumSize(new Dimension(702, 463));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer.add( getqq_GridField100(), 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.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_aCustomer.add( getqq_aCustomer_L_Address_sp(), qq_gbc1 );
}
return qq_aCustomer;
}
public void setqq_aCustomer(GridField value) {
GridField oldValue = qq_aCustomer;
qq_aCustomer = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer", oldValue, value);
}
/**
* qq_CreateCustomerBtn: transformed from: qqds_PushButton
* TagId=85
* isInherited=FALSE
*/
public JButton getqq_CreateCustomerBtn() {
if (qq_CreateCustomerBtn == null) {
qq_CreateCustomerBtn = PushButtonFactory.newInstance("CreateCustomerBtn", "Create Customer");
qq_CreateCustomerBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_CreateCustomerBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_CreateCustomerBtn, Constants.SP_TO_PARENT);
qq_CreateCustomerBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_CreateCustomerBtn;
}
public void setqq_CreateCustomerBtn(JButton value) {
JButton oldValue = qq_CreateCustomerBtn;
qq_CreateCustomerBtn = value;
this.qq_Listeners.firePropertyChange("qq_CreateCustomerBtn", oldValue, value);
}
/**
* qq_CreateAddressBtn: transformed from: qqds_PushButton
* TagId=86
* isInherited=FALSE
*/
public JButton getqq_CreateAddressBtn() {
if (qq_CreateAddressBtn == null) {
qq_CreateAddressBtn = PushButtonFactory.newInstance("CreateAddressBtn", "Create Address");
qq_CreateAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_CreateAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_CreateAddressBtn, Constants.SP_TO_PARENT);
qq_CreateAddressBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_CreateAddressBtn;
}
public void setqq_CreateAddressBtn(JButton value) {
JButton oldValue = qq_CreateAddressBtn;
qq_CreateAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_CreateAddressBtn", oldValue, value);
}
/**
* qq_UpdateAddressBtn: transformed from: qqds_PushButton
* TagId=94
* isInherited=FALSE
*/
public JButton getqq_UpdateAddressBtn() {
if (qq_UpdateAddressBtn == null) {
qq_UpdateAddressBtn = PushButtonFactory.newInstance("UpdateAddressBtn", "Update Address");
qq_UpdateAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_UpdateAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_UpdateAddressBtn, Constants.SP_TO_PARENT);
qq_UpdateAddressBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_UpdateAddressBtn;
}
public void setqq_UpdateAddressBtn(JButton value) {
JButton oldValue = qq_UpdateAddressBtn;
qq_UpdateAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_UpdateAddressBtn", oldValue, value);
}
/**
* qq_CreatePostCodeBtn: transformed from: qqds_PushButton
* TagId=87
* isInherited=FALSE
*/
public JButton getqq_CreatePostCodeBtn() {
if (qq_CreatePostCodeBtn == null) {
qq_CreatePostCodeBtn = PushButtonFactory.newInstance("CreatePostCodeBtn", "CreatePostCode");
qq_CreatePostCodeBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_CreatePostCodeBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_CreatePostCodeBtn, Constants.SP_TO_PARENT);
qq_CreatePostCodeBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_CreatePostCodeBtn;
}
public void setqq_CreatePostCodeBtn(JButton value) {
JButton oldValue = qq_CreatePostCodeBtn;
qq_CreatePostCodeBtn = value;
this.qq_Listeners.firePropertyChange("qq_CreatePostCodeBtn", oldValue, value);
}
/**
* qq_UpdatePostcodeBtn: transformed from: qqds_PushButton
* TagId=95
* isInherited=FALSE
*/
public JButton getqq_UpdatePostcodeBtn() {
if (qq_UpdatePostcodeBtn == null) {
qq_UpdatePostcodeBtn = PushButtonFactory.newInstance("UpdatePostcodeBtn", "Update Postcode");
qq_UpdatePostcodeBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_UpdatePostcodeBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_UpdatePostcodeBtn, Constants.SP_TO_PARENT);
qq_UpdatePostcodeBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_UpdatePostcodeBtn;
}
public void setqq_UpdatePostcodeBtn(JButton value) {
JButton oldValue = qq_UpdatePostcodeBtn;
qq_UpdatePostcodeBtn = value;
this.qq_Listeners.firePropertyChange("qq_UpdatePostcodeBtn", oldValue, value);
}
/**
* qq_AddOneAddressBtn: transformed from: qqds_PushButton
* TagId=88
* isInherited=FALSE
*/
public JButton getqq_AddOneAddressBtn() {
if (qq_AddOneAddressBtn == null) {
qq_AddOneAddressBtn = PushButtonFactory.newInstance("AddOneAddressBtn", "Add One Address");
qq_AddOneAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_AddOneAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_AddOneAddressBtn, Constants.SP_TO_PARENT);
qq_AddOneAddressBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_AddOneAddressBtn;
}
public void setqq_AddOneAddressBtn(JButton value) {
JButton oldValue = qq_AddOneAddressBtn;
qq_AddOneAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_AddOneAddressBtn", oldValue, value);
}
/**
* qq_UpdateOneAddressBtn: transformed from: qqds_PushButton
* TagId=89
* isInherited=FALSE
*/
public JButton getqq_UpdateOneAddressBtn() {
if (qq_UpdateOneAddressBtn == null) {
qq_UpdateOneAddressBtn = PushButtonFactory.newInstance("UpdateOneAddressBtn", "Update One Address");
qq_UpdateOneAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_UpdateOneAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_UpdateOneAddressBtn, Constants.SP_TO_PARENT);
qq_UpdateOneAddressBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_UpdateOneAddressBtn;
}
public void setqq_UpdateOneAddressBtn(JButton value) {
JButton oldValue = qq_UpdateOneAddressBtn;
qq_UpdateOneAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_UpdateOneAddressBtn", oldValue, value);
}
/**
* qq_UpdateOnePostCodeBtn: transformed from: qqds_PushButton
* TagId=90
* isInherited=FALSE
*/
public JButton getqq_UpdateOnePostCodeBtn() {
if (qq_UpdateOnePostCodeBtn == null) {
qq_UpdateOnePostCodeBtn = PushButtonFactory.newInstance("UpdateOnePostCodeBtn", "Update One Postcode");
qq_UpdateOnePostCodeBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_UpdateOnePostCodeBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_UpdateOnePostCodeBtn, Constants.SP_TO_PARENT);
qq_UpdateOnePostCodeBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_UpdateOnePostCodeBtn;
}
public void setqq_UpdateOnePostCodeBtn(JButton value) {
JButton oldValue = qq_UpdateOnePostCodeBtn;
qq_UpdateOnePostCodeBtn = value;
this.qq_Listeners.firePropertyChange("qq_UpdateOnePostCodeBtn", oldValue, value);
}
/**
* qq_CreateOneNewPostcodeBtn: transformed from: qqds_PushButton
* TagId=96
* isInherited=FALSE
*/
public JButton getqq_CreateOneNewPostcodeBtn() {
if (qq_CreateOneNewPostcodeBtn == null) {
qq_CreateOneNewPostcodeBtn = PushButtonFactory.newInstance("CreateOneNewPostcodeBtn", "Create One New Postcode");
qq_CreateOneNewPostcodeBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_CreateOneNewPostcodeBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_CreateOneNewPostcodeBtn, Constants.SP_TO_PARENT);
qq_CreateOneNewPostcodeBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_CreateOneNewPostcodeBtn;
}
public void setqq_CreateOneNewPostcodeBtn(JButton value) {
JButton oldValue = qq_CreateOneNewPostcodeBtn;
qq_CreateOneNewPostcodeBtn = value;
this.qq_Listeners.firePropertyChange("qq_CreateOneNewPostcodeBtn", oldValue, value);
}
/**
* qq_PrintCustomerBtn: transformed from: qqds_PushButton
* TagId=91
* isInherited=FALSE
*/
public JButton getqq_PrintCustomerBtn() {
if (qq_PrintCustomerBtn == null) {
qq_PrintCustomerBtn = PushButtonFactory.newInstance("PrintCustomerBtn", "Print Customer");
qq_PrintCustomerBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_PrintCustomerBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_PrintCustomerBtn, Constants.SP_TO_PARENT);
qq_PrintCustomerBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_PrintCustomerBtn;
}
public void setqq_PrintCustomerBtn(JButton value) {
JButton oldValue = qq_PrintCustomerBtn;
qq_PrintCustomerBtn = value;
this.qq_Listeners.firePropertyChange("qq_PrintCustomerBtn", oldValue, value);
}
/**
* qq_RemoveOneAddressBtn: transformed from: qqds_PushButton
* TagId=92
* isInherited=FALSE
*/
public JButton getqq_RemoveOneAddressBtn() {
if (qq_RemoveOneAddressBtn == null) {
qq_RemoveOneAddressBtn = PushButtonFactory.newInstance("RemoveOneAddressBtn", "Remove One Address");
qq_RemoveOneAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_RemoveOneAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_RemoveOneAddressBtn, Constants.SP_TO_PARENT);
qq_RemoveOneAddressBtn.setMinimumSize(new Dimension(0, 0));
}
return qq_RemoveOneAddressBtn;
}
public void setqq_RemoveOneAddressBtn(JButton value) {
JButton oldValue = qq_RemoveOneAddressBtn;
qq_RemoveOneAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_RemoveOneAddressBtn", oldValue, value);
}
/**
* qq_CreateOneNewAddressBtn: transformed from: qqds_PushButton
* TagId=97
* isInherited=FALSE
*/
public JButton getqq_CreateOneNewAddressBtn() {
if (qq_CreateOneNewAddressBtn == null) {
qq_CreateOneNewAddressBtn = PushButtonFactory.newInstance("CreateOneNewAddressBtn", "Create One New Address");
qq_CreateOneNewAddressBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_CreateOneNewAddressBtn, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_CreateOneNewAddressBtn, Constants.SP_NATURAL);
qq_CreateOneNewAddressBtn.setMinimumSize(new Dimension(0, 23));
}
return qq_CreateOneNewAddressBtn;
}
public void setqq_CreateOneNewAddressBtn(JButton value) {
JButton oldValue = qq_CreateOneNewAddressBtn;
qq_CreateOneNewAddressBtn = value;
this.qq_Listeners.firePropertyChange("qq_CreateOneNewAddressBtn", oldValue, value);
}
/**
* qq_GridField115: transformed from: qqds_GridField
* TagId=115
* isInherited=FALSE
* In forte this was a 2x8 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_GridField115Properties() {
qq_GridField115.setCollapsed(true);
qq_GridField115.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField115.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField115.setBackground(null);
}
public GridField getqq_GridField115() {
if (qq_GridField115 == null) {
qq_GridField115 = CompoundFieldFactory.newGridField("qq_GridField115", true);
setqq_GridField115Properties();
qq_GridField115.setMinimumSize(new Dimension(268, 194));
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(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_CreateCustomerBtn(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 0; // Column 1
qq_gbc1.gridy = 1; // Row 2
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc1.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_CreateAddressBtn(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 1; // Column 2
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc2.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_UpdateAddressBtn(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 0; // Column 1
qq_gbc3.gridy = 2; // Row 3
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc3.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_CreatePostCodeBtn(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 1; // Column 2
qq_gbc4.gridy = 2; // Row 3
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc4.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc4.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_UpdatePostcodeBtn(), qq_gbc4 );
GridBagConstraints qq_gbc5 = new GridBagConstraints();
qq_gbc5.gridx = 0; // Column 1
qq_gbc5.gridy = 3; // Row 4
qq_gbc5.weightx = 0;
qq_gbc5.weighty = 0;
qq_gbc5.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc5.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc5.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_AddOneAddressBtn(), qq_gbc5 );
GridBagConstraints qq_gbc6 = new GridBagConstraints();
qq_gbc6.gridx = 0; // Column 1
qq_gbc6.gridy = 4; // Row 5
qq_gbc6.weightx = 0;
qq_gbc6.weighty = 0;
qq_gbc6.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc6.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc6.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_UpdateOneAddressBtn(), qq_gbc6 );
GridBagConstraints qq_gbc7 = new GridBagConstraints();
qq_gbc7.gridx = 1; // Column 2
qq_gbc7.gridy = 4; // Row 5
qq_gbc7.weightx = 0;
qq_gbc7.weighty = 0;
qq_gbc7.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc7.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
qq_gbc7.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_CreateOneNewAddressBtn(), qq_gbc7 );
GridBagConstraints qq_gbc8 = new GridBagConstraints();
qq_gbc8.gridx = 0; // Column 1
qq_gbc8.gridy = 5; // Row 6
qq_gbc8.weightx = 0;
qq_gbc8.weighty = 0;
qq_gbc8.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc8.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc8.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_UpdateOnePostCodeBtn(), qq_gbc8 );
GridBagConstraints qq_gbc9 = new GridBagConstraints();
qq_gbc9.gridx = 1; // Column 2
qq_gbc9.gridy = 5; // Row 6
qq_gbc9.weightx = 0;
qq_gbc9.weighty = 0;
qq_gbc9.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc9.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc9.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_CreateOneNewPostcodeBtn(), qq_gbc9 );
GridBagConstraints qq_gbc10 = new GridBagConstraints();
qq_gbc10.gridx = 0; // Column 1
qq_gbc10.gridy = 6; // Row 7
qq_gbc10.weightx = 0;
qq_gbc10.weighty = 0;
qq_gbc10.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc10.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc10.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_PrintCustomerBtn(), qq_gbc10 );
GridBagConstraints qq_gbc11 = new GridBagConstraints();
qq_gbc11.gridx = 0; // Column 1
qq_gbc11.gridy = 7; // Row 8
qq_gbc11.weightx = 0;
qq_gbc11.weighty = 0;
qq_gbc11.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc11.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
qq_gbc11.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField115.add( getqq_RemoveOneAddressBtn(), qq_gbc11 );
}
return qq_GridField115;
}
public void setqq_GridField115(GridField value) {
GridField oldValue = qq_GridField115;
qq_GridField115 = value;
this.qq_Listeners.firePropertyChange("qq_GridField115", oldValue, value);
}
/**
* qq_GridField99: transformed from: qqds_GridField
* TagId=99
* isInherited=FALSE
* In forte this was a 2x1 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_GridField99Properties() {
qq_GridField99.setCollapsed(true);
qq_GridField99.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField99.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField99.setBackground(null);
}
public GridField getqq_GridField99() {
if (qq_GridField99 == null) {
qq_GridField99 = CompoundFieldFactory.newGridField("qq_GridField99", true);
setqq_GridField99Properties();
qq_GridField99.setMinimumSize(new Dimension(974, 466));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField99.add( getqq_aCustomer(), 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.NORTH; // Gravity - original: CG_TOPCENTER
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_GridField99.add( getqq_GridField115(), qq_gbc1 );
}
return qq_GridField99;
}
public void setqq_GridField99(GridField value) {
GridField oldValue = qq_GridField99;
qq_GridField99 = value;
this.qq_Listeners.firePropertyChange("qq_GridField99", oldValue, value);
}
/**
* qq_Status_sp: transformed from: qqds_TextField
* TagId=83
* isInherited=FALSE
*/
public JScrollPane getqq_Status_sp() {
if (qq_Status_sp == null) {
qq_Status_sp = CompoundFieldFactory.newScrollPane();
qq_Status_sp.setName("Status");
qq_Status_sp.setViewportView(getqq_Status());
qq_Status_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
qq_Status_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
WidthPolicy.set(qq_Status_sp, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_Status_sp, Constants.SP_TO_PARENT);
qq_Status_sp.setSize(new Dimension(941, 145));
qq_Status_sp.setMinimumSize(new Dimension(941, 145));
qq_Status_sp.setPreferredSize(new Dimension(941, 145));
}
return qq_Status_sp;
}
public void setqq_Status_sp(JScrollPane value) {
JScrollPane oldValue = qq_Status_sp;
qq_Status_sp = value;
this.qq_Listeners.firePropertyChange("qq_Status_sp", oldValue, value);
}
/**
* qq_Status: transformed from: qqds_TextField
* TagId=83
* isInherited=FALSE
*/
public MultiLineTextField getqq_Status() {
if (qq_Status == null) {
qq_Status = TextEditFactory.newTextField("Status", 10, 139);
qq_Status.setWrapStyleWord( true );
qq_Status.setLineWrap( true );
getBindingManager().bindComponent(qq_Status, "status");
ExitOnTab.set(qq_Status, true);
WidthPolicy.set(qq_Status, Constants.SP_TO_PARENT);
HeightPolicy.set(qq_Status, Constants.SP_TO_PARENT);
}
return qq_Status;
}
public void setqq_Status(MultiLineTextField value) {
MultiLineTextField oldValue = qq_Status;
qq_Status = value;
this.qq_Listeners.firePropertyChange("qq_Status", oldValue, value);
}
/**
* qq_ClearBtn: transformed from: qqds_PushButton
* TagId=84
* isInherited=FALSE
*/
public JButton getqq_ClearBtn() {
if (qq_ClearBtn == null) {
qq_ClearBtn = PushButtonFactory.newInstance("ClearBtn", "Clear");
qq_ClearBtn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_ClearBtn, Constants.SP_NATURAL);
HeightPolicy.set(qq_ClearBtn, Constants.SP_NATURAL);
qq_ClearBtn.setMinimumSize(new Dimension(38, 23));
}
return qq_ClearBtn;
}
public void setqq_ClearBtn(JButton value) {
JButton oldValue = qq_ClearBtn;
qq_ClearBtn = value;
this.qq_Listeners.firePropertyChange("qq_ClearBtn", oldValue, value);
}
/**
* qq_GridField116: transformed from: qqds_GridField
* TagId=116
* isInherited=FALSE
* In forte this was a 2x1 grid field.
* There are no cell margins set
* The width policy is set to Parent, and the height policy is set to Natural.
*/
protected void setqq_GridField116Properties() {
qq_GridField116.setCollapsed(true);
qq_GridField116.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField116.setWidthPolicy(Constants.SP_TO_PARENT);
qq_GridField116.setBackground(null);
}
public GridField getqq_GridField116() {
if (qq_GridField116 == null) {
qq_GridField116 = CompoundFieldFactory.newGridField("qq_GridField116", true);
setqq_GridField116Properties();
qq_GridField116.setMinimumSize(new Dimension(0, 148));
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.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(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField116.add( getqq_Status_sp(), 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.NORTH; // Gravity - original: CG_TOPCENTER
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_GridField116.add( getqq_ClearBtn(), qq_gbc1 );
}
return qq_GridField116;
}
public void setqq_GridField116(GridField value) {
GridField oldValue = qq_GridField116;
qq_GridField116 = value;
this.qq_Listeners.firePropertyChange("qq_GridField116", oldValue, value);
}
/**
* qq_GridField98: transformed from: qqds_GridField
* TagId=98
* isInherited=FALSE
* 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_GridField98Properties() {
qq_GridField98.setCellTopMargin(25);
qq_GridField98.setCellBottomMargin(25);
qq_GridField98.setCellLeftMargin(25);
qq_GridField98.setCellRightMargin(25);
qq_GridField98.setCollapsed(true);
qq_GridField98.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField98.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField98.setBackground(null);
}
public GridField getqq_GridField98() {
if (qq_GridField98 == null) {
qq_GridField98 = CompoundFieldFactory.newGridField("qq_GridField98", true);
setqq_GridField98Properties();
qq_GridField98.setMinimumSize(new Dimension(987, 638));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField98.add( getqq_GridField99(), 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.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
qq_GridField98.add( getqq_GridField116(), qq_gbc1 );
}
return qq_GridField98;
}
public void setqq_GridField98(GridField value) {
GridField oldValue = qq_GridField98;
qq_GridField98 = value;
this.qq_Listeners.firePropertyChange("qq_GridField98", 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_GridField98() );
}
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_aCustomer_L_AddressArray_Line1: transformed from: qqds_DataField
* TagId=69
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_Line1() {
if (qq_aCustomer_L_AddressArray_Line1 == null) {
// Mask type: MK_NONE
qq_aCustomer_L_AddressArray_Line1 = DataFieldFactory.newDataField("Line1", 10, Constants.MK_NONE);
qq_aCustomer_L_AddressArray_Line1.setOriginalFormatText(null);
qq_aCustomer_L_AddressArray_Line1.setHorizontalAlignment(JTextField.LEFT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_Line1, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_Line1, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_Line1.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line1.setSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line1.setLocation(85, 186);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_Line1, qq_aCustomer_L_Address, 0, false);
}
return qq_aCustomer_L_AddressArray_Line1;
}
public void setqq_aCustomer_L_AddressArray_Line1(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_Line1;
qq_aCustomer_L_AddressArray_Line1 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_Line1", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_Line2: transformed from: qqds_DataField
* TagId=71
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_Line2() {
if (qq_aCustomer_L_AddressArray_Line2 == null) {
// Mask type: MK_NONE
qq_aCustomer_L_AddressArray_Line2 = DataFieldFactory.newDataField("Line2", 10, Constants.MK_NONE);
qq_aCustomer_L_AddressArray_Line2.setOriginalFormatText(null);
qq_aCustomer_L_AddressArray_Line2.setHorizontalAlignment(JTextField.LEFT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_Line2, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_Line2, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_Line2.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line2.setSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line2.setLocation(192, 196);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_Line2, qq_aCustomer_L_Address, 1, false);
}
return qq_aCustomer_L_AddressArray_Line2;
}
public void setqq_aCustomer_L_AddressArray_Line2(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_Line2;
qq_aCustomer_L_AddressArray_Line2 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_Line2", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_Line3: transformed from: qqds_DataField
* TagId=73
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_Line3() {
if (qq_aCustomer_L_AddressArray_Line3 == null) {
// Mask type: MK_NONE
qq_aCustomer_L_AddressArray_Line3 = DataFieldFactory.newDataField("Line3", 10, Constants.MK_NONE);
qq_aCustomer_L_AddressArray_Line3.setOriginalFormatText(null);
qq_aCustomer_L_AddressArray_Line3.setHorizontalAlignment(JTextField.LEFT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_Line3, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_Line3, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_Line3.setMinimumSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line3.setSize(new Dimension(78, 19));
qq_aCustomer_L_AddressArray_Line3.setLocation(289, 203);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_Line3, qq_aCustomer_L_Address, 2, false);
}
return qq_aCustomer_L_AddressArray_Line3;
}
public void setqq_aCustomer_L_AddressArray_Line3(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_Line3;
qq_aCustomer_L_AddressArray_Line3 = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_Line3", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_PropertyType: transformed from: qqds_RadioList
* TagId=113
* isInherited=FALSE
*/
public RadioList getqq_aCustomer_L_AddressArray_PropertyType() {
if (qq_aCustomer_L_AddressArray_PropertyType == null) {
String[] names = {"R", "C"};
qq_aCustomer_L_AddressArray_PropertyType = ListFieldFactory.newRadioList(Constants.FO_HORIZONTAL, "", names, 1, Constants.LP_CONSTANT);
Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
elements.add( new ListElement( 1, names[0], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 2, names[1], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
qq_aCustomer_L_AddressArray_PropertyType.setName("PropertyType");
qq_aCustomer_L_AddressArray_PropertyType.setModel(new RadioListModel(new SelectionInList(elements), qq_aCustomer_L_AddressArray_PropertyType) );
if (qq_aCustomer_L_AddressArray_PropertyType.getSelectedIndex() == -1)
qq_aCustomer_L_AddressArray_PropertyType.setSelectedIndex(0);
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_L_AddressArray_PropertyType, mcat);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_PropertyType, qq_aCustomer_L_Address, 3, false);
qq_aCustomer_L_AddressArray_PropertyType.setLocation(240, 35);
}
return qq_aCustomer_L_AddressArray_PropertyType;
}
public void setqq_aCustomer_L_AddressArray_PropertyType(RadioList value) {
RadioList oldValue = qq_aCustomer_L_AddressArray_PropertyType;
qq_aCustomer_L_AddressArray_PropertyType = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_PropertyType", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_DateBuilt: transformed from: qqds_DataField
* TagId=123
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_DateBuilt() {
if (qq_aCustomer_L_AddressArray_DateBuilt == null) {
// Mask type: MK_TEMPLATE
// original Forte format string -->dd/mm/yyyy<--
qq_aCustomer_L_AddressArray_DateBuilt = DataFieldFactory.newDataField("DateBuilt", 9, DateTimeNullable.class);
DateTemplate.set(qq_aCustomer_L_AddressArray_DateBuilt, "dd/mm/yyyy", DateTimeNullable.class);
qq_aCustomer_L_AddressArray_DateBuilt.setOriginalFormatText("dd/mm/yyyy");
qq_aCustomer_L_AddressArray_DateBuilt.setHorizontalAlignment(JTextField.LEFT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_DateBuilt, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_DateBuilt, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_DateBuilt.setMinimumSize(new Dimension(70, 19));
qq_aCustomer_L_AddressArray_DateBuilt.setSize(new Dimension(70, 19));
qq_aCustomer_L_AddressArray_DateBuilt.setLocation(303, 38);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_DateBuilt, qq_aCustomer_L_Address, 4, false);
}
return qq_aCustomer_L_AddressArray_DateBuilt;
}
public void setqq_aCustomer_L_AddressArray_DateBuilt(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_DateBuilt;
qq_aCustomer_L_AddressArray_DateBuilt = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_DateBuilt", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_R_Postcode_City: transformed from: qqds_DataField
* TagId=75
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_R_Postcode_City() {
if (qq_aCustomer_L_AddressArray_R_Postcode_City == null) {
// Mask type: MK_NONE
qq_aCustomer_L_AddressArray_R_Postcode_City = DataFieldFactory.newDataField("R_Postcode.City", 10, Constants.MK_NONE);
qq_aCustomer_L_AddressArray_R_Postcode_City.setOriginalFormatText(null);
qq_aCustomer_L_AddressArray_R_Postcode_City.setHorizontalAlignment(JTextField.LEFT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_City, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_City, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_R_Postcode_City.setMinimumSize(new Dimension(79, 19));
qq_aCustomer_L_AddressArray_R_Postcode_City.setSize(new Dimension(79, 19));
qq_aCustomer_L_AddressArray_R_Postcode_City.setLocation(391, 204);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_R_Postcode_City, qq_aCustomer_L_Address, 5, false);
}
return qq_aCustomer_L_AddressArray_R_Postcode_City;
}
public void setqq_aCustomer_L_AddressArray_R_Postcode_City(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_R_Postcode_City;
qq_aCustomer_L_AddressArray_R_Postcode_City = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_R_Postcode_City", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_R_Postcode_State: transformed from: qqds_DropList
* TagId=77
* isInherited=FALSE
*/
public DropList getqq_aCustomer_L_AddressArray_R_Postcode_State() {
if (qq_aCustomer_L_AddressArray_R_Postcode_State == null) {
ListElement[] elements = new ListElement[5];
elements[0] = new ListElement( 1, "NSW", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements[1] = new ListElement( 2, "ACT", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements[2] = new ListElement( 3, "WA", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements[3] = new ListElement( 4, "NT", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
elements[4] = new ListElement( 5, "QLD", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
qq_aCustomer_L_AddressArray_R_Postcode_State = DropFillinFactory.newDropList(elements);
qq_aCustomer_L_AddressArray_R_Postcode_State.setName("R_Postcode.State");
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_L_AddressArray_R_Postcode_State, mcat);
qq_aCustomer_L_AddressArray_R_Postcode_State.setMaximumRowCount(4);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_R_Postcode_State, qq_aCustomer_L_Address, 6, false);
WidthPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_State, Constants.SP_NATURAL);
HeightPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_State, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_R_Postcode_State.setMinimumSize(new Dimension(59, 19));
qq_aCustomer_L_AddressArray_R_Postcode_State.setLocation(316, 31);
}
return qq_aCustomer_L_AddressArray_R_Postcode_State;
}
public void setqq_aCustomer_L_AddressArray_R_Postcode_State(DropList value) {
DropList oldValue = qq_aCustomer_L_AddressArray_R_Postcode_State;
qq_aCustomer_L_AddressArray_R_Postcode_State = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_R_Postcode_State", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo: transformed from: qqds_ToggleField
* TagId=119
* isInherited=FALSE
*/
public JCheckBox getqq_aCustomer_L_AddressArray_R_Postcode_CanLendTo() {
if (qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo == null) {
qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo = ToggleFieldFactory.newToggleField("", "R_Postcode.CanLendTo");
// OPTIONAL UIutils.reloadLabelText(qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo, mcat);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo, qq_aCustomer_L_Address, 7, false);
qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo.setLocation(434, 37);
}
return qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo;
}
public void setqq_aCustomer_L_AddressArray_R_Postcode_CanLendTo(JCheckBox value) {
JCheckBox oldValue = qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo;
qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_R_Postcode_CanLendTo", oldValue, value);
}
/**
* qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber: transformed from: qqds_DataField
* TagId=79
* isInherited=FALSE
*/
public DataField getqq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber() {
if (qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber == null) {
// Mask type: MK_NONE
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber = DataFieldFactory.newDataField("R_Postcode.PostCodeNumber", 11, Constants.MK_NONE);
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setValue(new Integer(0));
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setOriginalFormatText(null);
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setHorizontalAlignment(JTextField.RIGHT);
WidthPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber, Constants.SP_EXPLICIT);
HeightPolicy.set(qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber, Constants.SP_NATURAL);
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setMinimumSize(new Dimension(80, 19));
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setSize(new Dimension(80, 19));
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber.setLocation(580, 206);
ArrayFieldCellHelper.setUpCellEditor(qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber, qq_aCustomer_L_Address, 8, false);
}
return qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber;
}
public void setqq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber(DataField value) {
DataField oldValue = qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber;
qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber = value;
this.qq_Listeners.firePropertyChange("qq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber", oldValue, value);
}
/**
* Initialise the window and all its children.
*/
protected void initialize() {
if (this.Form == null) {
this.setName( "MappingWindow" );
this.setTitle( "Mapping Tester" );
this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
if (this.getContentPane() != this.getForm()) {
this.setContentPane(getForm());
}
this.qq_setupWindowUsage();
this.setResizable( true );
this.setAlwaysOnTop(false);
UserWindow.setIconizeEnabled(this, true);
UserWindow.setMaximizeEnabled(this, true);
WindowManager.addWindowListener(this);
this.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
this.setUsage(DisplayProject.Constants.WU_UPDATE);
UIutils.processGUIActions();
this.pack();
this.setInitialX(0);
this.setInitialY(0);
this.setInitialPositionPolicy(Constants.PP_SYSTEMDEFAULT);
}
}
// ----------------
// Window usage
//-----------------
protected WindowUsageMap usage = new WindowUsageMap();
public int getUsage() {
return this.usage.getUsage();
}
public WindowUsageMap getUsageMap() {
return this.usage;
}
/**
* Sets the window usage
*
* The Usage property sets the state for all a window�s child widgets at once, providing collective widget state changes on a predefined basis. A widget�s state determines how the widget reacts to mouse actions and how it displays itself. A window�s Usage property provides a convenient way to control the states of a group of widgets in the context of their parent window. With the Usage attribute, you can synchronize widget states to conform to a pattern you establish for the window.
* The Usage attribute accepts the following values:
* <li>Constants.WU_EDIT Edit usage: widgets themselves are editable, but not underlying data.</li>
* <li>Constants.WU_QUERY Query only usage: widget data is editable, but not widgets themselves.</li>
* <li>Constants.WU_UPDATE Update usage: mouse actions and keyboard input accepted. Widgets themselves are changeable. This is the default.</li>
* <li>Constants.WU_USER1 A user-defined usage. Default values same as WU_UPDATE.</li>
* <li>Constants.WU_USER2 A user-defined usage. Default values same as WU_UPDATE.</li>
* <li>Constants.WU_USER3 A user-defined usage. Default values same as WU_UPDATE.</li>
* <li>Constants.WU_VIEW View-only usage: no keyboard input is accepted. Widget posts Click events for mouse clicks.</li>
*/
public void setUsage(int usage) {
this.usage.setUsage(usage);
}
public void qq_setupWindowUsage() {
this.usage = new WindowUsageMap();
this.usage.add(getqq_GridField98(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField99(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField100(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField101(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_FirstNameLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_FirstName(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_SurnameLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_Surname(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_DOBLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_DOB(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_R_Address(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField105(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_Line1Lbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_Line1(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_Line2Lbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_Line2(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_Line3Lbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_Line3(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_R_Address_PropertyType(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_DateBuiltLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_DateBuilt(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_R_Address_R_Postcode(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_CityLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_R_Postcode_City(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_StateLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_R_Postcode_State(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_NumberLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_R_Address_R_Postcode_PostCodeNumber(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_R_Address_R_Postcode_CanLendTo(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_CanLendToLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_aCustomer_L_Address(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_Line1(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_Line2(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_Line3(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_PropertyType(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_DateBuilt(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_R_Postcode_City(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_R_Postcode_State(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_R_Postcode_CanLendTo(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_aCustomer_L_AddressArray_R_Postcode_PostCodeNumber(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_GridField115(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_CreateCustomerBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_CreateAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_UpdateAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_CreatePostCodeBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_UpdatePostcodeBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_AddOneAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_UpdateOneAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_UpdateOnePostCodeBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_CreateOneNewPostcodeBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_PrintCustomerBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_RemoveOneAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_CreateOneNewAddressBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_GridField116(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_Status(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ClearBtn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
}
// </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();
MappingWindow mappingWindow_start = new MappingWindow();
mappingWindow_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 MappingWindow
// c Pass 2 Conversion Time: 1373 milliseconds