Rio Project 4.2 API Documentation



org.rioproject.system.measurable.memory.pool
Class CalculableMemoryPoolView

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

public class CalculableMemoryPoolView
extends DefaultCalculableView

View elements for a CalculableMemoryPool

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
CalculableMemoryPoolView()
          Creates CalculableMemoryView
CalculableMemoryPoolView(CalculableDisplayAttributes calcDisplayAttrs)
          Creates new CalculableSystemMemory
 
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

CalculableMemoryPoolView

public CalculableMemoryPoolView()
Creates CalculableMemoryView


CalculableMemoryPoolView

public CalculableMemoryPoolView(CalculableDisplayAttributes calcDisplayAttrs)
Creates new CalculableSystemMemory

Parameters:
calcDisplayAttrs - The CalculableSystemMemory 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.