Class WekaInstancesRenderer

    • Constructor Detail

      • WekaInstancesRenderer

        public WekaInstancesRenderer()
    • 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
      • doRenderCached

        protected String doRenderCached​(Object obj,
                                        JPanel panel,
                                        Integer limit)
        Performs the actual rendering.
        Overrides:
        doRenderCached 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
      • doRender

        protected String doRender​(Object obj,
                                  JPanel panel,
                                  Integer limit)
        Performs the actual rendering.
        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