Package realcix20.classes.plugins

Examples of realcix20.classes.plugins.CurrencyPlugin


                value = textField.getText().trim();           
        } else if (component instanceof JTextArea) {
            JTextArea textArea = (JTextArea)component;
            value = textArea.getText().trim();
        } else if (component instanceof DisplayOnlyText) {
            DisplayOnlyText displayOnlyText = (DisplayOnlyText)component;
            value = displayOnlyText.getValue();
        } else if (component instanceof JLabel) {
            JLabel label = (JLabel)component;
            value = label.getText();
        } else if (component instanceof JCheckBox) {
            JCheckBox checkBox = (JCheckBox)component;
View Full Code Here


            case 24:                          
                JLabel displayLabel = new JLabel();
                component = displayLabel;               
                break;               
            case 101:               
                DisplayOnlyText displayOnlyText = new DisplayOnlyText(column);
                component = displayOnlyText;               
                break;                           
            default:
                //δ֧�ֵĿؼ���ΪJLabel.
                JLabel label = new JLabel("Not Supported!");
View Full Code Here

            case 4:               
                PasswordEdit passwordEdit = new PasswordEdit(column);
                component = passwordEdit;               
                break;               
            case 5:               
                JDatePicker datePicker = new JDatePicker();
                component = datePicker;               
                break;               
            case 6:               
                JCheckBox checkBox = new JCheckBox();
                component = checkBox;               
View Full Code Here

            case 9:               
                JTimeStamp timeStamp = new JTimeStamp();
                component = timeStamp;               
                break;               
            case 10:               
                JMonthPicker monthPicker = new JMonthPicker();
                component = monthPicker;               
                break;               
            case 11:
            case 12:               
                CurrencyPlugin cp = CurrencyPlugin.getInstance();
View Full Code Here

            case 6:               
                JCheckBox checkBox = new JCheckBox();
                component = checkBox;               
                break;           
            case 9:               
                JTimeStamp timeStamp = new JTimeStamp();
                component = timeStamp;               
                break;               
            case 10:               
                JMonthPicker monthPicker = new JMonthPicker();
                component = monthPicker;               
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

TOP

Related Classes of realcix20.classes.plugins.CurrencyPlugin

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.