Package org.jitterbit.ui.property

Examples of org.jitterbit.ui.property.TextBinding


    private void addBindings() {
        Bindings bindings = new Bindings();
        // We do not need to dispose the bindings, since the lifetime of this UI is the same
        // as the lifetime of the engine.
        Property<String> details = engine.getProperty(ServerEngine.DETAILS);
        bindings.add(new TextBinding(details, statusArea));
        Property<EnumSet<ServerStatus>> status = engine.getProperty(ServerEngine.STATUS);
        bindings.add(new StatusBinding(status));
        bindings.syncUi();
    }
View Full Code Here


        public Ui() {
            renameOption = new KongaRadioButton("&Rename the file", true);
            overwriteOption = new KongaRadioButton("&Overwrite the existing file");
            fileNameField = new FileNameField(30);
            ButtonUtils.makeMutuallyExclusive(renameOption, overwriteOption);
            TextBinding nameBinding = TextBinding.bind(model, XsdGeneratorModel.FILE_NAME, fileNameField.getInputComponent());
            nameBinding.syncUi();
            renameOption.addActionListener(new ActionListener() {

                @Override
                public void actionPerformed(ActionEvent e) {
                    fileNameField.requestFocus();
View Full Code Here

    }

    private Bindings installBindings() {
        Bindings bindings = new Bindings();
        Property<String> searchString = model.getProperty(TextSearchModel.SEARCH_STRING);
        bindings.add(new TextBinding(searchString, searchTextField));
        if (replaceField != null) {
            Property<String> replaceString = model.getProperty(TextSearchModel.REPLACE_STRING);
            bindings.add(new TextBinding(replaceString, replaceField));
        }
        Property<Boolean> caseSensitive = model.getProperty(TextSearchModel.CASE_SENSITIVE);
        bindings.add(new BooleanBinding(caseSensitive, caseSensitiveSelector));
        Property<Boolean> wholeWords = model.getProperty(TextSearchModel.WHOLE_WORDS);
        bindings.add(new BooleanBinding(wholeWords, wholeWordsSelector));
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.property.TextBinding

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.