Package net.datacrow.core.objects

Examples of net.datacrow.core.objects.DcTemplate


    @Override
    public void build() {
        setLayout(layout);
       
        DcTemplate template = (DcTemplate) dco;
       
        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));
View Full Code Here


     * Creates a new template item.
     * @see DcTemplate
     */
    @Override
    public DcObject createItem() {
        return new DcTemplate(getIndex(), parent.getIndex());
    }   
View Full Code Here

TOP

Related Classes of net.datacrow.core.objects.DcTemplate

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.