public class GraphDensityUI extends Object implements StatisticsUI
| Modifier and Type | Field and Description |
|---|---|
private GraphDensity |
graphDensity |
private GraphDensityPanel |
panel |
CATEGORY_DYNAMIC, CATEGORY_EDGE_OVERVIEW, CATEGORY_NETWORK_OVERVIEW, CATEGORY_NODE_OVERVIEW| Constructor and Description |
|---|
GraphDensityUI() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Returns the category of this metric.
|
String |
getDisplayName()
Returns this statistics display name
|
int |
getPosition()
Returns a position value, around 1 and 1000, that indicates the position
of the Statistics in the UI.
|
JPanel |
getSettingsPanel()
Returns a settings panel instance.
|
String |
getShortDescription()
Returns this statistics short description
|
Class<? extends Statistics> |
getStatisticsClass()
Returns the statistics' class this UI belongs to.
|
String |
getValue()
Returns this statistics result as a String, if exists
|
void |
setup(Statistics statistics)
Push a statistics instance to the UI to load its settings.
|
void |
unsetup()
Notify the settings panel has been closed and that the settings values
can be saved to the statistics instance.
|
private GraphDensityPanel panel
private GraphDensity graphDensity
public JPanel getSettingsPanel()
StatisticsUIgetSettingsPanel in interface StatisticsUIpublic void setup(Statistics statistics)
StatisticsUIgetSettingsPanel and before the
panel is displayed.setup in interface StatisticsUIstatistics - the statistics instance that is linked to the UIpublic void unsetup()
StatisticsUIunsetup in interface StatisticsUIpublic Class<? extends Statistics> getStatisticsClass()
StatisticsUIgetStatisticsClass in interface StatisticsUIpublic String getValue()
StatisticsUIgetValue in interface StatisticsUIpublic String getDisplayName()
StatisticsUIgetDisplayName in interface StatisticsUIpublic String getCategory()
StatisticsUIgetCategory in interface StatisticsUIpublic int getPosition()
StatisticsUIgetPosition in interface StatisticsUIpublic String getShortDescription()
StatisticsUIgetShortDescription in interface StatisticsUICopyright © 2007–2016 Gephi Consortium. All rights reserved.