com.quartercode.quarterbukkit.util
Class Metrics.Graph

java.lang.Object
  extended by com.quartercode.quarterbukkit.util.Metrics.Graph
Enclosing class:
Metrics

public static class Metrics.Graph
extends java.lang.Object

Represents a custom graph on the website.


Method Summary
 void addPlotter(Metrics.Plotter plotter)
          Add a plotter to the graph, which will be used to plot entries.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the graph's name.
 java.util.Set<Metrics.Plotter> getPlotters()
          Gets an unmodifiable Set of the plotter objects in the graph.
 int hashCode()
           
protected  void onOptOut()
           
 void removePlotter(Metrics.Plotter plotter)
          Remove a plotter from the graph.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Gets the graph's name.

Returns:
The Graph's name.

addPlotter

public void addPlotter(Metrics.Plotter plotter)
Add a plotter to the graph, which will be used to plot entries.

Parameters:
plotter - The plotter to add to the graph.

removePlotter

public void removePlotter(Metrics.Plotter plotter)
Remove a plotter from the graph.

Parameters:
plotter - The plotter to remove from the graph.

getPlotters

public java.util.Set<Metrics.Plotter> getPlotters()
Gets an unmodifiable Set of the plotter objects in the graph.

Returns:
An unmodifiable Set of the plotter objects.

onOptOut

protected void onOptOut()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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