Examples of KongaTextField


Examples of org.jitterbit.ui.widget.text.KongaTextField

        rememberPasswordBox = new KongaCheckBox("&Remember password");
        bindModel(model);
    }

    private JTextField createUserField() {
        KongaTextField field = new KongaTextField(20);
        field.setSelectAllWhenFocused(true);
        return field;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

    private final KongaTextField textField;

    private DelayedDocumentContentChangeReaction changeHandler;

    public AbstractStringBasedSearchField() {
        textField = new KongaTextField(20);
        textField.setSelectAllWhenFocused(true);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

        return (value.length() == 0) ? PackageResources.DelimiterField.MISSING_DELIMITER
                        : PackageResources.DelimiterField.INVALID_DELIMITER;
    }

    private static JTextComponent createTextField() {
        return new KongaTextField(2);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

    public ProjectNameInputField() {
        this(null);
    }

    public ProjectNameInputField(String label) {
        super("Project Name", new KongaTextField(30), label);
        setSelectAllWhenFocused(true);
        setAutoTrim(true);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

        field.setValue(projectName);
        return field;
    }

    private KongaTextField createLocationField(File location) {
        KongaTextField field = new KongaTextField(location.getAbsolutePath(), 30);
        installLocationAutoCompletion(field);
        return field;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

        packageField = createPackageField();
        installAutoCompletion();
    }
   
    private KongaTextField createPackageField() {
        KongaTextField field = new KongaTextField();
        field.addActionListener(new InsertPackageFromFieldAction());
        field.setLabel("Import &package (ENTER to insert):");
        field.setSelectAllWhenFocused(true);
        return field;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

    public StringFilterField(StringSearchRule... options) {
        this.options = Lists.newArrayList();
        for (StringSearchRule o : options) {
            this.options.add(o);
        }
        field = new KongaTextField(10);
        if (options.length > 1) {
            optionsButton = installOptionsButton();
            iconLabel = null;
        } else {
            iconLabel = installFilterIcon();
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

     *
     */
    public TextFieldInput(String title, String caption) {
        this.title = title;
        validator = TextFieldInputValidator.ALWAYS_VALID;
        field = new TextInputField2("", new KongaTextField(), KongaLabel.withMnemonic(caption)) {

            @Override
            public boolean isInputValid(String value) {
                return validator.validate(value);
            }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

        label.setToolTipText(s);
        return label;
    }

    public JTextField makeValueTextField(String s) {
        JTextField field = new KongaTextField(s);
        if (fieldWidth >= 0) {
            field.setColumns(fieldWidth);
        }
        field.setEditable(false);
        field.setToolTipText(s);
        field.setCaretPosition(0);
        field.setBackground(Color.WHITE);
        return field;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.text.KongaTextField

    public static JComponent getCapsule(InputField input, int orientation, boolean useScroll) {
        return new InputFieldCapsule(input, orientation, useScroll);
    }

    public static KongaTextField getTextField(int length, boolean isFixedSize) {
        KongaTextField field = new KongaTextField(length);
        field.setFixedSize(isFixedSize);
        return field;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.