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

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.tagName()


          parentPath = parentWidget;
          added.add(processorClass.getCanonicalName());
          TagConstraints childAttributes = ViewUtils.getChildTagConstraintsAnnotation(processorClass);
          if (childAttributes!= null)
          {
            if (!StringUtils.isEmpty(childAttributes.tagName()))
            {
              parentPath = parentWidget+"_"+childAttributes.tagName();
              if (WidgetCreator.class.isAssignableFrom(childAttributes.type()))
              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
View Full Code Here


          TagConstraints childAttributes = ViewUtils.getChildTagConstraintsAnnotation(processorClass);
          if (childAttributes!= null)
          {
            if (!StringUtils.isEmpty(childAttributes.tagName()))
            {
              parentPath = parentWidget+"_"+childAttributes.tagName();
              if (WidgetCreator.class.isAssignableFrom(childAttributes.type()))
              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
                if (declarativeFactory != null)
                {
View Full Code Here

                                  Class<?> childProcessorClass, boolean isAgregator,
                                  WidgetChildProcessor<?> processor, Device[] supportedDevices)
    {
      TagConstraints processorAttributes = this.factoryHelper.getChildtrenAttributesAnnotation(childProcessorClass);
      final String widgetProperty = (processorAttributes!=null?processorAttributes.widgetProperty():"");
      String tagName = (processorAttributes!=null?processorAttributes.tagName():"");

      final boolean isAnyWidget = (AnyWidgetChildProcessor.class.isAssignableFrom(childProcessorClass));
      final boolean isAnyWidgetType = (processorAttributes!=null && (AnyWidget.class.isAssignableFrom(processorAttributes.type()) ||
                                       WidgetCreator.class.isAssignableFrom(processorAttributes.type())));
     
View Full Code Here

  private ChildrenProcessor doCreateChildrenProcessorForSingleChild(Class<?> processorClass, final boolean acceptNoChildren,
                      WidgetChildProcessor<?> processor, Class<?> childProcessorClass, Device[] supportedDevices)
    {
    TagConstraints processorAttributes = this.factoryHelper.getChildtrenAttributesAnnotation(childProcessorClass);
    final String widgetProperty = (processorAttributes!=null?processorAttributes.widgetProperty():"");
    String tagName = (processorAttributes!=null?processorAttributes.tagName():"");

    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())));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.