Package org.jitterbit.ui.input

Examples of org.jitterbit.ui.input.LongInputField


        addInputFields();
    }

    private static LongInputField createDelayField() {
        JLabel label = new JLabel(Strings.get("Page.Label.Delay"));
        LongInputField field = new LongInputField(
                        "Call Delay", new KongaTextField(10), 0, Integer.MAX_VALUE, false, label);
        field.setRequired(false);
        return field;
    }
View Full Code Here


        return field;
    }

    private static LongInputField createDataLimitField() {
        JLabel label = new JLabel(Strings.get("Page.Label.MaxSize"));
        LongInputField field = new LongInputField(
                        "Data Size", new KongaTextField(10), 0, Integer.MAX_VALUE, false, label);
        field.setRequired(false);
        return field;
    }
View Full Code Here

                                                   int length,
                                                   boolean isFixedSize) {
        JTextComponent comp = getTextField(length, isFixedSize);
        comp.setDocument(new LongInputField.LongDocument(allowNegativeValues));
        JLabel jlabel = (label != null && label.length() > 0) ? new JLabel(label) : null;
        return new LongInputField(name, comp, minValue, maxValue, allowNegativeValues, jlabel);
    }
View Full Code Here

        parent.addInputField(field);
        return field;
    }

    private LongInputField createValueField(InputPanel parent) {
        LongInputField field = InputFieldFactory.getLongInputField("LifeTime",
                        PackageResources.LifeTimeDefiner.FIELD_LABEL, 1, Long.MAX_VALUE, false, 16, true);
        field.setRequired(true);
        parent.addInputField(field);
        return field;
    }
View Full Code Here

TOP

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

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.