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

java.lang.Object
  extended bycom.limegroup.gnutella.gui.statistics.panes.GraphAxisData

public final class GraphAxisData
extends java.lang.Object

This class encapsulates data for a given set of graph x and y axis.

See Also:
GraphBorder

Method Summary
 int getTotalXValues()
          Accessor for the total number of x values to display on the x axis.
 int getTotalYValues()
          Accessor for the total number of y values to display on the y axis.
 java.lang.String getXAxisLabel()
          Accessor the x axis label.
 int getXIncrement()
          Accessor for the number of values to include between tick marks on the x axis.
 int getXPixelValue()
          Accessor for the number of pixels to use per x value.
 java.lang.String getYAxisLabel()
          Accessor the y axis label.
 int getYIncrement()
          Accessor for the number of values to include between tick marks on the y axis.
 double getYPixelValue()
          Accessor for the number of pixels to use per y value.
 int getYScale()
          Returns the scale for the y axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXPixelValue

public int getXPixelValue()
Accessor for the number of pixels to use per x value.

Returns:
the number of pixels to use per x value

getYPixelValue

public double getYPixelValue()
Accessor for the number of pixels to use per y value.

Returns:
the number of pixels to use per y value

getYScale

public int getYScale()
Returns the scale for the y axis. The stored value is divided by this number before it is displayed.

Returns:
the number to divide the raw data by before display

getXIncrement

public int getXIncrement()
Accessor for the number of values to include between tick marks on the x axis.

Returns:
the number of values to include between tick marks on the x axis

getYIncrement

public int getYIncrement()
Accessor for the number of values to include between tick marks on the y axis.

Returns:
the number of values to include between tick marks on the y axis

getTotalXValues

public int getTotalXValues()
Accessor for the total number of x values to display on the x axis.

Returns:
the total number of x values to display on the x axis

getTotalYValues

public int getTotalYValues()
Accessor for the total number of y values to display on the y axis.

Returns:
the total number of y values to display on the y axis

getXAxisLabel

public java.lang.String getXAxisLabel()
Accessor the x axis label.

Returns:
the x axis label

getYAxisLabel

public java.lang.String getYAxisLabel()
Accessor the y axis label.

Returns:
the y axis label