Examples of DcLabel


Examples of net.datacrow.console.components.DcLabel

        panel.setLayout(layout);
        return panel;
    }
   
    protected DcLabel getLabel(int field, boolean label, int width) {
        DcLabel lbl = new DcLabel();
        if (label) {
            lbl.setFont(DcSettings.getFont(DcRepository.Settings.stSystemFontBold));
            lbl.setText(dco.getLabel(field));
        } else {
            lbl.setFont(DcSettings.getFont(DcRepository.Settings.stSystemFontNormal));
            lbl.setText(dco.getDisplayString(field));
        }
       
        lbl.setPreferredSize(new Dimension(width, fieldHeight));
       
        return lbl;
    }      
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        add(component, Layout.getGBC( x, y, 1, 1, 1.0, 1.0
           ,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, insets, 0, 0));         
    }
   
    protected DcLabel getRatingValueLabel() {
        DcLabel labelRating = ComponentFactory.getLabel(dco.getDisplayString(DcMediaObject._E_RATING))//Utilities.getRatingIcon(value)(dco.getValue(DcMediaObject._E_RATING)));
        labelRating.setPreferredSize(new Dimension(55, fieldHeight));
        return labelRating;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        labelRating.setPreferredSize(new Dimension(55, fieldHeight));
        return labelRating;
    }
   
    protected DcLabel getLabel(String text, boolean label, int width) {
        DcLabel lbl = new DcLabel();
       
        if (label) {
            Font font = DcSettings.getFont(DcRepository.Settings.stSystemFontBold);
            lbl.setFont(new Font(font.getName(), Font.BOLD, font.getSize()));
        } else {
            lbl.setFont(DcSettings.getFont(DcRepository.Settings.stSystemFontNormal));
        }
       
        lbl.setText(text);
        lbl.setPreferredSize(new Dimension(width, fieldHeight));
        return lbl;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        return lbl;
    }
   
    @Override
    protected DcLabel getLabel(int field, boolean label, int width) {
        DcLabel lbl = new DcLabel();
        if (label) {
            Font font = DcSettings.getFont(DcRepository.Settings.stSystemFontBold);
            lbl.setFont(new Font(font.getName(), Font.BOLD, font.getSize()));
            lbl.setText(dco.getLabel(field));
        } else {
            lbl.setFont(DcSettings.getFont(DcRepository.Settings.stSystemFontNormal));
            lbl.setText(dco.getDisplayString(field));
        }
       
        lbl.setPreferredSize(new Dimension(width, fieldHeight));
       
        return lbl;
    }   
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

       
        String label = dco.getDisplayString(DcTemplate._SYS_TEMPLATENAME);
        if (template.isDefault())
            label += " (" + DcResources.getText("lblDefault") + ")";
       
        DcLabel lbl = new DcLabel(label);
        lbl.setPreferredSize(new Dimension(800, fieldHeight));
        lbl.setFont(DcSettings.getFont(DcRepository.Settings.stSystemFontNormal));
       
        panelInfo = getPanel();
        panelInfo.add(lbl);
        panelInfo.setPreferredSize(new Dimension(800, fieldHeight));
        add(panelInfo);
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        longText.setFont(getStandardFont());
        return longText;
    }

    public static final DcLabel getLabel(ImageIcon icon) {
        DcLabel label = new DcLabel(icon);
        return label;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        DcLabel label = new DcLabel(icon);
        return label;
    }

    public static final DcLabel getLabel(String labelText, ImageIcon icon) {
        DcLabel label = getLabel(labelText);
        if (icon != null) label.setIcon(icon);
        return label;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

        label.setText(labelText);
        return label;
    }

    public static final DcLabel getLabel(String labelText) {
        DcLabel label = new DcLabel();
        label.setText(labelText);
        label.setRequestFocusEnabled(false);
        label.setFont(getSystemFont());
        label.setToolTipText(labelText);

        return label;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLabel

       
        // Fields
        JPanel panelFields = new JPanel();
        panelFields.setLayout(Layout.getGBL());

        DcLabel labelPredefined = ComponentFactory.getLabel(DcResources.getText("lblPredefinedFields"));
        DcLabel lebelFields = ComponentFactory.getLabel(update ? DcResources.getText("lblFields") : DcResources.getText("lblNewFields"));
       
        tableSysFields.setColumnCount(1);
        TableColumn colSysField = tableSysFields.getColumnModel().getColumn(0);
        colSysField.setCellEditor(new DefaultCellEditor(ComponentFactory.getTextFieldDisabled()));
        colSysField.setHeaderValue(DcResources.getText("lblName"));
View Full Code Here

Examples of org.eobjects.datacleaner.widgets.DCLabel

          + "providing us with your eobjects.org user credentials.<br><br>"
          + "If you are not registered yet, we hope that you will do so now, giving "
          + "the DataCleaner development community a better sense of it's users and audience.<br><br>"
          + "By logging in, you also accept transmitting very simple usage statistics to the DataCleaner "
          + "community, signaling which features you are using.";
      final DCLabel loginInfoLabel = DCLabel.brightMultiLine(loginInfo);
      loginInfoLabel.setSize(300, 250);
      loginInfoLabel.setPreferredSize(new Dimension(300, 250));
      WidgetUtils.addToGridBag(loginInfoLabel, this, 0, y, 2, 1, GridBagConstraints.CENTER, 0, 1.0, 1.0);

      y++;
      WidgetUtils.addToGridBag(Box.createVerticalStrut(4), this, 0, y, 2, 1);
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.