net.charlesames.utility.html
Class ContinuousGraphBuilder.Row

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

public class ContinuousGraphBuilder.Row
extends java.lang.Object

Author:
Charles Ames

Constructor Summary
ContinuousGraphBuilder.Row(int value)
          Constructor for Row instances
 
Method Summary
 void addOccurence()
          Increment the occurrence count for this Row instance.
 int getHeight()
           
 ContinuousGraphBuilder.HistogramRegion getHistogramRegion()
           
 int getOccurrences()
           
 int getValue()
           
 void setHeight(int height)
           
 void setHistogramRegion(ContinuousGraphBuilder.HistogramRegion histogramRegion)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuousGraphBuilder.Row

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

Parameters:
value - The value
Method Detail

getHistogramRegion

public ContinuousGraphBuilder.HistogramRegion getHistogramRegion()
Returns:
The histogram region.

setHistogramRegion

public void setHistogramRegion(ContinuousGraphBuilder.HistogramRegion histogramRegion)
Parameters:
histogramRegion - The histogram region.

getOccurrences

public int getOccurrences()
Returns:
Number of times the value occurs in the graph.

addOccurence

public void addOccurence()
Increment the occurrence count for this Row instance.


getHeight

public int getHeight()
Returns:
The height of rectangles created for this Row instance.

setHeight

public void setHeight(int height)
Parameters:
height - The height of rectangles created for this Row instance.

getValue

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