Package cli_fmw.delegate.client

Examples of cli_fmw.delegate.client.Address


        directoryKladr = DirectoryLocator.getDirectory(DirectoryKladr.class);
        if (ad == null || ad.getDetails().objectId == 0) {
            if (addDefault != null && addDefault.getDetails().objectId != 0) {
                DirectoryKladrItem city = addDefault.getCity();
                if (city != null) {
                    ad = new Address(new AddressDetails(city.getID()));
                }
            }
        }

        if (ad == null || ad.getDetails().objectId == 0) {
            ad = new Address(new AddressDetails(directoryKladr.getRussia().getID()));
            addressReset = true;
        }
        this.address = ad;
        this.addressDetailsOriginal = address.getDetails().clone();
        combos = new JComboBox[6];
View Full Code Here


        if (evt.getClickCount() < 2 || col < 0 || row < 0) {
            return;
        }
        PolisData polis = polisList.get(row);
        if (col == TableModelPolisView.COL_ADDRESS) {
            Address address = UserInfo.get().getCollaborator().getLpu().getAddress();
            DialogAddressM dialog = new DialogAddressM(MainWindow.mainWindow, polis.getAddress(), address, getAuditManager());
            dialog.setVisible(true);
            if (dialog.getDlgResult() == ModalDialog.DLG_CANCEL) {
                return;
            }
View Full Code Here

    public DirectoryEnterpriseItemAbstract(DETAILS details) {
        super(details);
    }

    public Address getAddress() throws ClipsException {
        return new Address(getDetails().address);
    }
View Full Code Here

public class CertTagPacientRegion extends TypeTextField {
   
    public CertTagPacientRegion(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.getRegionTitle(), true);
        }
    }
View Full Code Here

public class CertTagPacientAddress extends TypeTextField {
   
    public CertTagPacientAddress(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.toStringShort(), true);
        }
    }
View Full Code Here

public class CertTagPacientMunicipality extends TypeTextField {
   
    public CertTagPacientMunicipality(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.getMunicipalityTitle(), true);
        }
    }
View Full Code Here

public class CertTagPacientBuilding extends TypeTextField {
   
    public CertTagPacientBuilding(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.getBuilding(), true);
        }
    }
View Full Code Here

public class CertTagPacientFlat extends TypeTextField {
   
    public CertTagPacientFlat(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.getFlat(), true);
        }
    }
View Full Code Here

public class CertTagPacientStreet extends TypeTextField {
   
    public CertTagPacientStreet(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            Address address = certificateLocal.getClientLocal().getAddress();
            setText(address.getStreetTitle(), true);
        }
    }
View Full Code Here

        );
    }// </editor-fold>//GEN-END:initComponents

private void btAddressActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddressActionPerformed
    try {
        Address address = UserInfo.get().getCollaborator().getLpu().getAddress();
        Address ad = new Address(enterprise.getAddress().getDetails());
        DialogAddressM dlg = new DialogAddressM((Frame) getContainer(), ad, address, getAuditManager());
        dlg.setVisible(true);
        if (dlg.getDlgResult() == ModalDialog.DLG_OK){
            enterprise.setAddress(dlg.getAddress());
            taAddress.setText(enterprise.getAddress().toString());
View Full Code Here

TOP

Related Classes of cli_fmw.delegate.client.Address

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.