|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatisticsController
Controller for executing Statistics/Metrics algorithms.
This controller is a service and can therefore be found in Lookup:
StatisticsController sc = Lookup.getDefault().lookup(StatisticsController.class);
StatisticsBuilder
Method Summary | |
---|---|
void |
execute(Statistics statistics,
LongTaskListener listener)
Execute the statistics algorithm. |
StatisticsBuilder |
getBuilder(java.lang.Class<? extends Statistics> statistics)
Finds the builder from the statistics class. |
StatisticsModel |
getModel()
Returns the current StatisticsModel , from the current
workspace |
void |
setStatisticsUIVisible(StatisticsUI ui,
boolean visible)
Sets the visible state for a given StatisticsUI . |
Method Detail |
---|
void execute(Statistics statistics, LongTaskListener listener)
statistics
implements
LongTask
, execution is performed in a background thread and
therefore this method returns immedialtely.
statistics
- the statistics algorithm instancelistener
- a listener that is notified when execution finishedStatisticsBuilder getBuilder(java.lang.Class<? extends Statistics> statistics)
statistics
- the statistics class
null
if not foundvoid setStatisticsUIVisible(StatisticsUI ui, boolean visible)
StatisticsUI
.
ui
- the UI instancevisible
- true
to display the front-endStatisticsModel getModel()
StatisticsModel
, from the current
workspace
StatisticsModel
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |