Rio Project 4.2 API Documentation



org.rioproject.system.measurable.memory
Class CalculableMemoryView

java.lang.Object
  extended by org.rioproject.watch.DefaultCalculableView
      extended by org.rioproject.system.measurable.memory.CalculableMemoryView
All Implemented Interfaces:
CalculableViewable

public class CalculableMemoryView
extends DefaultCalculableView

View elements for a CalculableMemory

Author:
Dennis Reedy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rioproject.watch.CalculableViewable
CalculableViewable.PlottedCalculable
 
Field Summary
 
Fields inherited from class org.rioproject.watch.DefaultCalculableView
accum, avgColor, BOTTOM_AXIS_MARGIN, BOTTOM_GRAPH_MARGIN, bottomLineValue, calcDisplayAttrs, currentSize, data, defaultFont, defaultFormater, devColor, drawHeight, drawWidth, highThreshold, HORIZONTAL__MIN_GRID_WIDTH, LEFT_AXIS_MARGIN, LEFT_GRAPH_MARGIN, lowThreshold, max, maxY, mean, min, minY, nbrHGrids, rangeSize, RIGHT_AXIS_MARGIN, RIGHT_GRAPH_MARGIN, startValue, stdDev, stopValue, title, titleFont, TOP_AXIS_MARGIN, TOP_GRAPH_MARGIN, topLineValue, TOTAL_H_GRAPH_MARGIN, TOTAL_V_GRAPH_MARGIN, valuesRange, VERTICAL__MIN_GRID_HEIGHT, VERTICAL_GRAPH_OFFSET, vStep, vStepMultiplier, watchDataSource, xFormat, xLegend, xLegendFont, xScale, yFormat, yLegend, yLegendFont, yScale
 
Constructor Summary
CalculableMemoryView()
          Creates CalculableMemoryView
CalculableMemoryView(CalculableDisplayAttributes calcDisplayAttrs)
          Creates new CalculableMemoryView
 
Method Summary
protected  double getBottomLineValue()
           
protected  double getTopLineValue()
           
 
Methods inherited from class org.rioproject.watch.DefaultCalculableView
getCalcForPoint, getLength, initValues, paint, resetValues, setCalculableDisplayAttributes, setWatchDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalculableMemoryView

public CalculableMemoryView()
Creates CalculableMemoryView


CalculableMemoryView

public CalculableMemoryView(CalculableDisplayAttributes calcDisplayAttrs)
Creates new CalculableMemoryView

Parameters:
calcDisplayAttrs - The CalculableDisplayAttributes used to format the graph
Method Detail

getTopLineValue

protected double getTopLineValue()
Overrides:
getTopLineValue in class DefaultCalculableView
Returns:
The value for the top Y axis

getBottomLineValue

protected double getBottomLineValue()
Overrides:
getBottomLineValue in class DefaultCalculableView
Returns:
The value for the bottom Y axis

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.