Search in sources :

Example 1 with EventAttribute

use of org.robobinding.attribute.EventAttribute in project RoboBinding by RoboBinding.

the class ChildViewAttributesBuilderImpl method add.

@Override
public void add(String attributeName, EventViewAttribute<ViewType, ? extends ViewAddOn> viewAttribute) {
    EventAttribute attribute = resolvedGroupAttributes.eventAttributeFor(attributeName);
    EventViewAttributeBinder viewAttributeBinder = viewAttributeBinderFactory.binderFor(viewAttribute, attribute);
    childViewAttributeMap.put(attributeName, viewAttributeBinder);
}
Also used : EventAttribute(org.robobinding.attribute.EventAttribute) EventViewAttributeBinder(org.robobinding.viewattribute.event.EventViewAttributeBinder)

Example 2 with EventAttribute

use of org.robobinding.attribute.EventAttribute in project RoboBinding by RoboBinding.

the class ChildViewAttributesBuilderImpl method add.

@Override
public void add(String attributeName, EventViewAttributeFactory<ViewType> factory) {
    EventAttribute attribute = resolvedGroupAttributes.eventAttributeFor(attributeName);
    EventViewAttributeBinder viewAttributeBinder = viewAttributeBinderFactory.binderFor(factory, attribute);
    childViewAttributeMap.put(attributeName, viewAttributeBinder);
}
Also used : EventAttribute(org.robobinding.attribute.EventAttribute) EventViewAttributeBinder(org.robobinding.viewattribute.event.EventViewAttributeBinder)

Aggregations

EventAttribute (org.robobinding.attribute.EventAttribute)2 EventViewAttributeBinder (org.robobinding.viewattribute.event.EventViewAttributeBinder)2