com.limegroup.gnutella.gui.statistics.panes
Class AbstractMessageGraphPaneItem

java.lang.Object
  extended bycom.limegroup.gnutella.gui.statistics.panes.AbstractPaneItem
      extended bycom.limegroup.gnutella.gui.statistics.panes.AbstractMessageGraphPaneItem
All Implemented Interfaces:
PaneItem, RefreshListener
Direct Known Subclasses:
AllBytesReceived, AllBytesSent, AllMessagesReceived, AllMessagesSent, CompressableDownstreamBandwidth, CompressableUpstreamBandwidth, ConnectionAttemptsPaneItem, DownloadAlternateLocations, DownloadConnections, DownloadResponses, DownloadTCPConnectTime, DownloadTransfers, ErrorGeneric, ErrorPingReplies, ErrorPushes, ErrorQueries, ErrorQueryReplies, ErrorVendorMessages, FilteredMessagesPaneItem, FlowControl, FlowControlBytes, HandshakingLeaf, HandshakingUltrapeer, HitHops, HitHopsBytes, HitTTL, HitTTLBytes, HTTPRequestsPaneItem, MulticastBytesReceived, MulticastBytesSent, MulticastDuplicateQueries, MulticastDuplicateQueriesBytes, MulticastLimeReceivedBytes, MulticastLimeReceivedMessages, MulticastLimeReceivedPings, MulticastLimeReceivedPingsBytes, MulticastLimeReceivedPongs, MulticastLimeReceivedPongsBytes, MulticastLimeReceivedPushRequests, MulticastLimeReceivedPushRequestsBytes, MulticastLimeReceivedQueries, MulticastLimeReceivedQueriesBytes, MulticastLimeReceivedQueryReplies, MulticastLimeReceivedQueryRepliesBytes, MulticastLimeSentBytes, MulticastLimeSentMessages, MulticastLimeSentPings, MulticastLimeSentPingsBytes, MulticastLimeSentPongs, MulticastLimeSentPongsBytes, MulticastLimeSentPushRequests, MulticastLimeSentPushRequestsBytes, MulticastLimeSentQueries, MulticastLimeSentQueriesBytes, MulticastLimeSentQueryReplies, MulticastLimeSentQueryRepliesBytes, MulticastMessagesReceived, MulticastMessagesSent, OutOfBandThroughputPaneItem, QueryHops, QueryHopsBytes, QueryReplyRouteErrors, QueryTTL, QueryTTLBytes, RoutedIncomingLeafQueries, RoutedOutgoingLeafQueries, RoutedOutgoingUltrapeerQueries, RouteErrorsPaneItem, TCPBytesReceived, TCPBytesSent, TCPDuplicateQueries, TCPDuplicateQueriesBytes, TCPLimeReceivedBytes, TCPLimeReceivedMessages, TCPLimeReceivedPings, TCPLimeReceivedPingsBytes, TCPLimeReceivedPongs, TCPLimeReceivedPongsBytes, TCPLimeReceivedPushRequests, TCPLimeReceivedPushRequestsBytes, TCPLimeReceivedQueries, TCPLimeReceivedQueriesBytes, TCPLimeReceivedQueryReplies, TCPLimeReceivedQueryRepliesBytes, TCPLimeSentBytes, TCPLimeSentMessages, TCPLimeSentPings, TCPLimeSentPingsBytes, TCPLimeSentPongs, TCPLimeSentPongsBytes, TCPLimeSentPushRequests, TCPLimeSentPushRequestsBytes, TCPLimeSentQueries, TCPLimeSentQueriesBytes, TCPLimeSentQueryReplies, TCPLimeSentQueryRepliesBytes, TCPMessagesReceived, TCPMessagesSent, TotalDownstreamBandwidth, TotalReceivedBytes, TotalReceivedMessages, TotalSentBytes, TotalSentMessages, TotalUpstreamBandwidth, UDPBytesReceived, UDPBytesSent, UDPLimeReceivedBytes, UDPLimeReceivedMessages, UDPLimeReceivedPings, UDPLimeReceivedPingsBytes, UDPLimeReceivedPongs, UDPLimeReceivedPongsBytes, UDPLimeReceivedPushRequests, UDPLimeReceivedPushRequestsBytes, UDPLimeReceivedQueries, UDPLimeReceivedQueriesBytes, UDPLimeReceivedQueryReplies, UDPLimeReceivedQueryRepliesBytes, UDPLimeSentBytes, UDPLimeSentMessages, UDPLimeSentPings, UDPLimeSentPingsBytes, UDPLimeSentPongs, UDPLimeSentPongsBytes, UDPLimeSentPushRequests, UDPLimeSentPushRequestsBytes, UDPLimeSentQueries, UDPLimeSentQueriesBytes, UDPLimeSentQueryReplies, UDPLimeSentQueryRepliesBytes, UDPMessagesReceived, UDPMessagesSent, UploadGeneral, UploadRequestMethods, UploadRequests, UploadResponses

public abstract class AbstractMessageGraphPaneItem
extends AbstractPaneItem

This class provides an implementation of the PaneItem interface for displaying a statistics graph.

It provides the basic implementation for displaying one statistic within a larger window of statistics. Each AbstractMessageGraphPaneItem has a titled border and a label describing the statistic. The label is followed by standardized spacing.


Field Summary
 
Fields inherited from class com.limegroup.gnutella.gui.statistics.panes.AbstractPaneItem
CONTAINER, HORIZONTAL_SEPARATOR, STAT_DISPLAYER, VERTICAL_SEPARATOR
 
Constructor Summary
protected AbstractMessageGraphPaneItem(java.lang.String key)
          Creates a new AbstractPaneItem with the default settings for the displayed graph.
protected AbstractMessageGraphPaneItem(java.lang.String key, GraphAxisData data)
          This sole constructor overrides the the public accessibility of the default constructor and is usually called implicitly.
 
Method Summary
 javax.swing.JComponent getStatsComponent()
          Accessor for the component that displays the statistic -- without the label or associated components.
 java.lang.String toString()
           
 
Methods inherited from class com.limegroup.gnutella.gui.statistics.panes.AbstractPaneItem
add, componentResized, getContainer, getHorizontalSeparator, getVerticalSeparator, refresh, registerDualStatistic, registerStatistic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractMessageGraphPaneItem

protected AbstractMessageGraphPaneItem(java.lang.String key)
Creates a new AbstractPaneItem with the default settings for the displayed graph.

Parameters:
key - the key for obtaining the locale-specific values for displayed strings

AbstractMessageGraphPaneItem

protected AbstractMessageGraphPaneItem(java.lang.String key,
                                       GraphAxisData data)
This sole constructor overrides the the public accessibility of the default constructor and is usually called implicitly.

Parameters:
key - the key for obtaining the locale-specific values for displayed strings
data - the GraphAxisData instance specifying the customized display values to use for the graph
Method Detail

getStatsComponent

public javax.swing.JComponent getStatsComponent()
Description copied from interface: PaneItem
Accessor for the component that displays the statistic -- without the label or associated components.

Specified by:
getStatsComponent in interface PaneItem
Overrides:
getStatsComponent in class AbstractPaneItem

toString

public java.lang.String toString()
Overrides:
toString in class AbstractPaneItem