Package org.jitterbit.ui.input

Examples of org.jitterbit.ui.input.InputField


        addInputField(selector.asInputFieldForChangeDetection());
        return selector;
    }

    private void doLayout() {
        InputField tfLayout = transformationSelector.asInputFieldForLayout();
        InputField[] fields = { sourceAndTargetSelector.getSourceFieldForLayout(), tfLayout,
                        sourceAndTargetSelector.getTargetFieldForLayout() };
        InputFieldLayoutUtils.layoutOneColumn(this, fields, true, false);
    }
View Full Code Here


     * Lays out this selection control in a <code>TwoColumnLayout</code>, with the label to the left
     * and the selection widget to the right.
     *
     */
    public void layoutIn(TwoColumnLayout grid) {
        InputField f = asInputFieldForLayout();
        f.layoutIn(grid);
    }
View Full Code Here

    public InputField getSourceField() {
        return sourceSelector.asInputFieldForChangeDetection();
    }

    public InputField getSourceFieldForLayout() {
        InputField field = sourceSelector.asInputFieldForLayout();
        RendererUtils.decorateRenderer(field.getLabel(), EntityType.Source);
        return field;
    }
View Full Code Here

    public InputField getTargetField() {
        return targetSelector.asInputFieldForChangeDetection();
    }

    public InputField getTargetFieldForLayout() {
        InputField field = targetSelector.asInputFieldForLayout();
        RendererUtils.decorateRenderer(field.getLabel(), EntityType.Target);
        return field;
    }
View Full Code Here

    private InputField getDateTimeDisplayerAsInputField() {
        String name = getString("Label.CurrentTimeInSelectedTimeZone");
        TextStyle style = TextStyles.InputLabelText;
        JLabel lbl = style.makeLabel(name);
        dateTimeDisplayer.setAppearance(style.asLabelDecorator(null));
        return new InputField(name, BorderLayoutBuilder.fillWith(dateTimeDisplayer), lbl) {

            @Override
            public void makeReadOnly() {
                dateTimeDisplayer.setEditable(false);
            }
View Full Code Here

    private class TargetLayout extends Layout {

        @Override
        protected void addAdditionalTopControls(DataLocationPanelLayout top) {
            InputField filter = fileLocationPanel.getFileFilterFieldAsInputFieldForLayout();
            top.add(filter.getLabel(), filter.getInputComponent(), getInputFieldCapsule(renameOption));
        }
View Full Code Here

    /**
     * Adds the controls for login to a <code>DataLocationPanelLayout</code>.
     *
     */
    public void layoutLoginControl(DataLocationPanelLayout layout) {
        InputField field = loginField.asInputFieldForLayout();
        layout.add(field.getLabel(), field.getInputComponent(), passwordButton);
    }
View Full Code Here

     * Adds the controls for the source file filter to a <code>DataLocationPanelLayout</code>.
     *
     */
    public void layoutSourceFileFilterControls(DataLocationPanelLayout layout) {
        verifySourceOnlyFunctionality();
        InputField field = fileFilterField.asInputFieldForLayout();
        layout.add(field.getLabel(), field.getInputComponent(), createEditFilterOptionsButton());
    }
View Full Code Here

        loginField.installAutoCompletion(history);
    }

    @Override
    public final void addToLayout(DataLocationPanelLayout layout) {
        InputField field = loginField.asInputFieldForLayout();
        layout.add(field.getLabel(), field.getInputComponent(), passwordButton);
    }
View Full Code Here

        cb.getComboBox().setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        return cb;
    }
   
    private void addInputField(InputPanel p) {
        InputField f = documentSelector.getComboBox().asInputField("", "");
        p.addInputField(f);
    }
View Full Code Here

TOP

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

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.