Package org.jitterbit.ui.widget.text

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


        BoxBuilder row = BoxBuilder.horizontal();
        return row.addAllWithSpace(10, targetField, openMappingAction).container();
    }

    private JTextField createTargetField() {
        JTextField field = new KongaTextField(50);
        field.setEditable(false);
        field.setBackground(Color.WHITE);
        return field;
    }
View Full Code Here


        }
    }

    private void createComponents() {
        statusIndicator = new JLabel(EMPTY_ICON);
        filePathField = new KongaTextField(30);
        browseButton = new KongaButton(ApplicationResources.STRINGS.getString("Browse..."));
        browseButton.addActionListener(this);
    }
View Full Code Here

    }

    private KongaTextField createSelectedNodeField() {
        NodePath path = new NodePath(model.getSelectedNode().m_deName);
        String nodeName = path.getLeafName();
        KongaTextField field = new KongaTextField(nodeName);
        field.setEditable(false);
        return field;
    }
View Full Code Here

    private DbObjectsViewFilter filter;

    public FilterControl(JXTreeTable treeTable) {
        this.treeTable = treeTable;
        listenToTreeTable(treeTable);
        filterField = new KongaTextField(20);
        ActionKeyBinding.install(new FocusTreeAction(), filterField);
        installAutoUpdate();
    }
View Full Code Here

    private final KongaTextField field;

    public FilterField(SelectorTable<CROM> table) {
        this.table = table;
        field = new KongaTextField(20);
        ActionKeyBinding.install(new ArrowDown(), field);
        listenToField();
    }
View Full Code Here

   
    public SampleFileToXsdUi(FileType fileType) {
        localFileChoice = new KongaRadioButton("Use a &local " + fileType + " file", true);
        fileSelector = createFileSelector(fileType);
        remoteFileChoice = new KongaRadioButton("&URL to a remote " + fileType + " file", true);
        urlField = new KongaTextField(40);
        urlField.setSelectAllWhenFocused(true);
        xsdFileNameField = new FileNameField("XSD File Name", "(Optional) XSD file &name:", 40);
        xsdFileNameField.setRequired(false);
        xsdFileNameField.setTextWhenEmpty("A file name will be generated automatically if empty");
        ButtonUtils.makeMutuallyExclusive(localFileChoice, remoteFileChoice);
View Full Code Here

        checkNotNull(tree, "tree");
        checkNotNull(resultCallback, "resultCallback");
        this.tree = tree;
        this.title = title;
        this.resultCallback = resultCallback;
        searchField = new KongaTextField();
        nodeTypeSelector = createNodeTypeSelector();
        directionPanel = SearchDirectionPanel.newHorizontalPanel();
        findNextAction = new FindNextAction();
        searchField.addActionListener(findNextAction);
        currentSearchParams = getSearchParameters();
View Full Code Here

        super.dispose();
    }
   
    private void installOpenFolderAction() {
        if (DebugMode.IS_ENABLED && SystemUtils.IS_OS_WINDOWS) {
            KongaTextField field = (KongaTextField) getInputComponent();
            GoToLocationAction action = new GoToLocationAction(field);
            KeyBindingInstaller inst = new KeyBindingInstaller(getInputComponent());
            inst.addBinding(null, "open", action);
            inst.install();
            field.addActionToContextMenu(action);
            field.addActionToContextMenu(null);
        }
    }
View Full Code Here

            field.addActionToContextMenu(null);
        }
    }

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

            setRequired(false);
            setAutoTrim(true);
        }

        private static JTextComponent createTextComponent() {
            KongaTextField f = new KongaTextField(4);
            f.setDocument(new IntegerDocument());
            f.setSelectAllWhenFocused(true);
            return f;
        }
View Full Code Here

TOP

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

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.