Package org.jitterbit.ui.widget.text

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


    }

    private void createPassPhraseField(boolean useDecryption) {
        String inputFieldName = Strings.get("Location.Decryption.Label.PassPhrase");
        JLabel passPhraseLabel = TextStyles.CaptionText.makeLabel(inputFieldName);
        JTextField phrase = new KongaTextField(30);
        if (useDecryption) {
            phrase.setText(initialPassPhrase);
        }
        phrase.setEnabled(useDecryption);
        phrase.setEditable(useDecryption);
        passPhrase = new DefaultNonEmptyTextInputField(inputFieldName, phrase, passPhraseLabel);
        passPhrase.setActive(false);
    }
View Full Code Here


        ButtonUtils.makeMutuallyExclusive(addConditionSelector, deleteSelector, addMapSelector);
        ButtonUtils.addItemListener(this, addConditionSelector, deleteSelector, addMapSelector);
    }

    private void createTextField() {
        numberOfFoldersField = new KongaTextField(5);
        numberOfFoldersField.setSelectAllWhenFocused(true);
        numberOfFoldersField.getDocument().addDocumentListener(new DocumentContentChangeListener() {

            @Override
            public void contentChanged(DocumentEvent e) {
View Full Code Here

final class FileNameField extends TextInputField2 {

    private final WindowsFileNameValidator validator;

    public FileNameField(int width) {
        super("File Name", new KongaTextField(width), "XSD file &name:");
        validator = new WindowsFileNameValidator();
        setSelectAllWhenFocused(true);
        setActive(true);
        decorateField();
    }
View Full Code Here

            TextStyles.DefaultRadioButtonText.makeOver(defaultButton, invertedButton);
            ButtonUtils.makeMutuallyExclusive(defaultButton, invertedButton);
        }

        private void createFileInputComponents() {
            filePathTextField = new KongaTextField(30);
            browseButton = new KongaButton(ApplicationResources.STRINGS.getString("Browse..."));
            browseButton.addActionListener(new ActionListener() {

                @Override
                public void actionPerformed(ActionEvent evt) {
View Full Code Here

        return input;
    }
   
    private IntegerInputField createPortField(InputPanel parent, int columns) {
        String label = Strings.get("DefaultPortDefiner.Port");
        IntegerInputField field = new IntegerInputField(label, new KongaTextField(columns), 1, 65536, new JLabel(label));
        parent.addInputField(field, field, field);
        return field;
    }
View Full Code Here

    public String getInvalidMessage(String value) {
        return message;
    }

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

        JComponent c = InputFieldFactory.getCapsule(this);
        return new UiProviderAdapter(c);
    }

    private static JTextComponent createInputComponent(int length) {
        return new KongaTextField(length);
    }
View Full Code Here

     *            the length of the text field.
     * @param label
     *            an optional <code>JLabel</code>.
     */
    public DateInputField(String name, DateFormat format, int length, JLabel label) {
        this(name, format, new KongaTextField(length), label);
    }
View Full Code Here

       
        private final KongaPasswordField passwordField;
       
        public Ui(String caption) {
            this.caption = caption;
            this.userField = new KongaTextField(20);
            this.passwordField = new KongaPasswordField(20);
        }
View Full Code Here

        parent.addInputField(input);
        return input;
    }
   
    private TextInputField createTypeField(InputPanel parent) {
        TextInputField field = new TextInputField(getString("Http.ContentType.Name"), new KongaTextField(20),
                        KongaLabel.withMnemonic(getString("Http.ContentType.Label")));
        parent.addInputField(field);
        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.