Examples of KongaLabel


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

        private final KongaLabel label;

        private final JLabel iconLabel;

        public Section(String text, boolean withIcon) {
            label = new KongaLabel(text.toUpperCase(), SwingConstants.CENTER);
            label.setAntiAliasingEnabled(true);
            label.setHorizontalTextPosition(SwingConstants.LEADING);
            WizardStyleSheet.SECTION_STYLE.makeOver(label);
            if (withIcon) {
                iconLabel = new JLabel();
View Full Code Here

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

    public static KongaLabel caption(String text) {
        return WizardStyleSheet.CAPTION_STYLE.makeLabel(text);
    }

    public static KongaLabel number(int number) {
        KongaLabel label = NUMBER_STYLE.makeLabel(String.valueOf(number));
        label.setAntiAliasingEnabled(true);
        return label;
    }
View Full Code Here

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

        public void giveFocusTo() {
            field.requestFocusInWindow();
        }

        private void createCaption() {
            caption = new KongaLabel(Strings.mnemonic("StringSearch.Field.Caption"));
            caption.setAlignmentX(Component.LEFT_ALIGNMENT);
        }
View Full Code Here

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

    private JLabel createCaptionLabel(String caption) {
        if (caption == null) {
            return null;
        }
        KongaLabel label = KongaLabel.withMnemonic(caption);
        label.setLabelFor(comboBox);
        return label;
    }
View Full Code Here

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

    private ComboBoxInputField createComboInput(ComboBoxModel model, MnemonicString label, String nullString) {
        JComboBox tb = new JComboBox(model);
        tb.setRenderer(new Renderer(nullString));
        tb.setMaximumRowCount(16);
        ComboBoxInputField f = new ComboBoxInputField(label.getText(), tb, new KongaLabel(label));
        f.setSelectedIndex(-1);
        return f;
    }
View Full Code Here

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

        @Override
        protected JComponent getButtonLayout(JRadioButton button, OperationType type) {
            MnemonicString text = OperationTypeMnemonics.get(type);
            Icon icon = OperationTypeIcons.smallIcon(type);
            KongaLabel label = new KongaLabel(text);
            label.setIcon(icon);
            label.setLabelForButton(button);
            return BoxBuilder.horizontal().setOpaque(false).addAllWithSpace(5, button, label).container();
        }
View Full Code Here

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

            grid.addRow(localFileChoice);
            grid.addRow(fakeInset().asUiProvider(), fileSelector);
        }

        private KongaLabel fakeInset() {
            return new KongaLabel("       ");
        }
View Full Code Here

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

            addOptionsUi(col);
            row.add(col);
        }
       
        private void addSearchField(OneColumnPanel parent) {
            JLabel label = new KongaLabel(ApplicationResources.MNEMONIC_FACTORY.fromString(
                            TreeStrings.get("Search.FieldLabel")));
            label.setLabelFor(searchField);
            BoxBuilder row = BoxBuilder.horizontal();
            row.addAllWithSpace(10, label, searchField);
            parent.setWeightX(1.0);
            parent.add(row);
        }
View Full Code Here

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

                        regExChoice.isSelected());
    }
   
    private CheckBoxInputField createChoice(String name, String label, boolean value) {
        KongaCheckBox check = new KongaCheckBox(value);
        JLabel jlabel = new KongaLabel(ApplicationResources.MNEMONIC_FACTORY.fromString(label));
        CheckBoxInputField field = new CheckBoxInputField(name, check, jlabel);
        addInputField(field);
        return field;
    }
View Full Code Here

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

        layout.addRow(createLabel(), selector);
    }

    private JLabel createLabel() {
        MnemonicString text = ApplicationResources.MNEMONIC_FACTORY.fromString(getString("Search.Mode.Caption"));
        KongaLabel label = new KongaLabel(text);
        label.setLabelFor(selector);
        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.