Interface StatisticsModelUI

  • All Known Implementing Classes:
    StatisticsModelUIImpl

    public interface StatisticsModelUI
    Author:
    Mathieu Bastian
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addChangeListener​(ChangeListener changeListener)  
      String getReport​(Class<? extends org.gephi.statistics.spi.Statistics> statistics)
      Returns the report for the given statistics class or null if no report exists for this statistics.
      String getResult​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
      Returns the result string for the given StatisticsUI class or null if no result string exists for this statistics.
      org.gephi.statistics.spi.Statistics getRunning​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
      Returns the Statistics instance currently running for the particular StatisticsUI registered or null if the statistics is not running.
      boolean isRunning​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
      Returns true if the UI is in running state, false otherwise.
      boolean isStatisticsUIVisible​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
      Returns true if the statistics front-end is visible, false otherwise.
      void removeChangeListener​(ChangeListener changeListener)  
    • Method Detail

      • getResult

        String getResult​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
        Returns the result string for the given StatisticsUI class or null if no result string exists for this statistics.
        Parameters:
        statisticsUI - a statisticsUI class
        Returns:
        the result or null if not found
      • isStatisticsUIVisible

        boolean isStatisticsUIVisible​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
        Returns true if the statistics front-end is visible, false otherwise.
        Parameters:
        statisticsUI - an UI instance
        Returns:
        true if the statistics front-end is visible, false otherwise
      • isRunning

        boolean isRunning​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
        Returns true if the UI is in running state, false otherwise.
        Parameters:
        statisticsUI - an UI instance
        Returns:
        true if the statistics is running, false otherwise
      • getRunning

        org.gephi.statistics.spi.Statistics getRunning​(org.gephi.statistics.spi.StatisticsUI statisticsUI)
        Returns the Statistics instance currently running for the particular StatisticsUI registered or null if the statistics is not running.
        Parameters:
        statisticsUI - an UI instance
        Returns:
        the statistics instance if it is running, or null if not running
      • getReport

        String getReport​(Class<? extends org.gephi.statistics.spi.Statistics> statistics)
        Returns the report for the given statistics class or null if no report exists for this statistics.
        Parameters:
        statistics - a statistics class
        Returns:
        the report or null if not found
      • addChangeListener

        void addChangeListener​(ChangeListener changeListener)
      • removeChangeListener

        void removeChangeListener​(ChangeListener changeListener)