Class StateController.StateRenderer

  • All Implemented Interfaces:
    NodeRenderer
    Enclosing class:
    StateController

    public static class StateController.StateRenderer
    extends java.lang.Object
    implements NodeRenderer
    Render the state as a circle, unless it has a custom icon.
    • Constructor Summary

      Constructors 
      Constructor Description
      StateRenderer​(GraphModel model)
      Construct a state renderer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Figure render​(java.lang.Object n)
      Render an object.
      • Methods inherited from class java.lang.Object

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

      • StateRenderer

        public StateRenderer​(GraphModel model)
        Construct a state renderer.
        Parameters:
        model - The GraphModel.
    • Method Detail

      • render

        public Figure render​(java.lang.Object n)
        Render an object.
        Specified by:
        render in interface NodeRenderer
        Parameters:
        n - The object to be rendered. This object should of type Locatable.
        Returns:
        A Figure.