Package com.nexirius.framework.datamodel

Examples of com.nexirius.framework.datamodel.SimpleArrayModel


        "10005",
        "10006",
    };

    public CodeSelectionModel(int value, String fieldName) {
        super(value, new SimpleArrayModel(TEXT_VALUES), fieldName);
    }
View Full Code Here


                throw new RuntimeException(CURRENCY_CODES + " must be defined in the resources (comma separated list)");
            }

            StringVector codesVector = new StringVector(codes, ", \t");

            currencyCodes = new SimpleArrayModel(codesVector.getArray(), CURRENCY_CODES);
        }

        return currencyCodes;
    }
View Full Code Here

        values = new HashSet();
    }

    public DataModel newInstance(DataModelClasses classes)
            throws ParserException {
        return new ComboBoxModel(0, new SimpleArrayModel(values.toArray()), getName());
    }
View Full Code Here

    public static final int STATUS_CHANGE = DirSyncStatus.STATUS_CHANGE.getCode();
    public static final int STATUS_REMOVE = DirSyncStatus.STATUS_REMOVE.getCode();
    public static final String FIELD_NAME = "DirSyncStatus";

    public DirSyncStatusModel() {
        super(0, new SimpleArrayModel(STATUS_TAGS), FIELD_NAME);
    }
View Full Code Here

        super(0, getExtensionArray(), FIELD_extensionComboBox);
    }

    private static SimpleArrayModel getExtensionArray() {
        if (EXTENSIONARRAY == null) {
            EXTENSIONARRAY = new SimpleArrayModel(EditProperties.getInstance().getSettingsModel().getExtensions().getArray());
        }
        return EXTENSIONARRAY;
    }
View Full Code Here

TOP

Related Classes of com.nexirius.framework.datamodel.SimpleArrayModel

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.