Package org.cruxframework.crux.core.rebind.screen.widget.declarative

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagChildLazyConditions


      if (tagChildren != null)
      {
        for (TagChild child : tagChildren.value())
        {
          Class<?> childProcessor = child.value();
          TagChildLazyConditions lazyConditions = childProcessor.getAnnotation(TagChildLazyConditions.class);
          if (lazyConditions != null)
          {
            WidgetLazyChecker lazyChecker = initializeLazyChecker(lazyConditions);
            if (lazyChecker != null)
            {
View Full Code Here


      final boolean isAnyWidget = (AnyWidgetChildProcessor.class.isAssignableFrom(childProcessorClass));
      final boolean isAnyWidgetType = (processorAttributes!=null && (AnyWidget.class.isAssignableFrom(processorAttributes.type()) ||
                                       WidgetCreator.class.isAssignableFrom(processorAttributes.type())));
     
      TagChildLazyConditions lazyConditions = childProcessorClass.getAnnotation(TagChildLazyConditions.class);
      final WidgetLazyChecker lazyChecker = (lazyConditions== null?null:LazyWidgets.initializeLazyChecker(lazyConditions));
     
      final String childName = getChildTagName(tagName, isAgregator, (isAnyWidget || isAnyWidgetType));

      ChildProcessor childProcessor = createChildProcessor(isAnyWidget, widgetProperty, lazyChecker, processor, supportedDevices);
View Full Code Here

    final boolean isAgregator = isAgregatorProcessor(childProcessorClass);
    final boolean isAnyWidget = (AnyWidgetChildProcessor.class.isAssignableFrom(childProcessorClass));
      final boolean isAnyWidgetType = (processorAttributes!=null && (AnyWidget.class.isAssignableFrom(processorAttributes.type()) ||
           WidgetCreator.class.isAssignableFrom(processorAttributes.type())));

    TagChildLazyConditions lazyConditions = childProcessorClass.getAnnotation(TagChildLazyConditions.class);
    final WidgetLazyChecker lazyChecker = (lazyConditions== null?null:LazyWidgets.initializeLazyChecker(lazyConditions));
   
    final String childName = getChildTagName(tagName, isAgregator, (isAnyWidget || isAnyWidgetType));
   
    ChildrenProcessor childrenProcessor = new ChildrenProcessor()
View Full Code Here

TOP

Related Classes of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagChildLazyConditions

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.