|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for a class that visually displays a statistic or group of statistics, whether a graph, a table of stats, etc.
| Method Summary | |
javax.swing.JComponent |
getComponent()
Returns the component that displays the statistic. |
void |
refresh()
Refresh the stat data. |
void |
registerDualStatistic(com.limegroup.gnutella.statistics.Statistic stat0,
com.limegroup.gnutella.statistics.Statistic stat1,
java.lang.String displayName)
Registered the specified two Statistics to be displayed. |
void |
registerStatistic(com.limegroup.gnutella.statistics.Statistic stat,
java.lang.String displayName)
Registered the specified Statistic for display, with the specified display name. |
void |
setWriteStatsToFile(boolean write)
Sets whether or not the stats for this pane should be written out to files. |
| Method Detail |
public void registerStatistic(com.limegroup.gnutella.statistics.Statistic stat,
java.lang.String displayName)
stat - the Statistic to registerdisplayName - the name for the statistic to display
public void registerDualStatistic(com.limegroup.gnutella.statistics.Statistic stat0,
com.limegroup.gnutella.statistics.Statistic stat1,
java.lang.String displayName)
stat0 - the first Statistic to registerstat1 - the second Statistic to registerdisplayName - the name for the statistic to displaypublic void refresh()
public void setWriteStatsToFile(boolean write)
write - specifies whether or not the stats should be writtenpublic javax.swing.JComponent getComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||