Package org.jitterbit.ui.widget.text

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


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

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


    private final KongaTextField textField;

    private DelayedDocumentContentChangeReaction changeHandler;

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

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

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

    public ProjectNameInputField() {
        this(null);
    }

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

        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

        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

    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

     *
     */
    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

        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

    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

Related Classes of org.jitterbit.ui.widget.text.KongaTextField$RepaintTrigger

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.