Rio Project 4.2 API Documentation



org.rioproject.system.measurable.cpu
Class CalculableCPUView

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

public class CalculableCPUView
extends DefaultCalculableView

View elements for a CalculableCPU

Author:
Dennis Reedy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rioproject.watch.CalculableViewable
CalculableViewable.PlottedCalculable
 
Field Summary
static CalculableDisplayAttributes CPU_DISPLAY_ATTRS
           
 
Fields inherited from class org.rioproject.watch.DefaultCalculableView
accum, avgColor, BOTTOM_AXIS_MARGIN, BOTTOM_GRAPH_MARGIN, bottomLineValue, calcDisplayAttrs, currentSize, data, defaultDisplayAttributes, 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
CalculableCPUView()
          Creates new CalculableCPUView
CalculableCPUView(CalculableDisplayAttributes calcDisplayAttrs)
          Creates new CalculableCPUView
 
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
 

Field Detail

CPU_DISPLAY_ATTRS

public static final CalculableDisplayAttributes CPU_DISPLAY_ATTRS
Constructor Detail

CalculableCPUView

public CalculableCPUView()
Creates new CalculableCPUView


CalculableCPUView

public CalculableCPUView(CalculableDisplayAttributes calcDisplayAttrs)
Creates new CalculableCPUView

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.