Examples of KongaLabel


Examples of org.jitterbit.ui.widget.label.KongaLabel

    private final KongaLabel label;

    public CheckBoxCapsule(EntityType type) {
        checkBox = new KongaCheckBox();
        EntityIcons icons = EntityIcons.forType(type);
        label = new KongaLabel(type.getDisplayName(), icons.getDefaultIcon(Size.SMALL), JLabel.LEFT);
        TextStyles.DefaultCheckBoxText.makeOver(label);
        label.addMouseListener(this);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

     *            the item's parent. This argument may be null, in case the parent does not yet
     *            exist or is unknown. The parent can be provided later (or changed) by calling
     *            {@link #setParent(Folder) setParent}.
     */
    public WizardNameInputField(MnemonicString name, IntegrationEntity item, Folder parent) {
        super(name.getText(), createTextField(), new KongaLabel(name));
        this.item = item;
        setParent(parent);
        setSelectAllWhenFocused(true);
        setValue(item.getName());
        setAutoTrim(true);
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

        }
    }
   
    private static TextInputField2 getLoginField(boolean isRequired) {
        String name = ApplicationResources.STRINGS.getString("Login");
        KongaLabel label = KongaLabel.withMnemonic(Strings.get("Login.Label"));
        TextInputField2 field = null;
        if (isRequired) {
            field = InputFieldFactory.getNonEmptyTextInputField(name, label, 20, false);
        } else {
            field = InputFieldFactory.getTextInputField2(name, label, 20, false);
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

     *            the label text.
     * @return a <code>KongaLabel</code> with font and color attributes as specified by this
     *         <code>TextStyle</code>.
     */
    public KongaLabel makeLabel(String text) {
        KongaLabel lbl = new KongaLabel(text);
        makeOver(lbl);
        return lbl;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

    /**
     * Creates a <code>KongaLabel</code> with the given <code>MnemonicString</code>, by
     * applying the mnemonic information encoded into <code>string</code> to the label.
     */
    public KongaLabel makeLabel(MnemonicString string) {
        KongaLabel lbl = makeLabel(string.getText());
        LabelUtils.applyMnemonics(lbl, string);
        return lbl;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

            if (StringUtils.isEmpty(caption)) {
                layout.north(s);
            } else {
                OneColumnPanel col = new OneColumnPanel();
                col.setWeightX(1.0);
                KongaLabel label = TextStyles.InfoText.makeLabel(caption);
                label.setBorder(Empty.border(0, 0, 5, 0));
                col.add(label);
                col.add(s);
                layout.north(col);
            }
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

        return check;
    }

    private JComponent createGettingStartedHelpBlurb() {
        TextStyle captionStyle = TextStyle.adjustSize(WizardStyleSheet.SECTION_STYLE, 2);
        KongaLabel caption = captionStyle.makeLabel("Getting Started Help");
        caption.setAntiAliasingEnabled(true);
        caption.setBorder(Empty.border(0, 0, 10, 0));
        TextStyle textStyle = TextStyle.adjustSize(TextStyles.DefaultText, 1);
        JLabel text = textStyle.makeLabel("<html>First time using Jitterbit? Need a<br>" +
            "refresher? Use these tools to get<br>" +
            "started with your first integration.</html>");
        OneColumnPanel left = new OneColumnPanel();
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

        layout.setBackground(Color.WHITE).setBorder(new BorderBuilder().line().empty(5));
        return layout;
    }

    private UiProvider layoutList() {
        KongaLabel label = KongaLabel.withMnemonic(Strings.get("EntityPage.Dependencies.Displayer.UsedBy"));
        list.setLabel(label);
        return list;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

   
    @Override
    public void decorate(UiCanvas canvas) {
        BoxBuilder row = BoxBuilder.horizontal(panel);
        if (title != null) {
            KongaLabel titleLabel = KongaLabel.withMnemonic(title);
            titleLabel.setLabelFor(tree);
            row.add(titleLabel);
        }
        row.glue().addAllWithSpace(5, expandAll, collapseAll);
        row.decorate(canvas);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.label.KongaLabel

    private JLabel createTitleLabel(String title) {
        if (StringUtils.isEmpty(title)) {
            return null;
        }
        KongaLabel label = KongaLabel.withMnemonic(title);
        label.setLabelFor(textField.getInputComponent());
        return label;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.