Class IconController.IconRenderer

    • Constructor Summary

      Constructors 
      Constructor Description
      IconRenderer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Figure render​(java.lang.Object n)
      Render a visual representation of the given node.
      • Methods inherited from class java.lang.Object

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

      • IconRenderer

        public IconRenderer()
    • Method Detail

      • render

        public Figure render​(java.lang.Object n)
        Render a visual representation of the given node. If the StringAttribute _color of the node is set then use that color to highlight the node. If the StringAttribute _explanation of the node is set then use it to set the tooltip.
        Specified by:
        render in interface NodeRenderer
        Parameters:
        n - The node to render.
        Returns:
        The persistent object that is drawn on the screen.
        See Also:
        NodeRenderer.render(java.lang.Object)