Class AndRenderer

    • Constructor Summary

      Constructors 
      Constructor Description
      AndRenderer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canHandle​(WorkflowEntity workflowEntity)
      Suggest whether the given object can be handled by the renderer
      com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity)
      Returns the object's representation in NetworkUpdate as entity
      com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity, com.hybris.cockpitng.components.visjs.network.data.Node node)
      Returns the object's representation in NetworkUpdate as entity based on already existing node
      void setKeyGenerator​(KeyGenerator keyGenerator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndRenderer

        public AndRenderer()
    • Method Detail

      • canHandle

        public boolean canHandle​(WorkflowEntity workflowEntity)
        Description copied from interface: NetworkEntityRenderer
        Suggest whether the given object can be handled by the renderer
        Specified by:
        canHandle in interface NetworkEntityRenderer
        Parameters:
        workflowEntity - object to be checked if it can be handled
        Returns:
        true if renderer supports the object, false otherwise
      • render

        public com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity)
        Description copied from interface: NetworkEntityRenderer
        Returns the object's representation in NetworkUpdate as entity
        Specified by:
        render in interface NetworkEntityRenderer
        Parameters:
        workflowEntity - object to be rendered
        Returns:
        objects' representation in NetworkUpdate
      • render

        public com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity,
                                                                              com.hybris.cockpitng.components.visjs.network.data.Node node)
        Description copied from interface: NetworkEntityRenderer
        Returns the object's representation in NetworkUpdate as entity based on already existing node
        Specified by:
        render in interface NetworkEntityRenderer
        Parameters:
        workflowEntity - object to be rendered
        node - baseline of new node
        Returns:
      • setKeyGenerator

        public void setKeyGenerator​(KeyGenerator keyGenerator)