com.limegroup.gnutella.gui.statistics.panes
Interface PaneItem

All Superinterfaces:
RefreshListener
All Known Implementing Classes:
AbstractOptionPaneItem, AbstractPaneItem, PaneItemImpl

public interface PaneItem
extends RefreshListener

An object that defines the basic functions of one statistics item, or one individual panel that displays a set of statistics to the user.


Method Summary
 void componentResized(java.awt.event.ComponentEvent e, java.awt.Component comp)
          Notifies the StatisticsPane that the component has been resized.
 java.awt.Container getContainer()
          Returns the Container for this set of statistics.
 javax.swing.JComponent getStatsComponent()
          Accessor for the component that displays the statistic -- without the label or associated components.
 
Methods inherited from interface com.limegroup.gnutella.gui.RefreshListener
refresh
 

Method Detail

getContainer

public java.awt.Container getContainer()
Returns the Container for this set of statistics.

Returns:
the Container for this set of statistics

getStatsComponent

public javax.swing.JComponent getStatsComponent()
Accessor for the component that displays the statistic -- without the label or associated components.

Returns:
the JComponent instance that contains the stat display

componentResized

public void componentResized(java.awt.event.ComponentEvent e,
                             java.awt.Component comp)
Notifies the StatisticsPane that the component has been resized.

Parameters:
e - the ComponentEvent that generated the resize
comp - the pane Component