Rio Project 4.2 API Documentation



org.rioproject.system.measurable.disk
Class CalculableDiskSpaceView

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

public class CalculableDiskSpaceView
extends DefaultCalculableView

View elements for a CalculableDiskSpace

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
CalculableDiskSpaceView()
          Creates new CalculableDiskSpaceView
CalculableDiskSpaceView(CalculableDisplayAttributes calcDisplayAttrs)
          Creates new CalculableDiskSpaceView
 
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

CalculableDiskSpaceView

public CalculableDiskSpaceView()
Creates new CalculableDiskSpaceView


CalculableDiskSpaceView

public CalculableDiskSpaceView(CalculableDisplayAttributes calcDisplayAttrs)
Creates new CalculableDiskSpaceView

Parameters:
calcDisplayAttrs - the Calculable Display Attributes 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.