Package realcix20.guis.components

Examples of realcix20.guis.components.LanguageChooser


        }
    }
   
    //����ϵͳ����
    private void setApplicationLang() {
        LanguageChooser languageChooser = container.getLanguageChooser();
        String selectedLang = ((Item)languageChooser.getSelectedItem()).getFactValue().toString();
        GlobalValueManager.setApplicationLang(selectedLang);
    }
View Full Code Here


                    }));

            JLabel label = new JLabel();
            label.setText(TxtManager.getTxt("VIEW.RENAMEREPORTDIALOG.LANG"));
            panel.add(label, cc.xy(3, 1));
            languageChooser = new LanguageChooser();
            panel.add(languageChooser, cc.xy(5, 1));

            label = new JLabel();
            label.setText(TxtManager.getTxt("VIEW.RENAMEREPORTDIALOG.REPORTNAME"));
            panel.add(label, cc.xy(3, 3));
View Full Code Here

               
                JLabel refLangLabel = new JLabel();
                refLangLabel.setText(TxtManager.getTxt("VIEW.I18NMAINTAINDIALOG.REFLANG"));
                add(refLangLabel, cc.xy(3, 3));
               
                refLangChooser = new LanguageChooser();
                refLangChooser.setSelectedLang(GlobalValueManager.getApplicationLang());
                refLangChooser.setActionCommand("Choose Lang");
                refLangChooser.addActionListener(this);
                add(refLangChooser, cc.xy(5, 3));
               
                JLabel workLangLabel = new JLabel();
                workLangLabel.setText(TxtManager.getTxt("VIEW.I18NMAINTAINDIALOG.WORKLANG"));
               
                add(workLangLabel, cc.xy(3, 5));
               
                workLangChooser = new LanguageChooser();
                workLangChooser.setSelectedLang(GlobalValueManager.getApplicationLang());
                workLang = workLangChooser.getSelectedLang();
                workLangChooser.setActionCommand("Choose Lang");               
                workLangChooser.addActionListener(this);
                add(workLangChooser, cc.xy(5, 5));
View Full Code Here

    private JButton acceptButton;
    private JButton exitButton;
   
    public LicenseView() {
        listener = new LicenseListener(this);
        languageChooser = new LanguageChooser();
        licenseTextPane = new JTextPane();
        acceptButton = new JButton();
        exitButton = new JButton();
        initComponents();
    }
View Full Code Here

            value = detailList.getValue();
        } else if (component instanceof XrCalculator) {
            XrCalculator xrCalculator = (XrCalculator)component;
            value = xrCalculator.getValue();
        } else if (component instanceof PasswordEdit) {
            PasswordEdit passwordEdit = (PasswordEdit)component;
            value = passwordEdit.getValue();
        }       
        return value;       
    }
View Full Code Here

                detailList = new DetailList(column);
                detailList.setEditabled(true);
                component = detailList;               
                break;                                                  
            case 4:               
                PasswordEdit passwordEdit = new PasswordEdit(column);
                component = passwordEdit;               
                break;               
            case 5:               
                JDatePicker datePicker = new JDatePicker();
                component = datePicker;               
View Full Code Here

            value = detailText.getValue();
        } else if (component instanceof DetailList) {//81
            DetailList detailList = (DetailList)component;
            value = detailList.getValue();
        } else if (component instanceof XrCalculator) {
            XrCalculator xrCalculator = (XrCalculator)component;
            value = xrCalculator.getValue();
        } else if (component instanceof PasswordEdit) {
            PasswordEdit passwordEdit = (PasswordEdit)component;
            value = passwordEdit.getValue();
        }       
        return value;       
View Full Code Here

                DetailList detailList = new DetailList(column);
                detailList.setEditabled(false);
                component = detailList;               
                break;               
            case 83:               
                XrCalculator xrCalculator = new XrCalculator(column);
                component = xrCalculator;               
                break;               
            case 82:               
                detailList = new DetailList(column);
                detailList.setEditabled(true);
View Full Code Here

    private void initialNoBeControledComponents(Vector componentExts) {
       
        Iterator componentExtIter = componentExts.iterator();
        while (componentExtIter.hasNext()) {
           
            ComponentExt componentExt = (ComponentExt)componentExtIter.next();
            Column column = componentExt.getColumn();
            JComponent component = componentExt.getComponent();
           
            switch (column.getInputType()) {
               
                case 1:
                case 2:
View Full Code Here

       
        Column column = null;
       
        Iterator componentExtIter = componentExts.iterator();
        while (componentExtIter.hasNext()) {
            ComponentExt componentExt = (ComponentExt)componentExtIter.next();
            Column tempColumn = componentExt.getColumn();
            if ( (tempColumn.getTableName().equals(tableName)) && (tempColumn.getColumnName().equals(columnName)) ) {
                column = tempColumn;
                break;
            }
        }
View Full Code Here

TOP

Related Classes of realcix20.guis.components.LanguageChooser

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.