Class RelationController.RelationRenderer

  • All Implemented Interfaces:
    NodeRenderer
    Enclosing class:
    RelationController

    public class RelationController.RelationRenderer
    extends java.lang.Object
    implements NodeRenderer
    The renderer for relation node. This class creates a Figure that looks like a black diamond.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Figure render​(java.lang.Object node)
      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

      • RelationRenderer

        public RelationRenderer()
    • Method Detail

      • render

        public Figure render​(java.lang.Object node)
        Render a visual representation of the given node.
        Specified by:
        render in interface NodeRenderer
        Parameters:
        node - The node to render.
        Returns:
        The persistent object that is drawn on the screen.