net.charlesames.utility.html
Class DiscreteGraphBuilder.Row

java.lang.Object
  extended by net.charlesames.utility.html.DiscreteGraphBuilder.Row
Enclosing class:
DiscreteGraphBuilder

public class DiscreteGraphBuilder.Row
extends java.lang.Object

Author:
Charles Ames Row

Constructor Summary
DiscreteGraphBuilder.Row(int value)
          Constructor for Row instances
 
Method Summary
 void addOccurrence()
          Increment the occurrence count.
 int getOccurrences()
           
 int getRawHistogramWidth()
           
 int getValue()
           
 void setRawHistogramWidth(int rawHistogramWidth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscreteGraphBuilder.Row

public DiscreteGraphBuilder.Row(int value)
Constructor for Row instances

Parameters:
value - The Y value associated with this row.
Method Detail

setRawHistogramWidth

public void setRawHistogramWidth(int rawHistogramWidth)
Parameters:
rawHistogramWidth -

getRawHistogramWidth

public int getRawHistogramWidth()
Returns:
The raw histogram width.

getOccurrences

public int getOccurrences()
Returns:
The number of times the value occurs over the course of this graph.

addOccurrence

public void addOccurrence()
Increment the occurrence count.


getValue

public int getValue()
Returns:
The value associated with this Row instance.