Class WekEvaluationRenderer

    • Constructor Detail

      • WekEvaluationRenderer

        public WekEvaluationRenderer()
    • Method Detail

      • handles

        public boolean handles​(Class cls)
        Checks whether the renderer can handle the specified class.
        Specified by:
        handles in interface ObjectRenderer
        Specified by:
        handles in class AbstractObjectRenderer
        Parameters:
        cls - the class to check
        Returns:
        true if the renderer can handle this type of object
      • doRender

        protected String doRender​(Object obj,
                                  JPanel panel,
                                  Integer limit)
        Performs the actual rendering with a new renderer setup.
        Specified by:
        doRender in class AbstractObjectRenderer
        Parameters:
        obj - the object to render
        panel - the panel to render into
        limit - the limit to use for the rendering (if applicable), ignored if null
        Returns:
        null if successful, otherwise error message