Package net.datacrow.core.services

Examples of net.datacrow.core.services.Region


    }
   
    public void setRegion(String code) {
        if (comboRegions == null || comboRegions.getItemCount() == 0) return;
       
        Region region;
        for (int idx = 0; idx < comboRegions.getItemCount(); idx++) {
            region = (Region) comboRegions.getItemAt(idx);
            if (region.getCode().equals(code))
                comboRegions.setSelectedItem(region);
        }
    }
View Full Code Here


        return (IServer) comboServers.getSelectedItem();
    }

    public Region getRegion() {
        IServer server = getServer();
        Region region = null;
        if (server.getRegions() != null && server.getRegions().size() > 0) {
            region = (Region) comboRegions.getSelectedItem();
        }
        return region;
    }
View Full Code Here

        if (dco != null) {
            IServer server = os.getServer(dco);
            if (server != null) {
                comboServers.setSelectedItem(server);
               
                Region region = os.getRegion(dco);
                if (region != null) comboRegions.setSelectedItem(region);
               
                SearchMode mode = os.getMode(dco);
                if (mode != null) comboModes.setSelectedItem(mode);
View Full Code Here

TOP

Related Classes of net.datacrow.core.services.Region

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.