Package com.ulcjava.base.application

Examples of com.ulcjava.base.application.ULCLabel


        while (fields.hasMore()) {
            DataModel child = fields.next();
            try {
                ULCViewer editor = factory.createDefaultUlcEditor(child);

                fieldPane.add(new ULCLabel(factory.getClientResource().getLabel(child.getFieldName())));
                fieldPane.add(ULCBoxPane.BOX_EXPAND_EXPAND, editor.getULCComponent(factory));
            } catch (Exception e) {
                e.printStackTrace()//TODO
            }
        }
View Full Code Here


        return component;
    }

    private ULCLabel createLabel(ULCViewerFactory factory, DataModel model) {
        ULCLabel ulcLabel = new ULCLabel(factory.getClientResource().getLabel(model.getFieldName()));

        ulcLabel.setBackground(new Color(220, 240, 190));
        return ulcLabel;
    }
View Full Code Here

        if (model.getFlag(ModelFlag.TRANSLATE_VALUE)) {
            text = factory.getClientResource().getLabel(text);
        }

        component = new ULCLabel(text);
        component.setToolTipText(factory.getClientResource().getToolTipText(model.getFieldName()));

        return getULCComponent(factory);
    }
View Full Code Here

TOP

Related Classes of com.ulcjava.base.application.ULCLabel

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.