Search in sources :

Example 1 with LabelPropertyView

use of com.codename1.rad.propertyviews.LabelPropertyView in project CodeRAD by shannah.

the class UIBuilder method image.

public LabelPropertyView image(Tag... tags) {
    FieldNode fn = new FieldNode(UI.tags(tags));
    fn.setParent(parentNode);
    return LabelPropertyView.createIconLabel(new com.codename1.ui.Label(), entity, fn);
}
Also used : FieldNode(com.codename1.rad.nodes.FieldNode)

Example 2 with LabelPropertyView

use of com.codename1.rad.propertyviews.LabelPropertyView in project CodeRAD by shannah.

the class UIBuilder method label.

public LabelPropertyView label(Tag... tags) {
    FieldNode fn = new FieldNode(UI.tags(tags));
    fn.setParent(parentNode);
    return new LabelPropertyView(new com.codename1.ui.Label(), entity, fn);
}
Also used : LabelPropertyView(com.codename1.rad.propertyviews.LabelPropertyView) SpanLabelPropertyView(com.codename1.rad.propertyviews.SpanLabelPropertyView) FieldNode(com.codename1.rad.nodes.FieldNode)

Aggregations

FieldNode (com.codename1.rad.nodes.FieldNode)2 LabelPropertyView (com.codename1.rad.propertyviews.LabelPropertyView)1 SpanLabelPropertyView (com.codename1.rad.propertyviews.SpanLabelPropertyView)1