Search in sources :

Example 16 with FieldNode

use of com.codename1.rad.nodes.FieldNode in project CodeRAD by shannah.

the class UIBuilder method textField.

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

Example 17 with FieldNode

use of com.codename1.rad.nodes.FieldNode 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 18 with FieldNode

use of com.codename1.rad.nodes.FieldNode 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)

Example 19 with FieldNode

use of com.codename1.rad.nodes.FieldNode in project CodeRAD by shannah.

the class UIBuilder method htmlComponent.

public HTMLComponentPropertyView htmlComponent(Tag... tags) {
    FieldNode fn = new FieldNode(UI.tags(tags));
    fn.setParent(parentNode);
    return new HTMLComponentPropertyView(new HTMLComponent(), entity, fn);
}
Also used : HTMLComponentPropertyView(com.codename1.rad.propertyviews.HTMLComponentPropertyView) FieldNode(com.codename1.rad.nodes.FieldNode) HTMLComponent(com.codename1.ui.html.HTMLComponent)

Example 20 with FieldNode

use of com.codename1.rad.nodes.FieldNode in project CodeRAD by shannah.

the class UIBuilder method spanLabel.

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

Aggregations

FieldNode (com.codename1.rad.nodes.FieldNode)25 Attribute (com.codename1.rad.models.Attribute)3 Entity (com.codename1.rad.models.Entity)3 LabelPropertyView (com.codename1.rad.propertyviews.LabelPropertyView)2 SpanLabelPropertyView (com.codename1.rad.propertyviews.SpanLabelPropertyView)2 TextAreaPropertyView (com.codename1.rad.propertyviews.TextAreaPropertyView)2 TextFieldPropertyView (com.codename1.rad.propertyviews.TextFieldPropertyView)2 SpanLabel (com.codename1.components.SpanLabel)1 Columns (com.codename1.rad.attributes.Columns)1 PropertyImageRendererAttribute (com.codename1.rad.attributes.PropertyImageRendererAttribute)1 PropertySelectorAttribute (com.codename1.rad.attributes.PropertySelectorAttribute)1 PropertyViewDecoratorAttribute (com.codename1.rad.attributes.PropertyViewDecoratorAttribute)1 Property (com.codename1.rad.models.Property)1 Editable (com.codename1.rad.models.Property.Editable)1 Node (com.codename1.rad.nodes.Node)1 OptionsNode (com.codename1.rad.nodes.OptionsNode)1 PropertyNode (com.codename1.rad.nodes.PropertyNode)1 PropertyViewDecoratorNode (com.codename1.rad.nodes.PropertyViewDecoratorNode)1 PropertyViewFactoryNode (com.codename1.rad.nodes.PropertyViewFactoryNode)1 ButtonListPropertyView (com.codename1.rad.propertyviews.ButtonListPropertyView)1