Rio Project 4.2 API Documentation
org.rioproject.system.measurable.cpu
Class CalculableCPUView
java.lang.Object
org.rioproject.watch.DefaultCalculableView
org.rioproject.system.measurable.cpu.CalculableCPUView
- All Implemented Interfaces:
- CalculableViewable
public class CalculableCPUView
- extends DefaultCalculableView
View elements for a CalculableCPU
- Author:
- Dennis Reedy
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPU_DISPLAY_ATTRS
public static final CalculableDisplayAttributes CPU_DISPLAY_ATTRS
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
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 © 2006-2011 Rio Project. All Rights Reserved.