|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatisticsModel
Hosts user interface states and statistics instances, to have access to results strings.
StatisticsController
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener changeListener)
|
java.lang.String |
getReport(java.lang.Class<? extends Statistics> statistics)
Returns the report for the given statistics class or null if no report
exists for this statistics. |
java.lang.String |
getResult(StatisticsUI statisticsUI)
Returns the result string for the given StatisticsUI class or
null if no result string exists for this statistics. |
Statistics |
getRunning(StatisticsUI statisticsUI)
Returns the Statistics instance currently running for the
particular StatisticsUI registered or null if
the statistics is not running. |
boolean |
isRunning(StatisticsUI statisticsUI)
Returns true if the UI is in running state, false
otherwise. |
boolean |
isStatisticsUIVisible(StatisticsUI statisticsUI)
Returns true if the statistics front-end is visible,
false otherwise. |
void |
removeChangeListener(javax.swing.event.ChangeListener changeListener)
|
Method Detail |
---|
java.lang.String getReport(java.lang.Class<? extends Statistics> statistics)
null
if no report
exists for this statistics.
statistics
- a statistics class
null
if not foundjava.lang.String getResult(StatisticsUI statisticsUI)
StatisticsUI
class or
null
if no result string exists for this statistics.
statisticsUI
- a statisticsUI class
null
if not foundboolean isStatisticsUIVisible(StatisticsUI statisticsUI)
true
if the statistics front-end is visible,
false
otherwise.
statisticsUI
- an UI instance
true
if the statistics front-end
is visible, false
otherwiseboolean isRunning(StatisticsUI statisticsUI)
true
if the UI is in running state, false
otherwise.
statisticsUI
- an UI instance
true
if the statistics is running,
false
otherwiseStatistics getRunning(StatisticsUI statisticsUI)
Statistics
instance currently running for the
particular StatisticsUI
registered or null
if
the statistics is not running.
statisticsUI
- an UI instance
null
if not runningvoid addChangeListener(javax.swing.event.ChangeListener changeListener)
void removeChangeListener(javax.swing.event.ChangeListener changeListener)
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |