Package org.jitterbit.ui.input

Examples of org.jitterbit.ui.input.TextInputField2


    }
   
    private TextInputField2 createNameField(IntegrationProject proj) {
        String nameCaption = Strings.get("ProjectPage.Label.Name");
        JLabel nameLabel = new JLabel(nameCaption);
        TextInputField2 field = InterchangeViewUtils.getIntegrationEntityNameInputField(proj, nameCaption, nameLabel, 40);
        field.setEditable(false);
        return field;
    }
View Full Code Here


    public StringValueDefiner(InputPanel parent, String label, boolean mayBeEmpty) {
        if (mayBeEmpty) {
            field = InputFieldFactory.getTextInputField(label, label, 40, false);
            parent.addInputField(field);
        } else {
            TextInputField2 tf = InputFieldFactory.getNonEmptyTextInputField(label, label, 40, false);
            parent.addInputField(tf, tf, tf);
            field = tf;
        }
    }
View Full Code Here

        choices.add(f.getInputComponent());
        return f;
    }

    private TextInputField2 createVariableField() {
        TextInputField2 f = InputFieldFactory.getNonEmptyTextInputField("Response Variable Name",
                KongaLabel.withMnemonic("Variable name"), 24);
        f.getInputComponent().getDocument().addDocumentListener(new NameListener());
        panel.addInputField(f, f, f);
        return f;
    }
View Full Code Here

            parent.addInputPanel(panel);
        }
    }

    private TextInputField2 createVariableField() {
        TextInputField2 f = InputFieldFactory.getTextInputField2("Request Variable Name",
                KongaLabel.withMnemonic("Global variable name for request"), 24, true);
        panel.addInputField(f, f, f);
        return f;
    }
View Full Code Here

    }

    private TextInputField2 createNameField(IntegrationEntity e) {
        String name = Strings.get("EntityPage.NameField.Name");
        JLabel label = KongaLabel.withMnemonic(Strings.get("EntityPage.NameField.Label"));
        TextInputField2 field = InterchangeViewUtils.getIntegrationEntityNameInputField(e, name, label, 30);
        field.setValue(e.getName());
        addInputField(field, field, field);
        return field;
    }
View Full Code Here

        }
        scanner.install(builder.getExpressionArea().getTextPane());
    }

    private void addExpressionAreaInputField() {
        TextInputField2 field = builder.getExpressionArea().asInputField("Expression");
        addInputField(field, field, field);
    }
View Full Code Here

    public void requestFocus() {
        // TODO: Implement me, if needed.
    }

    private TextInputField2 createValueField(InputPanel parent, String name, String label) {
        TextInputField2 field = InputFieldFactory.getTextInputField2(name, label, 40, true);
        parent.addInputField(field);
        return field;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.input.TextInputField2

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.