use of com.codename1.rad.nodes.ListNode in project CodeRAD by shannah.
the class TabsEntityView method createListTab.
private EntityView createListTab(ListNode ln) {
PropertySelector selector = ln.createPropertySelector(getEntity());
if (selector == null) {
return null;
}
EntityList tabEntity = selector.getEntityList(null);
if (tabEntity == null) {
return null;
}
ln.setAttributesIfNotExists(UI.param(SCROLLABLE_Y, true));
return new EntityListView(tabEntity, ln);
}
use of com.codename1.rad.nodes.ListNode in project CodeRAD by shannah.
the class TabsEntityView method createTab.
private EntityView createTab(Node node) {
ViewNode vn = (ViewNode) node.as(ViewNode.class);
if (vn != null) {
return createViewTab(vn);
}
ListNode ln = (ListNode) node.as(ListNode.class);
if (ln != null) {
return createListTab(ln);
}
return null;
}
Aggregations