org.opennms.netmgt.charts
Class SeveritySubLabels

java.lang.Object
  extended by org.jfree.chart.axis.Axis
      extended by org.jfree.chart.axis.CategoryAxis
          extended by org.jfree.chart.axis.ExtendedCategoryAxis
              extended by org.opennms.netmgt.charts.SeveritySubLabels
All Implemented Interfaces:
Serializable, Cloneable

public class SeveritySubLabels
extends org.jfree.chart.axis.ExtendedCategoryAxis

Author:
David Hustace
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.chart.axis.CategoryAxis
DEFAULT_AXIS_MARGIN, DEFAULT_CATEGORY_MARGIN
 
Fields inherited from class org.jfree.chart.axis.Axis
DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, DEFAULT_AXIS_VISIBLE, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE
 
Constructor Summary
SeveritySubLabels()
           
SeveritySubLabels(String label)
           
 
Method Summary
 void addSubLabel(Comparable category, String label)
          Adds a sublabel for a category.
 
Methods inherited from class org.jfree.chart.axis.ExtendedCategoryAxis
clone, createLabel, equals, getSubLabelFont, getSubLabelPaint, setSubLabelFont, setSubLabelPaint
 
Methods inherited from class org.jfree.chart.axis.CategoryAxis
addCategoryLabelToolTip, calculateCategoryGapSize, calculateCategorySize, calculateTextBlockHeight, calculateTextBlockWidth, clearCategoryLabelToolTips, configure, draw, drawCategoryLabels, drawCategoryLabels, getCategoryEnd, getCategoryJava2DCoordinate, getCategoryLabelPositionOffset, getCategoryLabelPositions, getCategoryLabelToolTip, getCategoryMargin, getCategoryMiddle, getCategorySeriesMiddle, getCategoryStart, getLowerMargin, getMaximumCategoryLabelLines, getMaximumCategoryLabelWidthRatio, getTickLabelFont, getTickLabelPaint, getUpperMargin, hashCode, refreshTicks, removeCategoryLabelToolTip, reserveSpace, setCategoryLabelPositionOffset, setCategoryLabelPositions, setCategoryMargin, setLowerMargin, setMaximumCategoryLabelLines, setMaximumCategoryLabelWidthRatio, setTickLabelFont, setTickLabelPaint, setUpperMargin
 
Methods inherited from class org.jfree.chart.axis.Axis
addChangeListener, drawAxisLine, drawLabel, getAxisLinePaint, getAxisLineStroke, getFixedDimension, getLabel, getLabelAngle, getLabelEnclosure, getLabelFont, getLabelInsets, getLabelPaint, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, hasListener, isAxisLineVisible, isTickLabelsVisible, isTickMarksVisible, isVisible, notifyListeners, removeChangeListener, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setFixedDimension, setLabel, setLabelAngle, setLabelFont, setLabelInsets, setLabelPaint, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisible
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeveritySubLabels

public SeveritySubLabels()

SeveritySubLabels

public SeveritySubLabels(String label)
Method Detail

addSubLabel

public void addSubLabel(Comparable category,
                        String label)
Adds a sublabel for a category.

Overrides:
addSubLabel in class org.jfree.chart.axis.ExtendedCategoryAxis
Parameters:
category - the category.
label - the label.


Copyright © 2009. All Rights Reserved.